Recherche avancée

Médias (91)

Autres articles (29)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

Sur d’autres sites (5197)

  • Discord Bot Not Playing Audio When Using YouTube-dl and FFmpeg

    5 novembre 2020, par John Henry 5

    I'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

    


  • streaming to youtube with ffmpeg

    6 janvier 2021, par ohroblot

    I 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 ?

    


  • How to merge 2 streams and send the stream to youtube ?

    22 janvier 2021, par Nikhil Jacob

    Trying to merge 2 rtmp url from one youtube account and sending the merged stream to another youtube account

    


    Details :

    


      

    1. We enabled 2 youtube account with Go Live feature

      


    2. 


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

      


    4. 


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

      


    6. 


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

      


    8. 


    9. 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

      


    10. 


    


    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 ?