Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (21)

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (3450)

  • Limit the cpu usage when converting youtube videos to mp3 using youtube-dl

    30 novembre 2015, par Kamal

    I am using youtube-dl & avconv with php on nginx server to convert youtube video into mp3. Using htop I noticed the usage of cpus peak at 100% when couple of avconv processes are running at the same time, and once my server crushed down because of that.

    The first solution that I encountered cpulimit but after some research,I’ve found cpu limit is not smart enough to handle multiple simultaneous instances.

    From this answer I learned that I can limit the number of cpu threads using -threads option.
    My basic command : youtube-dl --extract-audio --audio-format mp3 <video url="url"></video>

    I wonder if I can add -threads option to the youtube-dl command, I am not sure if that is possible.

    I have 2 cores cpu server, I am thinking of upgrading to 4 cores cpu and limit the avconv to use just 2 cores, what do you think ? Is that the best way to go (using thread option) ?

  • How To Adjust Volume in An Audio Mix With Node Fluent-FFmpeg

    8 octobre 2015, par Alexander Perls

    I am using the node Fluent-FFmpeg library to mix together two audio files.

    My current code :

       var ffmpeg = require('fluent-ffmpeg');
       ffmpeg("/audioFileOne.wav")
               .input("/audioFileTwo.wav")
               .complexFilter('amix=duration=first')
               .audioFrequency(44100)
               .audioCodec('libmp3lame')
               .audioQuality(5)
               .output("/mixedFile.wav").run();
       }

    This works well. However, try as I might, I can’t figure out how to change the volume level of audioFileOne.wav before it is mixed with audioFileTwo.wav

    I am pretty sure I need to add something to this line

    .complexFilter('amix=duration=first')

    But I seem to be not smart enough to understand the ComplexFilter documentation on this page.

    If necessary I can provide some of the code that I have tried, but I don’t want to create more confusion.

  • Shall_exec() is not working in Cent OS 6.5 with php 5.5

    5 décembre 2014, par hitesh

    It is the follow up from the question here. I was not sure if it was good idea to edit that question, So I am asking a new question here

    As explained in my previous question I am using ffmpeg for getting screenshot from video.it seems to working fine in my local but in my Cent OS 6.5 server it is not working, it throws error that
    ffmpeg extension is not enabled.

    "Error in Loading ffmpeg"

    To debug this, I commented the line

     extension_loaded('ffmpeg') or die('Error in loading ffmpeg');

    and I found out that in Cent OS terminal, ffmpeg command were working but if I use it with full path as I am doing in windows it did not work.So i deleted full path and used ffmpeg alone, I am not sure what was the reason behind this.

    Here is my new command

     $cmd = "ffmpeg -i $vid -an -ss $getfromsecond -s $size -vframes 1 $imageFile";
       $cmd2 = "ffmpeg -i $remoteVideo -an -ss $getfromsecond -s $size -vframes 1 $imageFile2 ";
       echo $cmd ."<br />";
       echo $cmd2."<br />";
    exec($cmd, $output, $return);
    echo '$output :' ; print_r($output); echo "<br />";echo '$return' . $return . "<br />";

    if ($return != 0) {
       // an error occurred
       echo "Error in EXEC command ";
    }

    if(!shell_exec($cmd2)){
       echo "Remote video Thumbnail created". "<br />";
    }else{
       echo "Error Creating Remote video thumbnail". "<br />";
    }

    now again it was not working in server, but when I tried both command

    `     echo $cmd ."<br />";

           echo $cmd2."<br />";`

    in dev terminal, it got executed successfully I could see the screenshot.

    So while searching for the problem, I found this question here based on this answer here. I understood that some server may not allow it so I checked it.

    if (isEnabled('shell_exec')) {
       echo "Shell_exec is enabled "."<br />";
       shell_exec('echo "hello world"');
       echo "<br />";
    }else{

       echo "shell exec command is not allowed";
    }

    I got the output "Shell_exec is enabled " but shell_exec('echo "hello world"'); does not seems to work, Also when I run the command directly in terminal it works.

    Help me find the issue here, is it issue with shall_exec() or something else ?

    Any help is appreciated. Thanks