Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (48)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (11066)

  • NodeJS - How to pipe same video stream to multiple clients ?

    30 août 2013, par SergioBR

    We have a situation trying to serve a video stream.

    Since HTML5 video tag does not support udp to multicast, we are trying to re-use an already converted ffmpeg stream and send it to more than one response. But that does not work.

    The first response gets the stream alright, but the second one does not.
    It seems that the stream cannot be piped out to another response, neither can it be cloned.

    Has anyone done that before ? Any ideas ?

    Thanks in advance !

    Here's the code :

    var request = require('request');
    var http = require('http');
    var child_process = require("child_process");
    var n = 1;
    var stdouts = {};

    http.createServer(function (req, resp) {

    console.log("***** url ["+req.url+"], call "+n);

    if (req.url != "/favicon.ico" && req.url != "/")
    {
    var params = req.url.substring(1).split("/");

    switch (params[0])
    {
     case "VIEW":
       if (params[1] == "C2FLOOR1" || params[1] == "C2FLOOR2" || params[1] == "C2PORFUN" || params[1] == "C2TESTCAM")
         var camera = "rtsp://192.168.16.19:554/Inter/Cameras/Stream?Camera="+params[1];
       else
         var camera = "http://192.168.16.19:8609/Inter/Cameras/GetStream?Camera="+params[1];

       // Write header
       resp.writeHead(200, {'Content-Type': 'video/ogg', 'Connection': 'keep-alive'});

       if (stdouts.hasOwnProperty(params[1]))
       {
         console.log("Getting stream already created for camera "+params[1]);

         var newStdout = Object.create(stdouts[params[1]]);

         newStdout.pipe(resp);
       }
       else
       {
           // Start ffmpeg
           var ffmpeg = child_process.spawn("ffmpeg",[
           "-i",camera,
           "-vcodec","libtheora",
           "-qscale:v","7",        // video quality
           "-f","ogg",             // File format
           "-g","1",               // GOP (Group Of Pictures) size
           "-"                     // Output to STDOUT
           ]);

           stdouts[params[1]] = ffmpeg.stdout;

           // Pipe the video output to the client response
           ffmpeg.stdout.pipe(resp);

       console.log("Initializing camera at "+camera);
       }

       // Kill the subprocesses when client disconnects
    /*
       resp.on("close",function(){
         ffmpegs[params[1]].kill();
         console.log("FIM!");
       });
    */
       break;
    }
    }
    else
    {
    resp.writeHeader(200, {"Content-Type": "text/html"});
    resp.write("WRONG CALL");
    resp.end();
    }
    n++;

    }).listen(8088);

    console.log('Server running at port 8088');
  • is it possible to send ffmpeg images by using pipe ?

    18 août 2018, par Yanshof

    I want to send images as input to ffmpeg and I want ffmpeg to output video to a stream (webRtc format.)

    I found some information that from my understanding showed this is possible. - I believe that ffmpeg could receive image from a pipe, does anyone know how this can be done ?

  • How to use pipe in ffmpeg within c#

    14 août 2018, par Andrew Simpson

    I have 100 jpegs.

    I use ffmpeg to encode to a video file which is written to a hard drive.

    Is there a way to pipe it directly to a byte/stream ?

    I am using C# and I am using the process class to initate ffmpeg.

    Thanks