
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (97)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (7173)
-
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.


-
fftools/ffmpeg : deprecate -fps_mode/vsync drop
14 décembre 2023, par Anton Khirnov -
Is there any memory problem that "Too many active WebGL contents." keeps coming out in my web console
18 novembre 2022, par jerry

Now I'm using RTSP stream with jsmpeg, ffmpeg, node-rtsp-stream in React.js


I set multiple streaming in react component about 1 to maximum 25


and when I change route to many , It apeard my console


I'm a little afraid of if it caused by memory leak problem


I cannot figure out it is okay or critical problem


Could you tell me how to solve this problem or is it fine



// out of component
const streams: Streams = {};

...

 const { preset } = props;

 const elementsRef = useRef<any>(new Array(preset?.partition).fill(0).map((v) => createRef()));


 // Mount
 useEffect(() => {
 const { JSMpeg } = window;

 const sortedStream = _.sortBy(preset?.stream, ["position"]);
 console.log(sortedStream);


 sortedStream.forEach((v, i: number) => {

 const player = new JSMpeg.Player(v.camera_monitoring.ws, {
 canvas: elementsRef?.current[v.position]?.current, // Canvas should be a canvas DOM element
 });
 console.dir(elementsRef?.current[v.position]?.current);

 streams[v.id] = player;
 });
 }, []);

 // UnMount
 useEffect(() => {
 return () => {
 Object.keys(streams).forEach((v) => {
 console.log("unmount key:", v);
 if (streams[v] !== null) {
 streams[v].destroy();
 streams[v] = null;
 }
 });
 };
 }, []);



... 
</any>


https://github.com/phoboslab/jsmpeg


above library `jsmpeg.min.js` is set by global ( in public directory and set in my html )


actually my code are so many antipattern in contrast react style, To make an excuse, It is my limits of one's ability