Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (89)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • 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

Sur d’autres sites (14874)

  • Creating video from single long audio and single image then created video not playing

    25 février 2021, par Mukul Kashyap

    I am creating a video from single audio and single image and it is fine when the audio length less than 10 seconds but when the audio length exceeds 10 seconds then video not playing. I am using FFmpeg to create video using shell_exec().
The video is fine when I directly runs the FFmpeg command on the terminal but the only issue comes with the shell_exec command.

    


    This command I am using -

    


    ffmpeg -loop 1 -f image2 -i $this->img_url -i $this->audio_url -vf scale=1920*1080 -pix_fmt yuv420p -vcodec libx264 -shortest ".$video_local_dir.$video_name ;

    


    Please help me to fix this issue

    


    Thanks.

    


  • Processing time for adding an overlay to video using ffmpeg is too long in Android

    23 septembre 2015, par Abhimanyu

    I am working on an app in which I am using android-ffmpeg-java library. I am using filter_complex to add a video overlay on static image but processing time it is taking is too long.
    Can you please suggest any other library that could help me or how can i improvise the current code

    public Clip createOverlayVideo (String backGroungImagePath,String fiveSecsGifVideoPath , String outputPath, int x,int y,int bgwidth,int bgHeight,ShellCallback sc) throws Exception
       {

           Log.d("FfmpegController", "Width " + bgwidth);
           Log.d("FfmpegController", "Height " + bgHeight);
           Clip result = new Clip ();
           ArrayList<string> cmd = new ArrayList<string>();
           cmd = new ArrayList<string>();
           cmd.add(mFfmpegBin);

           cmd.add("-y");

           cmd.add("-loop");
           cmd.add("1");

           cmd.add(Argument.FRAMERATE);
           cmd.add("25" );
           //-profile:v high -preset slow -b:v 500k

           cmd.add("-i");
           cmd.add(backGroungImagePath);

           Log.e("X and Y value ==== ", "overlayAdditionOnImageConvertToVideo" + x + "   y == " + y);

           cmd.add("-i");
           cmd.add(fiveSecsGifVideoPath);

           cmd.add("-filter_complex");


           //change x and y coordinate to 0 if x or y coordinate is neg
           if(x&lt;0)
               x = 0;
           if (y &lt; 0)
               y = 0;
           //cmd.add("\"");
           cmd.add("[0:v]scale=" + bgwidth + ":" + bgHeight + "[scaled];[scaled][1:v]overlay=" + x + ":" + y);
           //cmd.add("\"");
           Log.d("", "Command    " + "[0:v]scale=" + bgwidth + ":" + bgHeight + "[scaled];[scaled][1:v]overlay=" + x + ":" + y);
           Log.d("value", "Overlay command [0:v][1:v]overlay=" + x + ":" + y);

           cmd.add("-shortest");

           cmd.add("-t");
           cmd.add("5");


           cmd.add("-c:a");
           cmd.add("copy");

           cmd.add("-b:a");
           cmd.add("128k");

           cmd.add(Argument.FRAMERATE);
           cmd.add("25" );

           cmd.add("-preset");
           cmd.add("ultrafast");

           /*cmd.add("-b:v");
           cmd.add("512k");

           cmd.add("-minrate");
           cmd.add("512k");

           cmd.add("-maxrate");
           cmd.add("512k");

           cmd.add("-bufsize");
           cmd.add("512k");

           cmd.add("-f");
           cmd.add("mp4");*/

           cmd.add("-y");

           result.path = outputPath;


           cmd.add(new File(result.path).getCanonicalPath());
           Log.d("FFMPEG", "createOverlayVideo Command " + cmd);
           execFFMPEG(cmd, sc);

           return result;
       }
    </string></string></string>
  • avcodec/ac3enc : use long long after switch to 64 bit bitrate

    19 septembre 2015, par Ganesh Ajjanagadde
    avcodec/ac3enc : use long long after switch to 64 bit bitrate
    

    Commit 7404f3bdb switched bitrate to 64 bits.
    This triggers -Wabsolute-value on clang, e.g
    http://fate.ffmpeg.org/log.cgi?time=20150917122742&log=compile&slot=x86_64-darwin-clang-3.7-O3.
    Therefore, usage of abs is changed to llabs, which is available on all of the platforms.
    Unfortunately, LLONG_MAX is not always available, so INT64_MAX is used instead.

    Signed-off-by : Ganesh Ajjanagadde <gajjanagadde@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/ac3enc.c