Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (98)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (9104)

  • How to encode jpeg images to H264 very fast (transform images to video)

    17 juillet 2013, par Paul

    I have 30 JPEG images (.jpg) at a resolution of 480 x 640.
    Each image takes aboout 20KB (all of them takes about 600KB).

    I am using FFmpeg command to encode these images into a video in H264 format.

    I need this to be done very fast - about 1 second.

    Using the classic command :

    ffmpeg -y  -f  image2   -r 1/5   -i image_%d.jpg   -c:v libx264   -r 30   video.mp4

    takes about 90 seconds.

    After adding -preset ultrafast :

    ffmpeg -y  -f  image2   -r 1/5   -i image_%d.jpg   -c:v libx264   -preset ultrafast    -r 30   video.mp4

    the encoding takes about 15 seconds which is much better, but still not enough

    I've tried others parameters also, like :

    -profile:v baseline

    -qscale:v

    -b:v 1000k

    -crf 24

    but the encoding time does not fall below 10 seconds.

    I'm not familiar with FFmpeg commands nor with the parameters I need to use, and this is the reason I post here this question.

    The video quality needs to be ok, doesn't need to be perfect.

    As a note : I am running these commands in an Android application where I have the ffmpeg executable, using an ProcessBuilder.

    Reply1 (to Robert Rowntree) :

    ArrayList<string> l2 = new ArrayList<string>();

           //l2.add("ffmpeg");
           l2.add("/data/data/" + packageName + "/ffmpeg");
           l2.add("-y");
           l2.add("-loop");
           l2.add("1");

           l2.add("-i");
           l2.add("frame_%d.jpg");

    //            l2.add("-t");
    //            l2.add(strngs[3]);

           l2.add("-r");
           l2.add("1/2");
           l2.add("-preset");
           l2.add("superfast");
           l2.add("-tune");
           l2.add("zerolatency");

    //            l2.add("-pass");
    //            l2.add(Integer.valueOf(pass).toString());

           l2.add("-vcodec");
           l2.add("libx264");
           l2.add("-b:v");
           l2.add("200k");
           l2.add("-bt");
           l2.add("50k");
           l2.add("-threads");
           l2.add("0");
           l2.add("-b_strategy");
           l2.add("1");

    //            if(pass ==1){
    //                l2.add("-an");
    //            } else {
    //                l2.add("-acodec");
    //                l2.add("copy");
    //            }

           l2.add("-f");
           l2.add("mp4");
           l2.add("-strict");
           l2.add("-2");
    //            l2.add("-passlogfile");
    //            l2.add(strngs[4]);

    //            if(pass ==1){
    //                l2.add("/dev/null");
    //            } else {
    //                l2.add(strngs[5]);
    //            }

           l2.add("video.mp4");
           //return l2;
    </string></string>
  • How to encode jpeg images to H264 very fast (transform images to video)

    27 juin, par Paul

    I have 30 JPEG images (.jpg) at a resolution of 480 x 640.&#xA;Each image takes aboout 20KB (all of them takes about 600KB).

    &#xA;&#xA;

    I am using FFmpeg command to encode these images into a video in H264 format.

    &#xA;&#xA;

    I need this to be done very fast - about 1 second.

    &#xA;&#xA;

    Using the classic command :

    &#xA;&#xA;

    ffmpeg -y  -f  image2   -r 1/5   -i image_%d.jpg   -c:v libx264   -r 30   video.mp4&#xA;

    &#xA;&#xA;

    takes about 90 seconds.

    &#xA;&#xA;

    After adding -preset ultrafast :

    &#xA;&#xA;

    ffmpeg -y  -f  image2   -r 1/5   -i image_%d.jpg   -c:v libx264   -preset ultrafast    -r 30   video.mp4&#xA;

    &#xA;&#xA;

    the encoding takes about 15 seconds which is much better, but still not enough

    &#xA;&#xA;

    I've tried others parameters also, like :

    &#xA;&#xA;

    -profile:v baseline&#xA;&#xA;-qscale:v&#xA;&#xA;-b:v 1000k&#xA;&#xA;-crf 24&#xA;

    &#xA;&#xA;

    but the encoding time does not fall below 10 seconds.

    &#xA;&#xA;

    I'm not familiar with FFmpeg commands nor with the parameters I need to use, and this is the reason I post here this question.

    &#xA;&#xA;

    The video quality needs to be ok, doesn't need to be perfect.

    &#xA;&#xA;

    As a note : I am running these commands in an Android application where I have the ffmpeg executable, using an ProcessBuilder.

    &#xA;&#xA;

    Reply1 (to Robert Rowntree) :

    &#xA;&#xA;

    ArrayList<string> l2 = new ArrayList<string>();&#xA;&#xA;        //l2.add("ffmpeg");&#xA;        l2.add("/data/data/" &#x2B; packageName &#x2B; "/ffmpeg");&#xA;        l2.add("-y");&#xA;        l2.add("-loop");&#xA;        l2.add("1");&#xA;&#xA;        l2.add("-i");&#xA;        l2.add("frame_%d.jpg");&#xA;&#xA;//            l2.add("-t");&#xA;//            l2.add(strngs[3]);&#xA;&#xA;        l2.add("-r");&#xA;        l2.add("1/2");&#xA;        l2.add("-preset");&#xA;        l2.add("superfast");&#xA;        l2.add("-tune");&#xA;        l2.add("zerolatency");&#xA;&#xA;//            l2.add("-pass");&#xA;//            l2.add(Integer.valueOf(pass).toString());&#xA;&#xA;        l2.add("-vcodec");&#xA;        l2.add("libx264");&#xA;        l2.add("-b:v");&#xA;        l2.add("200k");&#xA;        l2.add("-bt");&#xA;        l2.add("50k");&#xA;        l2.add("-threads");&#xA;        l2.add("0");&#xA;        l2.add("-b_strategy");&#xA;        l2.add("1");&#xA;&#xA;//            if(pass ==1){&#xA;//                l2.add("-an");&#xA;//            } else {&#xA;//                l2.add("-acodec");&#xA;//                l2.add("copy");&#xA;//            }&#xA;&#xA;        l2.add("-f");&#xA;        l2.add("mp4");&#xA;        l2.add("-strict");&#xA;        l2.add("-2");&#xA;//            l2.add("-passlogfile");&#xA;//            l2.add(strngs[4]);&#xA;&#xA;//            if(pass ==1){&#xA;//                l2.add("/dev/null");&#xA;//            } else {&#xA;//                l2.add(strngs[5]);&#xA;//            }&#xA;&#xA;        l2.add("video.mp4");&#xA;        //return l2;&#xA;</string></string>

    &#xA;

  • Anomalie #2713 : Gestion des auteurs - Bugs

    18 mai 2012, par Julien -

    ben non ! (re-testé en 19418) En fait, voir capture d’écran : auteur6.png : J’ai une ligne vide initiale : celle-ci ne pose pas de pb en effet. J’ai une autre ligne vide entre rubrique1 et rubrique2 : c’est celle-ci qui pose pb. Elle ajoute un élément vide, 1ere chose, et à l’enregistrement, (...)