PDA

View Full Version : SetRange in VirtualDub.jobs ?


matzed
12th May 2003, 15:19
Hi,

I've made a huge list of jobs to cut a big AVI DV file into sevral ones (more thatn 200), but i made several mistakes...

I want to edit the VirtualDub.jobs cause i think i can change it instead of doing the job again...

I only need to understand to parameter VirtualDub.video.SetRange... When i select range from 0:8:00.000 to 0:10:00.000 (ie from 8th minute to 10th minute), it gives me :

VirtualDub.video.SetRange(480000,1343920)

When i select one second more (0:8:00.000 to 0:10:01.000), it gives me :

VirtualDub.video.SetRange(480000,1342920)

I understand the first paramater : number of milliseconds (60 X 8 X 1000). But i can't figure out how the second one is working.

Can anyone helps ?

Thanks

Matz

matzed
12th May 2003, 16:47
Ok, i found myself the answer (but this thread might be useful for someone :)) : the second paramter is the end of the clip in millisecond minus the end of the range, i.e. the "distance" of the end of the range from the end of the clip...

Thanks,

Matz

magnatique
19th October 2005, 18:36
indeed that was very useful =D