Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Dosn't Work Subset.addrange() ?
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
Michal
Posted: Mar 12 2004, 05:27 PM


Unregistered









I have written a script:

VirtualDub.Open("c:\\home\\mda\\volley\\mecz\\nic.avi",0,0);
VirtualDub.subset.AddRange(100,-762+200);
VirtualDub.SaveAVI("mecz.avi");

and I have two problems with it.

Documentation writes:

AddRange(int start, int length)
start is the index of the frame in the original clip, and length is the number of frames contained in this subset.

But:
function AddRange ingores first argument! No matter, what I write there, the strarting point is allways 0.
Second argument isn't number of frames, but rather offset from the end (and it must be negative number)!

VirtualDub works correct with
VirtualDub.subset.AddRange(100,200);
but VirtualDubMod does not.

Could anybody check this?
 
  Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
0 replies since Mar 12 2004, 05:27 PM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports