Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (43)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (6891)

  • Streaming from Icecast to Facebook Live with ffmpeg on Ubuntu 16.04

    24 juillet 2017, par Matthieu

    I have a webradio streamed by Liquidsoap+Icecast on a DigitalOcean droplet (Ubuntu 16.04), and I want to combine this audio stream with a simple jpeg image with ffmpeg, transform it to a video stream and send it to Facebook live.

    Facebook Live specifications :

    Video Format :

    We accept video in maximum 720p (1280 x 720) resolution, at 30 frames
    per second. (or 1 key frame every 2 seconds). You must send an I-frame
    (keyframe) at least once every two seconds throughout the stream..
    Recommended max bit rate is 4000 Kbps. Titles must be less than 255
    characters otherwise the stream will fail. The Live API accepts H264
    encoded video and AAC encoded audio only.

    Video Length :

    240 minute maximum length, with the exception of continuous live (see
    above). 240 minute maximum length for preview streams (either through
    Live dialog or publisher tools). After 240 minutes, a new stream key
    must be generated.

    Advanced Settings :

    Pixel Aspect Ratio : Square. Frame Types : Progressive Scan. Audio
    Sample Rate : 44.1 KHz. Audio Bitrate : 128 Kbps stereo. Bitrate
    Encoding : CBR.

    And the ffmpeg command I tried :

    ffmpeg -loop 1 -i radio-background.jpg -thread_queue_size 20480 -i http://localhost:8000/radio -framerate 30 -r 30 -acodec aac -strict -2 -c:v libx264 -strict experimental -b:a 128k -pix_fmt yuvj444p -x264-params keyint=60 -b:v 256k -minrate 128k -maxrate 512k -bufsize 768k -f flv 'rtmp://rtmp-api.facebook.com:80/rtmp/'

    This is actually working, as Facebook receives the live video and allows me to publish it. But I can’t figured out why there is a lag almost every 2 or 3 seconds. I asked different people to watch the test video, and everyone gets the same problem : every 2 or 3 seconds the playing "freezes" for half a second and seems to load the video, I even can see the loading icon spinning on the screen.

    I tried different combinations of values for the following options : -thread_queue_size / -b:v / -minrate / -maxrate / -bufsize. Nothing seems to produce any change.

    Video streaming is new for me, I’m not really confortable with the options listed before, so I think I’m missing something here...

    Also, note that the icecast audio stream perfectly works, and according to DigitalOcean graphs, the server is not overloaded. So I think my ffmpeg command is wrong.

    What ffmpeg parameters would be working for that case ?

  • FFPLAY unable to facebook live stream url i.e. rtmps url

    1er mai 2020, par Shankar

    I am trying to play facebook live streraming url using ffplay where i have used rtmps stream url & stream key. I have enabled openssl library and rtmps library in ffmpeg. But while running command of ffplay with stream url & key, i am getting Pull function error.
    
So is there any solution known please let me know.
Thank you.

    


  • How can i do Facebook Live (page) using FFMPEG

    15 août 2021, par Amjad Dader

    SOLVED & EDITED -

    


    Catch : Doing live stream on Facebook with FMMPEG.

    


    In past it was easy i did many times as facebook was using rtmp.
But now facebook is using RTMPS so i am getting different errors i have tried 100 commands.
I have a image test.png and a audio file test.m4a (its a podcast) and facebook stream key is 1234.
( i have tried 100 types of commands so cant post here and cant post errors aswell.)
so please can someone help me to go live on my facebook page with image+m4a file.
i prefer centos but i will manage ubuntu if you prefer.
Regards..

    


    Solved : See my answer might help someone.