Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (55)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

  • 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>
  • Aws lambda timeout while processing a 1gb file using ffmpeg

    12 novembre 2020, par jsdbt

    I have set timeout to 15min and memory to full 3GB.

    &#xA;

    I am passing s3 url of a 1gb video file to ffmpeg. File is 30min long. Processing it is taking longer that 15min in aws lambda resulting in timeout error. I need to add subtitles and text to the videos.

    &#xA;

    What other options I have to process large and LONG video files using ffmpeg, preferably serverless ?

    &#xA;

  • Processing files on server before moving it to S3

    16 septembre 2015, par ahmgeek

    The idea behind the application is to record videos from webcams with WebRTC, the problem is Chrome sending back two blobs : audio wav and video webm so I do processing on both of them to make a final .mp4 with fmpeg library from rails.

    I upload both blobs with dragonfly gem, and do the processing with the tilde command :

    ffmpeg -y -i #{avi_name}.avi -i #{audio_name}.mp3  -c:v libx264 -crf 19 -preset slow -c:a aac -strict experimental -b:a 192k -ac 2 #{avi_name}.mp4

    That works fine on local development, on production it’s impossible to do it on S3 buckets - our videos and images goes to s3 bucket - I’ve tried it with no hopes. Also I’ve searched to see if anyone made any success, but no.

    So I may upload it to our server acting as a temp server, then move it to S3. I use dragonfly for uploading and serving images, so it handles the upload nicely, but how can I achieve the goal with it ?