Log in

View Full Version : Scripting buggy? (SetRange doesn't work)


kokul
6th May 2004, 16:50
Hi!
I wanted to make a script that extract a part of the video out of an big video. all works fine except the starting point (SetRange(0,xxx),
the extracted video always starts at the beginning.
the code is so simple that I think this is a bug in the scripting-feature:

VirtualDub.video.SetMode(0);
VirtualDub.audio.SetMode(0);
VirtualDub.video.SetRange(0,5000);
VirtualDub.video.SetRange(1,4640000);
VirtualDub.SaveAVI("scripttest.avi");

anyone experiences with that?

bye,kokul
:p