Log in

View Full Version : Cutting/splitting an AVI into several parts via script


boundone
9th July 2003, 12:37
Hello guys,

is it possible to use a AVIsynth script to cut an AVI into several pieces?
For example, I have a 600 second video named "too_long.avi" and want to have 3 videos with a length of 140, 260, 200, named "too_long_1.avi", "too_long_2.avi" and "too_long_3.avi".

Is that possible with AVIsynth? I found nothing about that in the manual and have to split around 50 AVIs, therefore I am looking for a batch-like solution!

Any pointer is appreciated,

boundone

sh0dan
9th July 2003, 13:28
Could you clarify a bit?

- How many input files?

- How many output files?

- What should be done to each input file?

boundone
10th July 2003, 20:18
Sure!

- How many input files?


1 input file

- How many output files?


2 upto 50 output files

- What should be done to each input file?


just specifying "lead in" and "lead out". No format change or
applying filters.

For example:
I have a 100 second AVI movie and want to generate
3 files. First output file from 0 seconds to 12 seconds, second output file from 12 seconds to 75 seconds, third one from 75 to 100.

Is that more clarifying my problem?

Thanks for any help!

boundone