
Recherche avancée
Autres articles (8)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (5155)
-
VIVALDI FFMPEG H264 CODEC NVIDIA Mac OS X 10.12.5 ERROR HTML5 VIDEOS
30 septembre 2018, par Arthur MeloI’ve been suffering with the vivaldi browser when trying to run some videos, I believe they use codecs that vivaldi can not run using the architecture of my video card, or something of the genre.
The error does not manifest when using the Safari or Chrome or even Opera browsers.
Attached is the error
-
usb capture device to "cast" stream
6 juin 2021, par cubesareneatim using a raspberry pi with a usb capture device (dmesg -w below)


[ 3825.105250] cx231xx 1-1.4:1.1: New device Geniatech Inc. Video Capture @ 480 Mbps (1f4d:0102) with 6 interfaces
[ 3825.105571] cx231xx 1-1.4:1.1: Identified as Geniatech OTG102 (card=17)
[ 3825.106698] i2c i2c-12: Added multiplexed i2c bus 14
[ 3825.106948] i2c i2c-12: Added multiplexed i2c bus 15
[ 3825.233031] cx25840 11-0044: cx23102 A/V decoder found @ 0x88 (cx231xx #0-0)
[ 3827.270228] cx25840 11-0044: loaded v4l-cx231xx-avcore-01.fw firmware (16382 bytes)
[ 3827.307022] cx231xx 1-1.4:1.1: v4l2 driver version 0.0.3
[ 3827.411911] cx231xx 1-1.4:1.1: Registered video device video0 [v4l2]
[ 3827.412183] cx231xx 1-1.4:1.1: Registered VBI device vbi0
[ 3827.418150] cx231xx 1-1.4:1.1: audio EndPoint Addr 0x83, Alternate settings: 3
[ 3827.418179] cx231xx 1-1.4:1.1: video EndPoint Addr 0x84, Alternate settings: 5
[ 3827.418203] cx231xx 1-1.4:1.1: VBI EndPoint Addr 0x85, Alternate settings: 2
[ 3827.418224] cx231xx 1-1.4:1.1: sliced CC EndPoint Addr 0x86, Alternate settings: 2



i want to stream the audio to "cast" dose this protocol have a more specific name ? its the one that Spotify and YouTube can send audio video to over local network ; little screen with a wifi signal in the bottom left corner.


i am thinking of going into ffmpeg or vlc to stream from usb to some cast program, dose anyone have any suggestions on where to start any key words so im not blindly googling ?
sorry this is so open ended, ill mark it solved with the best answer in like 5 days or when i finish this project ( turntable -> usb audio capture card on pi -> steam to cast protocol -> wifi speakers )


-
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