Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (91)

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (2422)

  • reading ffmpeg output and sending it to a form

    3 juillet 2013, par Aeon2058

    I can run arguments through ffmpeg just fine, but I need to be able to read its output LIVE as it streams (as you may know, ffmpeg can take a while, and it updates its stderr twice a second with current frame, etc).

    I have a form called prog that was declared globally with ProgressForm prog = new ProgressForm(); The user inputs a folder of video files, some data is gathered, and then a button is pushed to start the encoding process with ffmpeg. The button_click event creates a new thread like so :

    runFFMpeg = new Thread(run_ffmpeg);
    runFFMpeg.start();

    runFFMpeg was initialized globally earlier with private Thread runFFMpeg;.

    Now I have the method run_ffmpeg :

    private void run_ffmpeg()
    {
       string program = "C:\\ffmpeg64.exe";
       string args = //some arguments that I know work;

       ProcessStartInfo run = new ProcessStartInfo(program,args);
       run.UseShellExecute = false;
       run.CreateNoWindow = true;
       run.RedirectStandardOutput = true;
       run.RedirectStandardError = true;
       Process runP = new Process();
       runP = Process.Start(run);
       runP.WaitForExit();

       //NOW WHAT?

    }

    I'm not sure what to do now to get the data LIVE, but if I can, I would be updating prog, which has a number of controls, including progress bars, etc. Typical output (that I'm interested in) looks like "frame= 240 fps= 12.8 q=0.0 size= 1273802kB time=00:00:08.008 bitrate=4415.2kbits/s dup=46 drop=0". I know how to parse that to get what I need, I just need that line !

  • Extract every frame form a variable-frame-rate video with ffmpeg

    25 septembre 2013, par Xocoatzin

    I'm trying to extract all the frames on several videos. Those videos were captured on a camera that saves the output with a variable frame rate, thus, some frames are closer together in time than others (from 27 to 30 fps according to mediainfo)

    This frames are to be synchronized with some metadata, so I not only need to extract them but also keep the information of the [relative] time each frame of the video has been shot.

    I've been using ffmpeg to extract video frames, the challenge comes when the video frame rate is not constant any more. Any other method or program different than ffmpeg is ok as far as it can get the job done.

  • How do I close a Node.js FFMPEG child process that is actively streaming from a live capture source ?

    1er juin 2013, par RickZ

    I'm new to Node.js and have figured out how to utilize child.spawn to launch an instance of FFMPEG that is being used to capture live video and send it over to Adobe Media Server via rtmp.

    Every example I've seen of FFMPEG being used in conjunction with Node.js has been with a time limited sample, so the child process closes once FFMPEG reaches the end of the file it is converting.

    In this case, there is no "end of file".

    If I instantiate :

       var ffmpeg = child.spawn(&#39;ffmpeg.exe&#39;, [args]);

    it creates the live feed.

    I have tried immediately shutting the child process down with a :

       setTimeout(function() {
           ffmpeg.stdin.resume();
           ffmpeg.stdin.write(&#39;insert command to echo q to close FFMPEG&#39;);
           ffmpeg.stdin.end();
       });

    However, that does not seem to work. I continue to see my rtmp feed on my test box.

    Is there any way to pass FFMPEG a shut down command via stdin in Node.js ?

    Thanks in advance !

    Rick