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.

If I wanted to cut the first 10 seconds off of a handful of videos(12 videos), is there a program that will open all of the videos at once and let me trim the first 10 seconds off of them all at the same time and then export the changes made to those videos all at once? Instead of having to open each individual video then trim then export and rinse and repeat 11 more times times.

share|improve this question
3  
Is 'all at once' a firm requirement, or would it suffice to submit all the videos in a batch to be processed serially with no further action needed? Also, what form are these videos in -- what codec, etc? –  Jim Mack Aug 3 at 12:22

2 Answers 2

I don't know of anything that allows you to specify something like trimming a certain amount off in batch, but you can do all of the rest with Adobe Media Encoder.

  • Open AME and drag all of the clips that you'd like to trim into the Queue panel.

enter image description here

  • Select all of the files in the queue and click on one of the preset links:

enter image description here

  • Choose a format and preset in the screen that pops up:

enter image description here

  • When you're done, click OK

  • Now click on the Preset link for each video and set the in point at 10sec and click OK

enter image description here

  • Repeat the last step for each of the videos

  • Click the run button enter image description here and all of your videos will be processed while you sip coffee!

share|improve this answer

If all you're doing is trimming the video, you may want to consider the command line tool ffmpeg.

The -ss flag will allow you to set the in point for your trim. You can also set an out point on with the -t flag.

For example, the following command will take "name_of_movie.mp4", trim the first 10 seconds off, copy the audio and video codecs, and output the file as "name_of_movie_trimmed.mp4"

ffmpeg -i name_of_movie.mp4 -vcodec copy -acodec copy -ss 00:00:10 name_of_movie_trimmed.mp4

This should work for any format that ffmpeg accepts, which is pretty much all of them. If you'd like to script it, here's a starting point that I use for this very purpose. Edit the extensions for the type of file you use, and for the time you want, put it in a directory with the files you want to trim, and let it get to work.

!#/bin/bash
for file in *.mp4; do
name=${file%%[.]*};
ffmpeg -i $file --ss 00:00:10 $name_trimmed.mp4
done

There's a lot you can do with ffmpeg to automate some of the more tedious parts of working with video, so have a look around!

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.