Log in

View Full Version : Will this script split a clip in to two parts?


Pntgrd
19th December 2003, 01:19
I have a long clip that I want to split into 2 parts to fit to 2 DVD disks. I am very new to AVISynth but I will get this done or else ;).
I understand what to do to cut out the commercials but I also wanted to split the clip before encoding. When I did this in VD on my forst tries, it seems to screw up the avi's so that I have problems with CCE. Here is the script although it is just for this question:

AviSource("c:\folder\myclip.avi")

video1=video.Trim(0,100000)
video2=video.Trim(100001,0)

If this is correct, I am thinking it should go BEFORE I put in the lines to edit out the commercials, or the end of the first and start of the second will not be right. Am I going at this right?

Pntgrd
19th December 2003, 06:28
Nope, it will not. I am at home now and could check it out. PLease ignore