Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (44)

  • 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

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

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

Sur d’autres sites (8645)

  • How to concatenate two or more videos with different width in FFMpeg and to maintain the same aspect ratio ?

    23 octobre 2019, par Aarwil

    I have five video parts to concat all. Each five videos are in the same width and height. The second part is the hstack of another 2 videos and the third part is the hstack and vstack of another 3 videos. While concat all the five video parts the aspect ratio is not maintaining in the final video. Since I am new to ffmpeg help me to sort out the problem

    I have tried with the command with filter complex and to reduce the size I used frame per second.

    "ffmpeg -i
    RM356ce8c15f47cb07b7af885fd718a39f/final/RM356ce8c15f47cb07b7af885fd718a39f.mp4 -vf scale=1280:480 -filter:v fps=fps=30 E :\test\routes\public\assets\downloads\RM356ce8c15f47cb07b7af885fd718a39f/final/RM356ce8c15f47cb07b7af885fd718a39f.mp4"

    Only ’-vf fps=fps=30’ read, ignoring remaining -vf options : Use ’,’ to separate filters

  • How to know system command is in use in php ?

    13 juin 2019, par flash

    I have a HTML/PHP code as shown below in which on click of a button conversion of mp4 into mp3 starts happening.

    HTML/PHP Code :

      <?php  foreach ($programs as $key => $program) {  ?>
          <tr data-index="&lt;?php echo $key; ?>">
             <td><input type="submit" value="Go" data-id="&lt;?php echo $key; ?>" /></td>
          </tr>
       &lt;?php }?>

    Php code (where mp4=>mp3 conversion happens) :

    $f = $mp4_files[$_POST['id']];
    $parts = pathinfo($f);  
    switch ($parts['extension'])
    {  
    case 'mp4' :
    $filePath = $src_dir . DS . $f;
    system('C:\ffmpeg\bin\ffmpeg.exe -i ' . $filePath . ' -map 0:2 -ac 1 ' . $destination_dir . DS . $parts['filename'] . '.mp3', $result);
    break;  
    }

    As soon as the button is clicked from the HTML/PHP Code above, the text gets changed from Go to Converting in the UI because I have added JS/jQuery code in my codebase but this JS/jQuery code which I have added just change the text only.

    It doesn’t actually know that the Conversion is happening in the background.

    JS/jQuery code :

    $("input[name='go-button']").click( function() {

     // Change the text of the button, and disable
     $(this).val("Converting").attr("disabled", "true");

    });

    Problem Statement :

    I am wondering what modification I need to do in the JS/jQuery code above so that UI actually knows that conversion is happening in the background.

    Probably, we need to add make establish some connection between JS/jQuery and php code above but I am not sure how we can do that.

  • ffmpeg alternative to -ss to something with % ? [duplicate]

    9 juin 2020, par Akhilleus Uggo

    Is there anyway to start cutting a video, or indicate the start point by a percent of the video ?

    &#xA;&#xA;

    Let's suppose a video has a duration of 40 minutes. Starting at 25% of the video would be -ss 600, but not all videos are 40 minutes.

    &#xA;&#xA;

    Any replacement for -ss to something working by % ?

    &#xA;