Recherche avancée

Médias (91)

Autres articles (45)

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (5476)

  • Using FFMPEG in PHP video convertor issue .webm to .flv ? [on hold]

    18 décembre 2014, par Baskaran

    Using the FFMPEG in PHP,The file size is appearing 0 bytes after file converted from .webm to .flv.

    How to resolve this issue.

    Thanks in advance.

  • ffmpeg playback on android

    11 avril 2012, par Sasha

    I managed to compile ffmpeg libs for Android and i am able to load them in my jni Android app. Now started calling the ffmpeg functions and following the online tutorials. I read there that I need also SDL port for Android in order to render audio/video.

    I have looked at libsdl and it seems quite complex to use on Android, especially since I just need sequential render of audio/video media samples, is there some simpler solution (with examples) how to render the decoded buffers ? Should I pass decoded media buffers from frrmpeg back to java for rendering ?

    If I have to use SDL, is there some tutorial how to easy integrate it on Android with ffmpeg ?

  • FFmpeg live stream with intermediate files

    11 juillet 2021, par SANA NE

    right now i am taking a live stream with rtmpdump and sending it to ffmpeg than nginx to serve as m3u8. This rtmpdump sometimes fails mid stream and need to be restarted which i do automatically but that takes about 10-15 seconds. During that time ffmpeg stops sending data to nginx so end users stream cuts with error. I am looking for a way to make this fully continuous so end users dont get disconnected.

    


    I am a totaly newbie on ffmpeg and streaming so if you know a better way please tell me but what i think about doing is creating a named pipe where main ffmpeg constantly listens and sends data to nginx. When the stream is started i will start sending loading.mp4 to that pipe and when i recieve rtmpdump data i will stop it and send rtmpdump, when rtmpdump fails i will start sending loading.mp4 data instantly so basically there will be no down time on the stream, at least i hope there wont be. Like i said i am a total newbie on streaming but looking as a programmer i think this method should work...

    


    Right now i am trying to tinker the code with options i am looking from online documents, there might be totally unnecessary options i am using...

    


    mkfifo /var/streams/test
ffmpeg -re \
    -f live_flv -fflags +igndts -fflags flush_packets -fflags discardcorrupt \
    -y -i "/var/streams/test" -c:v copy -map 0:0 -c:a copy -map 0:1? \
    -fflags +genpts -frame_drop_threshold 1.0 -preset ultrafast \
    -f flv -flvflags no_duration_filesize "rtmp://localhost:12345/hls/test" \
    -async 1 -vsync 2


    


    when i run this command main ffmpeg starts listening on the pipe, then i run

    


    ffmpeg -y -re -stream_loop -1 -i "/var/updating.mp4" -c:v copy -map 0:0 -c:a copy -map 0:1? \ 
-f flv -flvflags no_duration_filesize "/var/streams/test"


    


    to here it all works perfectly and starts sending data to pipe which than gets sent to nginx and i can view on VLC, my problem start right here... When i stop the second ffmpeg instance which is sending updating.mp4 and restart it main ffmpeg instance throws "[live_flv @ 0x558799fe0f80] Packet mismatch " error, this is the same exact video that i started sending so codecs and all other things are the same. I tried looking online for "packet mismatch" error but couldnt find a solution...

    


    Can someone tell me what i am doing wrong here ?