Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (42)

  • 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

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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (5096)

  • FFMPEG RTMP not working in my red5pro module on Ubuntu 14.0.4

    24 janvier 2018, par Atul

    This following command not working in my java module (this takes snap from live stream and save it)
    Runtime.getRuntime().exec("ffmpeg -i \"rtmp ://127.0.0.1:1935/live/mytest live=1 timeout=2\" -f image2 -vframes 1 /snaps/testo.jpg") ;

    If I use same command on Ubuntu 14.0.4 console it works. Same command working in my red5pro module on Window but not on Ubuntu.

    When I use
    String[] execStr = "/usr/local/bin/ffmpeg","-i","rtmp ://127.0.0.1:1935/live/mytest","live=1","timeout=2","-f","image2","-vframes","1","/snaps/tt.jpg" ;
    ProcessBuilder pb = new ProcessBuilder("ffmpeg -i rtmp ://localhost/live/mytest live=1 timeout=2 -f image2 -vframes 1 /snaps/testo.jpg") ;

    It always throw stream not found ( in red5pro console)

  • avcodec/mpegaudio_parser : Skip APE tags when parsing mp3 packets.

    30 janvier 2018, par Dale Curtis
    avcodec/mpegaudio_parser : Skip APE tags when parsing mp3 packets.
    

    Otherwise the decoder will throw "Missing header" errors when the
    packets are sent for decoding.

    This is similar to 89a420b71b5.

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/mpegaudio_parser.c
  • FFMPEG Doesn't Finish Compressing [duplicate]

    11 février 2018, par MBJH

    This question already has an answer here :

    I have this code which executes a ffmpeg command to compress a video file to .mp4

    Process ffmpeg=Runtime.getRuntime().exec(cmdLine, null, cd);

    And the ffmpeg command works just fine & everything compresses. But I need to trigger some code once it is finished. I tried this :

    try {
       ffmpeg.waitFor();
    } catch(InterruptedException ex) {
       ex.printStackTrace();
    } finally {
       new Update_Delete(con).compressed(Integer.parseInt(path.substring(path.lastIndexOf("\\")+5, path.lastIndexOf("\\")+6)));
       System.gc();
       new File(path).delete();  
    }

    And this :

    while (ffmpeg.isAlive()) {

    }
    new Update_Delete(con).compressed(Integer.parseInt(path.substring(path.lastIndexOf("\\")+5, path.lastIndexOf("\\")+6)));
    System.gc();
    new File(path).delete();

    But the file does not finish compressing. I waited a whole 20 minutes but the 54 second file did not compress. It also does not throw an InterruptedException. Please leave me the code I can use to do this. Thanks