Log in

View Full Version : Batch splitting avi files


Sasa
9th January 2005, 02:54
Hi,

I know how to do it manually with Virtualdub. But how do I automatically cut off let's say the last 1000 frames of an avi file? I have a directory full of avis and I want to be able to cut them with one command. To be more precise I want to cut off the end credits of dvd ripped series which are always 1082 frames. So I would like to do something like that:

trimavi --cut-from-end 1082 *.avi

(trimavi is obviously made up)

Is there any software that can do this without me clicking so much that I get Repetetive Strain Injury?

Thx for any help/tip in advance

ultimatebilly
10th January 2005, 16:01
I don't know a solution for batch splitting, but maybe mplayer can be used for this task?
I imagine something like this:
mplayer -edl cutlist -dumpstream -dumpfile cut.avi
The edl-files (http://www.mplayerhq.hu/DOCS/HTML-single/en/MPlayer.html#edl) (Edit Decision Lists) make it possible to skip parts in videos when using mplayer.
I don't know how complete these features are supported by the mplayer-version for windows, but I think it is worth a try!
IIRC, I used this version on windows:
http://oss.netfarm.it/mplayer/mplayer+live-cvs-20041205.zip

Good luck!

By the way, posting one time would have been sufficient! ;)

Sasa
15th January 2005, 01:11
Hi ultimatebilly,

thx for the advice. I have tried mplayer, but only for the first time. It seems very powerful but I don't have the time right now to get into it right. Eventually I will have to I guess. Damn, this man page is really *huge*.

Thx for the tip