Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (74)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • 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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (9081)

  • Can I use ffmpeg from inside a Perl script without a system call ?

    16 décembre 2023, par Jared

    I'd like to convert mp3's to lower bitrates, as well as possibly convert video to mp3 using Perl. I looked at the ffmpeg module but it doesn't appear that it supports converting files, the only example I saw was grabbing pictures out of a video stream. Is there a way to do this in Perl with out using system() to call ffmpeg ?

    


  • Converting an mp4 to mp3 : file not found

    8 décembre 2019, par Hywel Griffiths

    I’ve used the following code to convert an mp4 to mp3

    public static void main(String[] args) throws IOException, InterruptedException {

    String line;
    String mp4File = "/Users/hywelgriffiths/Documents/home/pictures/Test.mp4";
    String mp3File = "/Users/hywelgriffiths/Documents/home/pictures/Audio.mp3";

    // ffmpeg -i input.mp4 output.avi as it's on www.ffmpeg.org
    String cmd = "ffmpeg -i " + mp4File + " " + mp3File;
    Process p = Runtime.getRuntime().exec(cmd);
    BufferedReader in = new BufferedReadernew InputStreamReader(p.getErrorStream()));
    while ((line = in.readLine()) != null) {
    System.out.println(line);
    }
    p.waitFor();
    System.out.println("Video converted successfully!");

    Currently its not finding the file I’m setting to convert. I’ve put in a cd command in the terminal with the pathway and it takes it to the correct location of the file. The error I’m getting is :

    Exception in thread "main" java.io.IOException: Cannot run program "ffmpeg": error=2, No    
    such file or directory
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
    at java.lang.Runtime.exec(Runtime.java:620)
    at java.lang.Runtime.exec(Runtime.java:450)
    at java.lang.Runtime.exec(Runtime.java:347)
    at Main.main(Main.java:37)
    Caused by: java.io.IOException: error=2, No such file or directory
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
    at java.lang.ProcessImpl.start(ProcessImpl.java:134)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
    ... 4 more

       in.close();

    }
    </init>

    Any help would be gratefully received

  • How can I take a user input in python3 and use it for the file name of ffmpeg-python file output ?

    25 novembre 2022, par tylerdurden4285

    I am trying to do something like this :

    &#xA;

    import ffmpeg&#xA;&#xA;user_input =input("give your output file a name: ")&#xA;&#xA;(&#xA;    ffmpeg&#xA;    .input(&#x27;input.mp4&#x27;)&#xA;    .vflip()&#xA;    .output(&#x27;(user_input).mp4&#x27;)&#xA;    .run()&#xA;)&#xA;&#xA;

    &#xA;

    I am wondering how I can take the string input from the user and make it the filename. So if they input "tester" the resulting output file would be "tester.mp4".

    &#xA;

    I am running it on an ubuntu 20.04 WSL. I'm new to here and doing my best to learn python3 and ffmpeg so please be gentle with me if I broke any community rules. I'll improve as I go.

    &#xA;

    I don't know what to search for to find the answer to this problem.

    &#xA;