Recherche avancée

Médias (1)

Mot : - Tags -/vidéo

Autres articles (46)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

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

Sur d’autres sites (6623)

  • ffmpeg problems (mpeg1video -> ?)

    3 juillet 2015, par Inglonias

    I’m trying to convert various video files from .mpeg to .ogg theora videos. This command works fine when I test it in its own program, but fails to run properly inside the program it was intended for. I don’t understand what’s breaking here. Adding a -vcodec flag causes other errors.

    Here is the function I am using to run ffmpeg :

    * This method converts a file to Ogg Theora video using ffmpeg.
    *
    * @param f
    *            The file to encode. (Assumes that the file has a .mpeg
    *            extension. If the file doesn't have this, the method will
    *            fail.)
    * @param nice The niceness of the created ffmpeg
    *            priority.
    * @return converter The process that represents ffmpeg working on the file.
    */
    private Process encodeFileAsTheora(File f, int nice) {
       Process converter = null;
       try {
           String targetFileName = f.getAbsolutePath()
                   .replace(".mpeg", ".ogg");
           // mLogger.log(Level.INFO,
           // "Now attempting to convert " + f.getAbsolutePath());
           String[] ffmpegCommand = { "nice", "-n", Integer.toString(nice),
                   "ffmpeg", "-i", f.getAbsolutePath(), targetFileName };
           converter = Runtime.getRuntime().exec(ffmpegCommand);
       } catch (IOException e) {
           // TODO Auto-generated catch block
           e.printStackTrace();
       }
       return converter;
    }

    And here is its getErrorStream() output to the logger :

    NON RELEVANT CONTENT REMOVED

    configuration : —extra-ldflags=-L/home/user/trunk/cpp_src/ffmpeg-source/libvpx —extra-ldflags=-L/home/user/trunk/cpp_src/ffmpeg-source/x264 —extra-cflags=-I/home/user/trunk/cpp_src/ffmpeg-source/x264 —extra-cflags=-I/home/user/trunk/cpp_src/ffmpeg-source/libvpx —enable-libvpx —enable-libx264 —enable-gpl —yasmexe=/home/user/trunk/cpp_src/ffmpeg-source/yasm/yasm

  • Stream over serial port using FFmpeg [closed]

    12 septembre 2020, par Rasoul Sharifian

    Is it possible to stream videos over the serial port using the FFmpeg library ? Or is there any other library that can compress and stream videos over serial ports ?
Now I am using the FFmpeg library to stream videos by UDP and LAN cables, but it must stream over the serial port.

    


    I also used a kind of Uart to ethernet converter hardware module to solve the problem and hopefully, this worked for me. But the project goal is to send video data over serial ports originally and not using some converters.

    


    Any suggestions would be helpful.

    


  • Convert ogg audio to wav in python without ffmpeg

    24 juin 2024, par Talha Anwar

    I am getting oga file from javascript blob and I want to convert it to PCM compatible wav file in python.
The approach I am using is as follow

    


    AudioSegment.converter = r"C:/ffmpeg/bin/ffmpeg.exe"
AudioSegment.ffprobe   = r"C:/ffmpeg/bin/ffprobe.exe"
sound = AudioSegment.from_file("file.oga")
sound.export("file.wav", format="wav")


    


    For this I have to download ffmpeg locally.
Is there any way to convert oga file to wave directly.

    


    This is how i am saving file

    


    f = open('./file.oga', 'wb')
f.write(base64.b64decode(file))
f.close()