
Recherche avancée
Médias (3)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (81)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (11606)
-
avcodec/v4l2_m2m : handle v4l2 end of stream event
1er avril 2020, par Ming Qianavcodec/v4l2_m2m : handle v4l2 end of stream event
When flushing the capture buffers, the driver may send a V4L2_EVENT_EOS
to notify that draining is completed. Currently, v4l2_m2m does not
subscribe to this event, which can cause some devices (i.e. imx8qm) to
hang at the end of encoding/decoding. Support for handling the event is
added in this commit.Some devices may not signal V4L2_EVENT_EOS. This is logged as a warning
message during initialization and not treated as a fatal error.Signed-off-by : Ming Qian <ming.qian@nxp.com>
Signed-off-by : Andriy Gelman <andriy.gelman@gmail.com> -
How do I stream audio from a mic in a raspberry pi with FFmpeg ?
23 mars 2024, par IgnacioI'm trying to follow this to stream audio from a mic in my raspberry pi.


ignacio@pi-satellite-bigbedroom:~ $ ffmpeg -re -f pulse -ac 1 -i plughw:CARD=seeed2micvoicec,DEV=0 -f rtsp -rtsp_transport tcp rtsp://192.168.86.151:8554/live.stream
ffmpeg version 4.3.6-0+deb11u1+rpt5 Copyright (c) 2000-2023 the FFmpeg developers
 built with gcc 10 (Debian 10.2.1-6)
 configuration: --prefix=/usr --extra-version=0+deb11u1+rpt5 --toolchain=hardened --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-mmal --enable-neon --enable-v4l2-request --enable-libudev --enable-epoxy --enable-sand --libdir=/usr/lib/aarch64-linux-gnu --arch=arm64 --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
 libavutil 56. 51.100 / 56. 51.100
 libavcodec 58. 91.100 / 58. 91.100
 libavformat 58. 45.100 / 58. 45.100
 libavdevice 58. 10.100 / 58. 10.100
 libavfilter 7. 85.100 / 7. 85.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 7.100 / 5. 7.100
 libswresample 3. 7.100 / 3. 7.100
 libpostproc 55. 7.100 / 55. 7.100
plughw:CARD=seeed2micvoicec,DEV=0: No such process



I believe this shows the cards I have :


ignacio@pi-satellite-bigbedroom:~ $ pactl list sources
Source #0
 State: SUSPENDED
 Name: alsa_output.platform-bcm2835_audio.analog-stereo.monitor
 Description: Monitor of Built-in Audio Analog Stereo
 Driver: module-alsa-card.c
 Sample Specification: s16le 2ch 44100Hz
 Channel Map: front-left,front-right
 Owner Module: 4
 Mute: no
 Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
 balance 0.00
 Base Volume: 65536 / 100% / 0.00 dB
 Monitor of Sink: alsa_output.platform-bcm2835_audio.analog-stereo
 Latency: 0 usec, configured 0 usec
 Flags: DECIBEL_VOLUME LATENCY 
 Properties:
 device.description = "Monitor of Built-in Audio Analog Stereo"
 device.class = "monitor"
 alsa.card = "0"
 alsa.card_name = "bcm2835 Headphones"
 alsa.long_card_name = "bcm2835 Headphones"
 alsa.driver_name = "snd_bcm2835"
 device.bus_path = "platform-bcm2835_audio"
 sysfs.path = "/devices/platform/soc/3f00b840.mailbox/bcm2835_audio/sound/card0"
 device.form_factor = "internal"
 device.string = "0"
 module-udev-detect.discovered = "1"
 device.icon_name = "audio-card"
 Formats:
 pcm

Source #1
 State: IDLE
 Name: alsa_output.platform-soc_sound.stereo-fallback.monitor
 Description: Monitor of Built-in Audio Stereo
 Driver: module-alsa-card.c
 Sample Specification: s16le 2ch 44100Hz
 Channel Map: front-left,front-right
 Owner Module: 12
 Mute: no
 Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
 balance 0.00
 Base Volume: 65536 / 100% / 0.00 dB
 Monitor of Sink: alsa_output.platform-soc_sound.stereo-fallback
 Latency: 0 usec, configured 2000000 usec
 Flags: DECIBEL_VOLUME LATENCY 
 Properties:
 device.description = "Monitor of Built-in Audio Stereo"
 device.class = "monitor"
 alsa.card = "2"
 alsa.card_name = "seeed-2mic-voicecard"
 alsa.long_card_name = "seeed-2mic-voicecard"
 alsa.driver_name = "snd_soc_simple_card"
 device.bus_path = "platform-soc:sound"
 sysfs.path = "/devices/platform/soc/soc:sound/sound/card2"
 device.form_factor = "internal"
 device.string = "2"
 module-udev-detect.discovered = "1"
 device.icon_name = "audio-card"
 Formats:
 pcm

