
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (111)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 (11050)
-
How to merge 2 streams and send the stream to youtube ?
22 janvier 2021, par Nikhil JacobTrying to merge 2 rtmp url from one youtube account and sending the merged stream to another youtube account


Details :


- 

-
We enabled 2 youtube account with Go Live feature


-
Used the larix Broadcaster mobile application to send the stream to the first youtube account


-
This worked fine and we were able to see the stream on youtube


-
We brought up the other youtube account and captured it's rtmp url


-
We used the following command to take the stream broadcasted on the first account to stream to the other youtube account


ffmpeg -re -i rtmp ://a.rtmp.youtube.com/live2/StreamKey 1 -i rtmp ://a.rtmp.youtube.com/live2/Stream Key1 -strict -2 -f flv rtmp ://a.rtmp.youtube.com/live2/Stream Key 2














However, we are getting a response server validation failed on


ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
 configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --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-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --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 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100
[rtmp @ 0x55e577487340] Server response validating failed
rtmp://a.rtmp.youtube.com/live2/{StreamKey 1}: Input/output error



Please clarify why the merging of 2 rtmp url is failing. Should we setup our own rtmp server to capture the input stream and then send the output stream to youtube ?


-
-
streaming to youtube with ffmpeg
6 janvier 2021, par ohroblotI am trying to stream to youtube but the stream health says no data.


ffmpeg -threads:v 2 -threads:a 8 -filter_threads 2 -thread_queue_size 512 \
-i /tmp/thumbs/thumbnail.jpg \
-stream_loop -1 \
-i /tmp/audio/tracks.mp3 \
-filter:v "crop=in_w/2:in_h/2:1920:1280" \
-pix_fmt yuv420p -c:v libx264 -qp:v 19 -profile:v high -rc:v cbr_ld_hq -level:v 4.2 -r:v 60 -g:v 120 -bf:v 3 -refs:v 16 -preset fast -f flv rtmp://a.rtmp.youtube.com/live2/xxx



ffmpeg is shown rendering frames like this :


frame= 1 fps=0.0 q=0.0 size= 236220kB time=04:02:50.73 bitrate= 132.8kbits/s speed=67.3x 
frame= 1 fps=0.0 q=0.0 size= 236872kB time=04:03:30.90 bitrate= 132.8kbits/s speed=67.3x 
frame= 1 fps=0.0 q=0.0 size= 237539kB time=04:04:12.02 bitrate= 132.8kbits/s speed=67.3x 
frame= 1 fps=0.0 q=0.0 size= 238215kB time=04:04:53.69 bitrate= 132.8kbits/s speed=67.4x 
frame= 1 fps=0.0 q=0.0 size= 238869kB time=04:05:34.05 bitrate= 132.8kbits/s speed=67.4x 
frame= 1 fps=0.0 q=0.0 size= 239515kB time=04:06:13.83 bitrate= 132.8kbits/s speed=67.4x 
frame= 1 fps=0.0 q=0.0 size= 240153kB time=04:06:53.14 bitrate= 132.8kbits/s speed=67.5x 



but as far as youtube, no data is being sent over.


What is causing this to fail ?


-
Discord Bot Not Playing Audio When Using YouTube-dl and FFmpeg
5 novembre 2020, par John Henry 5I'm trying to get a bot to join a voice chat and then play the audio in a youtube url. This is the code I have :


@client.command() async def play(ctx):
 channel = ctx.message.author.voice.channel
 voice_client = await channel.connect()

 opts = {'format': 'bestaudio'}
 FFMPEG_OPTIONS = {'before_options': '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5', 'options': '-vn'}
 with youtube_dl.YoutubeDL(opts) as ydl:
 song_info = ydl.extract_info('video', download=False)
 URL = song_info['formats'][0]['url']
 voice_client.play(FFmpegPCMAudio(URL, **FFMPEG_OPTIONS))



No errors are thrown but it just says [youtube] video : Downloading webpage