4
how can I batch split many AVIs into 2 parts, with no conversion?
NB: this didn't help much What is the best software to split and join avi files?
4
how can I batch split many AVIs into 2 parts, with no conversion?
NB: this didn't help much What is the best software to split and join avi files?
2
Assuming you want all the videos to be split at the ten-minute mark:
ffmpeg -i input.avi -t 00:10:00 -c copy output1.avi \
-ss 00:10:00 -c copy output2.avi
On systems with a bash (or other unix-based) shell, you can use a for loop to convert every *.avi in a directory (you can also do this on Windows, but I don't know how):
for f in *.avi; do \
ffmpeg -i "$f" -t 00:10:00 -c copy "${f/.avi/-t10.avi}" \
-ss 00:10:00 -c copy "${f/.avi/-ss10.avi}"; done
You may have some issues using -c copy with -ss: you may be best solved re-encoding the video. See the x264 encoding guide and the AAC encoding guide for more information on that.
1
Haven't worked with .avi for ages but Avidemux might be what you are after - and it supports scripting for iterating through a directory of .avi's (for example)
1
Virtualdub seems to get the job done easy - enjoy
Apparently VD has a batch mechanism and a tool exists to automatically create jobs from "templates", didn't try it myself but give it a try: http://www.dynatec.at/techblog/dubjobs-the-virtualdub-batch-job-maker
thanks, but how do I batch-split many AVIs at the same time? – iAsk – 2012-07-12T23:20:11.283
sorry didn't see that you asked for batch ... edited my answer – tutuDajuju – 2012-07-13T08:23:18.343