Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (24)

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

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

Sur d’autres sites (4314)

  • subprocess.Popen can't find the file when shell=False and doesn't know ffmpeg when shell=True [duplicate]

    26 novembre 2023, par Waschbrettwade

    I am trying to get an offline speech-to-text library called "vosk" running following this tutorial : https://medium.com/@johnidouglasmarangon/automatic-speech-recognition-with-vosk-828569219f2b

    


    In this, subprocess.Popen is being used like this :

    


    ffmpeg_command = [
            "ffmpeg",
            "-nostdin",
            "-loglevel",
            "quiet",
            "-i",
            filename,
            "-ar",
            str(SAMPLE_RATE),
            "-ac",
            "1",
            "-f",
            "s16le",
            "-",
        ]

    with subprocess.Popen(ffmpeg_command, stdout=subprocess.PIPE) as process:


    


    When running this in Jupyter Notebook, no problem at all. But whenever I run this in VSCode, it produces the error :

    


    FileNotFoundError: [WinError 2] The system couldn't find the specified file (translated to English by me)


    


    When using shell=True as in

    


    with subprocess.Popen(ffmpeg_command, stdout=subprocess.PIPE, shell=True) as process:


    


    it tells me in the terminal (translated) :

    


    The command "ffmpeg" ist either written wrong or couldn't be found. 


    


    Do you have any idea what's causing these issues and how to fix them ?

    


  • Is there any faster way of synchronize the Drive from Colab

    18 novembre 2018, par jperezmartin

    I need to extract many frames of the videos of one dataset stored in Google Drive from colab code. I mounted drive with

    from google.colab import drive
    drive.mount('/content/gdrive')

    I am generating and saving the frames with ffmpeg library calling a subprocess.

    subprocess.call(["ffmpeg", "-i", src, dest])

    or

    subprocess.check_call(["ffmpeg", "-i", src, dest])

    The files .jpg are uploaded in drive but not fast. And, at a certain point the synchronization stops, having executed the generation process on the whole dataset in colab.

  • function and variable "chicken or the egg" scenario

    17 mars 2014, par user3426923

    I'm making a simple program to run in C++ to do ffmpeg for me, but I have the problem of needing certain variables defined in the "main", but the function needs to be above main to be ready to be used. what can I do ?

    #include <iostream>
    #include <cstdlib>

    using namespace std;

    int convert()
    {
       int operation;
       switch(operation){
           case &#39;1&#39;:

           case &#39;2&#39;:

           case &#39;3&#39;:

           case &#39;4&#39;:
               ;
       }
       return 0;
    }
    int main()
    {
       std::string formatIn;
       std::string FormatOut;
       std::string confirm;
       cout &lt;&lt; "select format that file is currently in: mp3, gp3, mp4, flv" &lt;&lt; endl;
       cin >> formatIn;
       cout &lt;&lt; "original format = " &lt;&lt; formatIn &lt;&lt; endl;
       cout &lt;&lt; "choose your target format: mp3, gp3, mp4, flv" &lt;&lt; endl;
       cin >> FormatOut;
       cout &lt;&lt; "selected format = " &lt;&lt; FormatOut &lt;&lt; endl;
       cout &lt;&lt; "proceed? ";
       cin >> confirm;
       if(confirm == "yes"){
       cout &lt;&lt; "proceeding with operation:" &lt;&lt; endl;
       convert();
       }
       else{
               if(confirm == "no"){
               cout &lt;&lt; "canceling,,," &lt;&lt; endl;
               }
       }
    }
    </cstdlib></iostream>