18

I have a bunch of videos created with a 10 second intro in the front of each of them. They are all MP4 and basically I want to trim the first 10 seconds off each video. Is there a piece of software that lets me do this as a mass. That is without having to click through each one.

3 Answers 3

15

You can use FFmpeg:

  • Free and open-source
  • Runs on Windows
  • Allows to trim: e.g. to cut the first 2 seconds: ffmpeg -ss 2 -i input.flv -vcodec copy -acodec copy output.flv
  • Is CLI so you can batch.
1
  • 4
    I'm using this code to batch them: for %%a in ("*.*") do ffmpeg -ss 10 -i "%%a" -vcodec copy -acodec copy "newfiles\%%~na.mp4"and then a new line: pause
    – keji
    Commented Apr 8, 2014 at 4:59
3

You can use Mencoder (part of MPlayer HQ):

  • Free and open-source
  • Runs on Windows
  • Allows to trim: e.g. to cut the first 2 seconds: mencoder.exe -ss 2 -oac copy -ovc copy input.flv -o output.flv (Mencoder uses FFmpeg, hence the similar syntax)
  • Is CLI so you can batch.
0
1

You can use Avidemux:

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.