Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (46)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • 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) (...)

Sur d’autres sites (6567)

  • FFMPEG Stream to Instagram Via instafeed.me OR YellowDuck

    3 mars 2024, par Jintor

    I'm trying to do video stream via RTMP to Instagram with FFMPEG

    


    I'm able to do it to facebook and twitter, but instagram is an other beast...

    


    when I create a live broadcast in rtmp.in or yellowduck I get a stream key

    


    when I do this

    


    ffmpeg -rtbufsize 256M -re -i file.webm -acodec libmp3lame -ar 44100 -b:a 128k -pix_fmt yuv420p -profile:v baseline -s 720x1280 -bufsize 6000k -vb 400k -maxrate 1500k -deinterlace -vcodec libx264 -preset veryfast -g 30 -r 30 -f flv rtmps://live-upload.instagram.com:443/rtmp/--key--here--


    


    ffmpeg outputs nothing, no error and I see no video in instafeed panel :(

    


    In other network I got sometimes error in ffmpeg log... but when it's to instagram : just blank nothing

    


    what do I miss ?

    


    here the log

    


    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


    


    and completely blank, no error, no framerate infos like any other transcoding...

    


  • ffmpeg "steam" cbr gop

    30 mars 2021, par Jintor

    It's about live video streaming to STEAM... with ffmpeg

    


    I have this command

    


    ffmpeg -re -i file-from-webcam.webm -deinterlace 
-c:v libx264 -pix_fmt yuv420p -preset veryfast 
-tune zerolatency -c:a aac -b:a 128k -ac 2 -strict -2 -crf 18 
-r 30 -g 60  -vb 1369k -minrate 1369k -maxrate 1369 -ar 44100 -x264-params "nal-hrd=cbr" 
-vf "scale=1280:720" -profile:v main 
-f flv "rtmp://ingest-rtmp.broadcast.steamcontent.com/app/steam_...."


    


    but after a few seconds, the stream stops and the log of steam says

    


        Make sure your upload key-frame interval is set to 2 seconds 
and use constant bitrate (CBR). 
Limit your encoders group of picture (GOP) to at most two times your framerate.


    


    but I do have -x264-params "nal-hrd=cbr" and -r 30 -g 60 framerate 30 GOP 60...

    


    Is there something wrong in the ffmpeg command ?
Or is it linux server related ?

    


    **** The SAME ffmpeg command work very nicely in youtube, twitter, twitch, dlive, facebook, etc...

    


    so what I'm I missing to get it work for steam ?

    


  • ffmpeg streaming simultaneously synchronized delay to multiple social networks

    4 avril 2021, par Jintor

    I'm able to stream simultaneously using ffmpeg to youtube, twitter, facebook, twitch ... simultaneously BUT the issue is the following : each network have their own delay

    


    in 1 network : 15 seconds delay, an other : 10 seconds delay, etc

    


    I tried 2 different ways

    


    • 1 ffmpeg per network => Signal is strong and stable

    


    • 1 ffmpeg with tee muxer to many at once => horrible, unstable, 1 network accepts it and some other says signal poor or too low bitrate...

    


    ----------- for example I use this for each social network ------------------------------

    


    /usr/bin/ffmpeg -re -i input.mp4 -deinterlace -c:v libx264 -pix_fmt yuv420p 
-preset veryfast -tune zerolatency -c:a aac -b:a 128k -ac 2 -crf 18 -r 30 -g 60  
-b:v 2369k -minrate 2369k -maxrate 2369k -ar 44100 -qscale:v 2 -vf "scale=-2:1080" 
-profile:v main -bufsize 2369k -f flv "rtmp://a.rtmp.youtube.com/live2/key"


    



    

      

    • I know that it's a case by case basis and not easy to do, but Is there a way to "fake" a delay with ffmpeg (like youtube->x delay, facebook-> y delay, etc) ?

      


    • 


    • or is there any synchronizing mechanism or timing option in ffmpeg ?

      


    • 


    • or any other approach ?

      


    •