
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (26)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (4055)
-
avcodec/tta : simplify final samples conversion
17 septembre 2022, par Paul B Mahol -
How to create output live stream from bunch of input live streams on the fly with ffmpeg
27 septembre 2022, par AlexIam looking for a solution how to merge a bunch of live streams into one output live stream with ability to adding new streams and remove old on the fly without output stream stopping.


Something like this command shoud work fine for static number of streams :


ffmpeg -i "rtsp://steam1" -i "rtsp://steam2" -filter_complex "overlay=70:70" -vcodec libx264 -preset ultrafast -f flv rtmp://steam1-stream2-mosaic



But main issue that number of streams is a dynaminc parameter in my case.


I'll try to explain using YouTube as an example and why that "on-the-fly"-logic is important to me. If on start I have two input streams as in command above, and run ffmpeg command to push merged output stream to YouTube, when third input stream is make available, I should somehow add it to main output stream, that already publishing to YouTube. Or, if one of two streams are closed, remove it from published stream.


Obvious solution is to terminate first ffmpeg command with two streams, make new one with new stream list and republish output stream to where I need it. But, when previous output stream stopped, RTMP(S) connection closes, YouTube detect connection loss and close stream, disconnect all viewers, close chat and others. So when ffmpeg pushed new output stream with new stream list, this will be a completely new RTMP(S) connection for YouTube, with empty watch list and chat history.


Main issue is how to add new and remove old streams for single output stream without closing RTMP(S) connection. Modifying existing ffmpeg process looks unavailable, but, maybe, there is some network socket magic, when new ffmpeg process push their output stream to socket that opened by old ffmpeg process. RTMP(S) protocol in this case may generate some errors or "black screen" for a seconds, but this is applicable for me.


ffmpeg is not a requirement : if you can suggest solution with other software, it will be also interesting.


-
alacenc : fix max_frame_size calculation for the final frame
21 août 2012, par Justin Rugglesalacenc : fix max_frame_size calculation for the final frame