Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (97)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 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, par

    Multilang 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, par

    Le 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 Alex

    Iam 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
    fftools/ffmpeg : deprecate -fps_mode/vsync drop
    

    It depends on the ability of muxers to generate timestamps, which is
    itself deprecated.

    • [DH] doc/ffmpeg.texi
    • [DH] fftools/ffmpeg.h
    • [DH] fftools/ffmpeg_filter.c
    • [DH] fftools/ffmpeg_mux.c
    • [DH] fftools/ffmpeg_opt.c
  • Is there any memory problem that "Too many active WebGL contents." keeps coming out in my web console

    18 novembre 2022, par jerry

    enter image description here

    


    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

    


    &#xA;// out of component&#xA;const streams: Streams = {};&#xA;&#xA;...&#xA;&#xA;  const { preset } = props;&#xA;&#xA;  const elementsRef = useRef<any>(new Array(preset?.partition).fill(0).map((v) => createRef()));&#xA;&#xA;&#xA;  // Mount&#xA;  useEffect(() => {&#xA;    const { JSMpeg } = window;&#xA;&#xA;    const sortedStream = _.sortBy(preset?.stream, ["position"]);&#xA;    console.log(sortedStream);&#xA;&#xA;&#xA;    sortedStream.forEach((v, i: number) => {&#xA;&#xA;      const player = new JSMpeg.Player(v.camera_monitoring.ws, {&#xA;        canvas: elementsRef?.current[v.position]?.current, // Canvas should be a canvas DOM element&#xA;      });&#xA;      console.dir(elementsRef?.current[v.position]?.current);&#xA;&#xA;      streams[v.id] = player;&#xA;    });&#xA;  }, []);&#xA;&#xA;  // UnMount&#xA;  useEffect(() => {&#xA;    return () => {&#xA;      Object.keys(streams).forEach((v) => {&#xA;        console.log("unmount key:", v);&#xA;        if (streams[v] !== null) {&#xA;          streams[v].destroy();&#xA;          streams[v] = null;&#xA;        }&#xA;      });&#xA;    };&#xA;  }, []);&#xA;&#xA;&#xA;&#xA;... &#xA;</any>

    &#xA;

    https://github.com/phoboslab/jsmpeg

    &#xA;

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

    &#xA;

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

    &#xA;