Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have like 40 videos, the lenght between between 10-12 minutes and I would need all of them shorten to 1 minute. Is there any way to shorten all videos at the same time in OS X (iMovie)?

To shorten one video by one would be a bit harder... Thank you.

share|improve this question

1 Answer 1

From the command-line, you can use ffmpeg like so:

ffmpeg -i input.mp4 -c copy -t 00:01:00 output.mp4

To do every *.mp4 in a directory, you can utilise a for loop:

for f in *.mp4; do ffmpeg -i "$f" -c copy -t 00:01:00 "${f/.mp4/-short.mp4}"; done

You can get more information about seeking with ffmpeg here.

share|improve this answer

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.