Recherche avancée

Médias (91)

Autres articles (62)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

Sur d’autres sites (6311)

  • Where to find old ffmpeg/ffprobe documentation ?

    5 mars 2019, par Multihunter

    There are several different versions of ffmpeg and ffprobe flying around, and each version has a different API.

    If I apt-get install ffmpeg on Ubuntu 16.04, I get ffmpeg version 2.8.15-0ubuntu0.16.04.1. If I install apt-get install ffmpeg on Ubuntu 18.04, I get version 3.4.4-0ubuntu0.18.04.1.

    When I visit the ffmpeg documentation, it says "The following documentation is regenerated nightly, and corresponds to the newest FFmpeg revision. Consult your locally installed documentation for older versions." That is, the hosted documentation is neither of those two versions.

    So I have two questions :

    • What does it mean "your locally installed documentation" ? Is it only talking about man ffmpeg ? Or is there some way to host the documentation as a webpage ?
    • Are there any places that simply host the older versions of the ffmpeg documentation ?
  • Converting mkv to h264 FFmpeg

    14 janvier 2021, par Rikus Honey

    EDIT :
This question has become very popular and is one of the top results for searching "convert mkv to h264 ffmpeg" and thus I feel it is appropriate to add that for anyone stumbling upon this question to rather use

    


    ffmpeg -i input.mkv -c:v libx264 -c:a aac output.mp4


    


    as libvo_aacenc has been removed in recent versions of FFmpeg and it now has a native aac encoder. For more information visit the FFmpeg wiki page for encoding AAC.

    


    Here is the original question :

    


    I would like to convert my .mkv files to .mp4 using FFmpeg. I have tried the following code :

    


    ffmpeg -i input.mkv -c:v libx264 -c:a libvo_aacenc output.mp4


    


    But I get the error :

    


    


    Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height.

    


    


    Is there any way to get around this ? I have tried setting the bitrate of the audio but the problem seems to persist.

    


  • upload video with display and upon submit that video by post method to PHP file where FFMPEG command execute

    30 avril 2019, par Asfand Yar

    Main Task
    Video -> Audio (Wav or mp3)
    Procedure :
    User select video and its display and upload in video player thats fine but when i try to upload via the form tag and post method to php file (Bash.php) where that video have to be converted into the audio (mp3 or wav) i am using FFMPEG library (THat command work perfectly into the Command line) I am trying to do it in php (exec) but didn’t find fruitful results

    I try FFMPEG command to convert uploaded mp4 video to audio because i need audio to transcription
    HTML CODE

    <video width="500" controls="controls" preload="none">

    </video>



    <div class="container d-flex justify-content-center">
    <input type="file" accept="video/*" />

    </div>

       <code class="echappe-js">&lt;script type=&quot;text/javascript&quot;&gt;<br />
       video_file.onchange = function(){<br />
    <br />
       var files = this.files;<br />
    <br />
       var file = URL.createObjectURL(files[0]); <br />
    <br />
       video_player.src = file; <br />
    <br />
       video_player.load();};  <br />
    <br />
    &lt;/script&gt;

    &lt;?php  
       if(isset($_FILES['video'])){                                                                              
       $errors = array();    
           $file_name = $_FILES['video']['name'];                                                                
           $file_size = $_FILES['video']['size'];                                                                
           $file_tmp = $_FILES['video']['tmp_name'];                                                            
           $file_type = $_FILES['video']['type'];                                                                
           $file_ext = strtolower(end(explode('.',$_FILES['video']['name'])));  


       $expensions = array("mp4","avi");                                                                                                  


           if(in_array($file_ext, $expensions[0])===false){                  
               $errors[]="Extension not allowed, please choose a Mp4 or Avi file video";
           }                                                                                                              
       $convertedFile='fine.mp3';                                              
           if(empty($errors)==true){  
           move_uploaded_file($file_tmp, './'.$file_name);
           exec("ffmpeg -i $file_name -vn fine.mp3");

           }else{                                                                                                
               print_r($errors);                                                                                
           }
       $target = "http://localhost:8888/client/dynamic/recognize";
       sleep(3);

       if($file_ext == "mp4" or $file_ext == "avi"){
           exec("python /path/client2.py fine.mp3 > output.txt 2> output2.txt");

           $output = exec("cat output.txt");   }
       echo $output;
       }
    ?>