Source #2
 State: RUNNING
 Name: alsa_input.platform-soc_sound.stereo-fallback
 Description: Built-in Audio Stereo
 Driver: module-alsa-card.c
 Sample Specification: s16le 2ch 44100Hz
 Channel Map: front-left,front-right
 Owner Module: 12
 Mute: no
 Volume: front-left: 32845 / 50% / -18.00 dB, front-right: 32845 / 50% / -18.00 dB
 balance 0.00
 Base Volume: 20724 / 32% / -30.00 dB
 Monitor of Sink: n/a
 Latency: 688 usec, configured 10000 usec
 Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
 Properties:
 alsa.resolution_bits = "16"
 device.api = "alsa"
 device.class = "sound"
 alsa.class = "generic"
 alsa.subclass = "generic-mix"
 alsa.name = "bcm2835-i2s-wm8960-hifi wm8960-hifi-0"
 alsa.id = "bcm2835-i2s-wm8960-hifi wm8960-hifi-0"
 alsa.subdevice = "0"
 alsa.subdevice_name = "subdevice #0"
 alsa.device = "0"
 alsa.card = "2"
 alsa.card_name = "seeed-2mic-voicecard"
 alsa.long_card_name = "seeed-2mic-voicecard"
 alsa.driver_name = "snd_soc_simple_card"
 device.bus_path = "platform-soc:sound"
 sysfs.path = "/devices/platform/soc/soc:sound/sound/card2"
 device.form_factor = "internal"
 device.string = "hw:2"
 device.buffering.buffer_size = "352800"
 device.buffering.fragment_size = "176400"
 device.access_mode = "mmap+timer"
 device.profile.name = "stereo-fallback"
 device.profile.description = "Stereo"
 device.description = "Built-in Audio Stereo"
 module-udev-detect.discovered = "1"
 device.icon_name = "audio-card"
 Ports:
 analog-input: Analog Input (type: Analog, priority: 10000, availability unknown)
 Active Port: analog-input
 Formats:
 pcm



I want to use the mic from the seeed-2mic-voicecard.


Thanks for the help


-
modprobe snd-dummy on linux server, ffmpeg -f alsa is recording noise
20 mars 2021, par bookswordSome people say that the parameter fake_buffer can remove the noise, but I tried it and there is still noise




modprobe snd-dummy fake_buffer=0




#modprobe snd-dummy fake_buffer=0 
# lsmod |grep snd
snd_dummy 24576 0
snd_pcm_oss 61440 0
snd_mixer_oss 28672 1 snd_pcm_oss
snd_pcm 118784 2 snd_pcm_oss,snd_dummy
snd_timer 36864 1 snd_pcm
snd 94208 5 snd_timer,snd_pcm_oss,snd_pcm,snd_dummy,snd_mixer_oss
soundcore 16384 1 snd
# modinfo snd_dummy
filename: /lib/modules/4.14.129-bbrplus/kernel/sound/drivers/snd-dummy.ko
license: GPL
description: Dummy soundcard (/dev/null)
author: Jaroslav Kysela <perex@perex.cz>
depends: snd-pcm,snd
retpoline: Y
intree: Y
name: snd_dummy
vermagic: 4.14.129-bbrplus SMP mod_unload modversions 
parm: index:Index value for dummy soundcard. (array of int)
parm: id:ID string for dummy soundcard. (array of charp)
parm: enable:Enable this dummy soundcard. (array of bool)
parm: model:Soundcard model. (array of charp)
parm: pcm_devs:PCM devices # (0-4) for dummy driver. (array of int)
parm: pcm_substreams:PCM substreams # (1-128) for dummy driver. (array of int)
parm: fake_buffer:Fake buffer allocations. (bool)
parm: hrtimer:Use hrtimer as the timer source. (bool)

#aplay -L
null
 Discard all samples (playback) or generate zero samples (capture)
pulse
 PulseAudio Sound Server
dummy
default:CARD=Dummy
 Dummy, Dummy PCM
 Default Audio Device
sysdefault:CARD=Dummy
 Dummy, Dummy PCM
 Default Audio Device
dmix:CARD=Dummy,DEV=0
 Dummy, Dummy PCM
 Direct sample mixing device
dsnoop:CARD=Dummy,DEV=0
 Dummy, Dummy PCM
 Direct sample snooping device
hw:CARD=Dummy,DEV=0
 Dummy, Dummy PCM
 Direct hardware device without any conversions
plughw:CARD=Dummy,DEV=0
 Dummy, Dummy PCM
 Hardware device with all software conversions


# ffmpeg -f alsa -i hw:0 -t 5 /dev/shm/out.mp3 -y
ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
 configuration: --prefix=/usr --extra-version=0ubuntu0.2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
 libavutil 55. 78.100 / 55. 78.100
 libavcodec 57.107.100 / 57.107.100
 libavformat 57. 83.100 / 57. 83.100
 libavdevice 57. 10.100 / 57. 10.100
 libavfilter 6.107.100 / 6.107.100
 libavresample 3. 7. 0 / 3. 7. 0
 libswscale 4. 8.100 / 4. 8.100
 libswresample 2. 9.100 / 2. 9.100
 libpostproc 54. 7.100 / 54. 7.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, alsa, from 'hw:0':
 Duration: N/A, start: 1616225206.353453, bitrate: 1536 kb/s
 Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
 Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Output #0, mp3, to '/dev/shm/out.mp3':
 Metadata:
 TSSE : Lavf57.83.100
 Stream #0:0: Audio: mp3 (libmp3lame), 48000 Hz, stereo, s16p
 Metadata:
 encoder : Lavc57.107.100 libmp3lame
size= 79kB time=00:00:05.01 bitrate= 129.0kbits/s speed= 1x 
video:0kB audio:79kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.293899%





i use alsamixer to set all Volume to 0 ,and there is still noise
I searched in google for a long time and did not find other people have this problem , where am I doing it wrong