Recherche avancée

Médias (91)

Autres articles (34)

  • 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.

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (5318)

  • ffmpeg and grep not working to extract mean_volume value

    31 octobre 2019, par Json

    I have a list of mp3 files and i want to set all mean_volume to the same db value using a script, so I enter the command for detecting the value (https://trac.ffmpeg.org/wiki/AudioVolume) and I try to grep the value but it fails and instead prints all the output from the ffmpeg command. Any thoughts ?
    Also tried tr instead of grep. The command I used is :

    ffmpeg -i sample.mp3 -filter:a volumedetect -f null /dev/null | grep 'mean_volume'
  • Monitoring ffmpeg two-passes encoding

    31 décembre 2024, par Hodol

    I'm new in FFMPEG.

    


    According to the official guide, https://trac.ffmpeg.org/wiki/Encode/VP9 I use the following command to convert a large h.264 file :

    


    ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 0 -crf 30 -pass 1 -an -f null /dev/null
ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 0 -crf 30 -pass 2 -c:a libopus output.webm


    


    However, the pass-1 takes too long time and it does not log progress. With -report option I can see something is in progress but I don't know how long I should wait.

    


    Here's questions :

    


      

    1. Is there any way to see the progress of 1-pass ?
    2. 


    3. Is there any way to speed up the process ?
    4. 


    


    Thank you,

    


  • Use both stdio and stout in the same child process

    31 janvier 2021, par mr noob

    I am using ffmpeg to combine the audio/video 2 streams and pipe them to express. Here is my code :

    


    var ffmpeg = cp.spawn('ffmpeg', [
        // Set inputs
        '-i', 'pipe:4',
        '-i', 'pipe:5',
        // Map audio & video from streams
        '-map', '0:v',
        '-map', '1:a',
        // Keep encoding
        '-c', 'copy',
        '-movflags', 'frag_keyframe+empty_moov',
        '-f', 'mp4',
        // Define output file
        'pipe:1',
      ], {
        stdio: [
          /* Standard: stdin, stdout, stderr */
          'inherit', 'inherit', 'inherit',
          /* Custom: pipe:3, pipe:4, pipe:5 */
          'pipe', 'pipe', 'pipe',
        ],
      });
      video.pipe(ffmpeg.stdio[4]);
      audio.pipe(ffmpeg.stdio[5]);
      res.header('Content-Disposition', 'attachment; filename="video.mp4"');
      ffmpeg.stdout.pipe(res);


    


    But the code gives an error saying that ffmpeg.stout is null. After a bit of research, I found out that you can't have the stdio options array, or else stout will be null. Any way to fix this ?