Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (62)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

Sur d’autres sites (7953)

  • 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>
  • Convert long video to 16:9 by blurring sides ?

    13 mai 2019, par JackChap77

    I am taking screenshots in python using selenium and want to convert them to a video. At the moment I have a black border around the top and bottom but I want it to be a blured image of the video in the background (the video is just a still image and audio)

    Used the filter from https://stackoverflow.com/a/30832903/8502422 but it returns ’invalid too big or non positive size’

    ffmpeg -loop 1 -i image.png -i audio.mp3 -c:v libx264 -preset veryslow -crf 0 -c:a copy -lavfi "[0:v]scale=iw:2*trunc(iw*16/18),boxblur=luma_radius=min(h\,w)/20:luma_power=1:chroma_radius=min(cw\,ch)/20:chroma_power=1[bg];[bg][0:v]overlay=(W-w)/2:(H-h)/2,setsar=1" -shortest post.mp4
  • How could Windows get video stream from video camera & push it to long-range Linux server ? [on hold]

    2 décembre 2014, par xit6482

    How could Windows get video stream from a video camera ?

    Using HDMI data converting line or ?

    Then how could Windows push the stream to long-range Linux server ?

    FFmpeg for Windows ?

    I’m not sure about this, thanks for help !