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.

14

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.
  • 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 Apr 8 '14 at 4:59
  • 1
    Thanks for sharing the code! – Franck Dernoncourt Apr 8 '14 at 15:49
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.
1

You can use Avidemux:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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