Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (70)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (7182)

  • 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;

  • common.mak : Use CCFLAGS for assembly generation as well

    2 décembre 2015, par Timothy Gu
    common.mak : Use CCFLAGS for assembly generation as well
    

    CCFLAGS is equivalent to CPPFLAGS + CFLAGS, and it is already being used
    by other make rules like %.i and %.o. Simplifies common.mak.

    • [DH] common.mak