Recherche avancée

Médias (91)

Autres articles (73)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (10390)

  • avformat/segment : fix muxing tmcd tracks in MOV

    18 juin 2019, par Gyan Doshi
    avformat/segment : fix muxing tmcd tracks in MOV
    

    avformat/movenc still relies on AVCodecContext time_base to mux tmcd
    tracks and segment muxer did not copy that field to inner streams
    leading to SIGFPE in the child muxer instance.

    • [DH] libavformat/segment.c
  • 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.

  • Resume transcoding a video with ffmpeg

    25 novembre 2014, par Jonathan.

    I have a node server that uses child-process to use ffmpeg to convert a video to mp4. However if the server crashes while transcoding, then I’d like to resume transcoding the file (similar to -C with curl).

    I figured I could just start transcoding the file from where it finished to a seperate file and then just concat the two. And while transcoding the file from where it finished works and the file that starts midway plays back fine, when I concat the two files with ffmpeg -i "concat:part1.mp4|part2.mp4" -c copy ouput.mp4 Only the first part will play, and when it gets to the second part it just stays on the last frame of the first part or goes black depending on the video player. (But playing part2.mp4 itself works fine)

    There isn’t any error during either conversion or the concat.