Recherche avancée

Médias (0)

Mot : - Tags -/interaction

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (26)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (5482)

  • 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

  • why clip video cost so much time and cpu ?

    27 juillet 2020, par 孟志豪

    I use ffmpeg to clip video.And it uses 1/4 of video duration to clip video,and it takes high percent of CPU.I want to know is there any more advanced method to clip video which takes little time or cpu ?

    


  • Speed up the FFmpeg process time in Android

    19 septembre 2019, par Yogesh Paliyal

    I want to loop video until the sound stops, everything works good but it takes too much time.
    if my audio file length is 4 minutes then it takes approx of 4 minutes & the size is also too much, here is my command

    String[] cmd = new String[]{"-i",audioFile.getAbsolutePath(),"-filter_complex","movie="+videoFile.getAbsolutePath()+":loop=0,setpts=N/(FRAME_RATE*TB)","-c","copy","-y",createdFile.getAbsolutePath()};