Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (40)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (5411)

  • How to Kill ffmpeg process in node.js

    8 février 2017, par Sanjay

    I am using node.js code that convert Axis Ipcamera live stream into mp4 using FFMPEG

    var childProcess=require('child_process');
    var childArguments = [];
    var child=[];
    var cmd='ffmpeg -i rtsp://172.24.22.117:554/axis-media/media.amp -vcodec libx264 -pix_fmt yuv420p -profile:v baseline -preset slower -crf 18 -vf "scale=trunc(in_w/2)*2:trunc(in_h/2)*2"'+' '+__dirname+'/uploads/ouput.mp4';

     child=childProcess.exec(      
           cmd,
           childArguments,
           {            
               env: process.env,
               silent:true
           },  function (err, stdout, stderr) {
               if (err) {
                   throw err;
               }
               console.log(stdout);

           });    

           //    here generate events for listen child process (works properly)
       // Listen for incoming(stdout) data
       child.stdout.on('data', function (data) {
           console.log("Got data from child: " + data);
       });

       // Listen for any errors:
       child.stderr.on('data', function (data) {
           console.log('There was an error: ' + data);
       });

       // Listen for exit event
       child.on('exit', function(code) {
           console.log('Child process exited with exit code ' + code);
           child.stdout.pause();
           child.kill();
       });

    my above code works perfectly. It gives the output as I want, but I am not able to kill(stop) the ffmpeg command. I am using the code below for stopping the process, but in background it still continues.

    child.kill("SIGTERM");

    I also used following commands : child.kill(’SIGUSR1’) ; child.kill("SIGHUP") ; child.kill("SIGINT") ;child.kill(’SIGUSR2’) ; for killing this process but it not works.

    Currently I forcefully kill the node application to stop ffmpeg command and generate mp4 file. I do not want this.
    But I want commands that stop ffmpeg process and generate mp4 file, without killing the node application.

  • How to Kill ffmpeg process in node.js

    15 janvier 2023, par Sanjay

    I am using node.js code that convert Axis Ipcamera live stream into mp4 using FFMPEG

    



     var childProcess=require('child_process');
 var childArguments = [];
var child=[];
var cmd='ffmpeg -i rtsp://172.24.22.117:554/axis-media/media.amp -vcodec libx264 -pix_fmt yuv420p -profile:v baseline -preset slower -crf 18 -vf "scale=trunc(in_w/2)*2:trunc(in_h/2)*2"'+' '+__dirname+'/uploads/ouput.mp4';

  child=childProcess.exec(       
        cmd,
        childArguments,
        {            
            env: process.env,
            silent:true
        },  function (err, stdout, stderr) {
            if (err) {
                throw err;
            }
            console.log(stdout);

        });     

        //    here generate events for listen child process (works properly)
    // Listen for incoming(stdout) data
    child.stdout.on('data', function (data) {
        console.log("Got data from child: " + data);
    });

    // Listen for any errors:
    child.stderr.on('data', function (data) {
        console.log('There was an error: ' + data);
    });

    // Listen for exit event
    child.on('exit', function(code) {
        console.log('Child process exited with exit code ' + code);
        child.stdout.pause();
        child.kill();
    });


    



    my above code works perfectly. It gives the output as I want, but I am not able to kill(stop) the ffmpeg command. I am using the code below for stopping the process, but in background it still continues.

    



    child.kill("SIGTERM"); 


    



    I also used following commands : child.kill('SIGUSR1') ; child.kill("SIGHUP") ; child.kill("SIGINT") ;child.kill('SIGUSR2') ; for killing this process but it not works.

    



    Currently I forcefully kill the node application to stop ffmpeg command and generate mp4 file. I do not want this.
But I want commands that stop ffmpeg process and generate mp4 file, without killing the node application.

    


  • Define Opera 11 as minimal supported version. Closes #1881.

    21 novembre 2012, par Sebastian Tschan

    m README.md Define Opera 11 as minimal supported version. Closes #1881. Versions prior to Opera 11 fire the "load" callback for iframes before the DOM is ready and before the file upload request can complete. See http://stackoverflow.com/questions/7614658/opera-wont-recognize-iframe-l (...)