Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (88)

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

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (3870)

  • seeking in a file that ffmpeg is processing from a live stream

    8 mai 2024, par Ken Mandelberg

    I'm using ffmpeg to take input from a live stream and write an mkv file. The stream runs a few hours. I want to play the mkv file while this is in progress. I find that the players basically do "seeks" by playing through the file, which is ok for very short "seeks" but not for very long ones.

    


    When the ffmpeg ends it finalizes the mkv file, and seeks long or short work fine.

    


    What can I do to be able to have a more usable mkv while ffmpeg is in progress ? I suppose I could force ffmpeg to create a new mkv file every hour, with a name including an index. (Is there any automation for that ?), but I was hoping for some way to force periodic finalizations to the single file.

    


    This is on Linux.

    


  • Using ffmpeg to stream to Facebook Live Video : with default webcam and mic

    16 septembre 2017, par suraj kiran

    i tried commands like this
    ffmpeg -i /dev/video0 -vf scale=320:240 -t 5400 -c:a copy -ac 1 -ar 44100 -b:a 128k -c:v libx264 -pix_fmt yuv420p -r 30 -g 60 -vb 2048k -minrate 2000k -maxrate 4000k -bufsize 4096k -f pulse flv "rtmp://live-api-a.facebook.com:80/rtmp/279340769232610?ds=1&s_l=1&a=AThKJag2wqGSJkDI"
    but all those resulted as streaming in ffmpeg but no video appears on facebbok.
    can anyone provide correct command for ffmpeg to stream with my webcam and mic. i prefer low quality video stream(about 360p) due to my poor network

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

    14 janvier 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 ?