Batch-split many AVIs in 2 parts?

Solution 1:

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.

Solution 2:

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)