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.
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.
- Select all of the files in the queue and click on one of the preset links:
- Choose a format and preset in the screen that pops up:
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
Repeat the last step for each of the videos
Click the run button and all of your videos will be processed while you sip coffee!
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.
for file in *.mp4; do
ffmpeg -i "$file" -vcodec copy -acodec copy -ss 00:00:10 "$name trimmed.mp4"
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!
Other people have already given a very good way to do these things one video at the time. But if, for whatever reason, you definitely need to do everything at once, you can use libav to do that.
Here is the example command with 4 files:
avconv -ss 10 -i 1.webm -ss 10 -i 2.webm -ss 10 -i 3.webm -ss 10 -i 4.webm \
-map 0:0 -map 0:1 -c:a copy -c:v copy 1.mkv \
-map 1:0 -map 1:1 -c:a copy -c:v copy 2.mkv \
-map 2:0 -map 2:1 -c:a copy -c:v copy 3.mkv \
-map 3:0 -map 3:1 -c:a copy -c:v copy 4.mkv
This assumes that in your files the video and audio streams are always the first two. Since this is not always the case this command can fail if you do not check first.