Take the 2-minute tour ×
Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It's 100% free, no registration required.

I'm using a mac and I'd prefer a free utility, but don't mind using a commercial tool if I have to.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

The following ffmpeg command will remove the first and last minute of a ten-minute input file:

ffmpeg -i input.avi -ss 00:01:00 -t 00:08:00 -c copy output.avi

-ss means start seek; that is, where the output will begin. -t means time; that is, the length of the output: so the above command will start at the first minute, and end eight minutes later.

With some video codecs, using these options with -c copy can cause issues due to I-frames (i.e. ffmpeg will cut to the nearest I-frame). This shouldn't be a problem with DV, though, sine AFAIK it's I-frame only.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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