Log in

View Full Version : 1001 Frame Ceiling


Rusakov
16th June 2011, 00:50
I seem to be having trouble with AVISynth and its frame counting. I tested a script that would keep the first 2000 frames of a roughly 4944 frame video. But AVISynth only seems to be counting the first 1001 frames and thus only cuts the video to that length when using trim.

The script:

ImageSource("C:\Users\Rusakov\Videos\titan.png")
AudioDub(WavSource("C:\Users\Rusakov\Music\avssound2.wav"))
Trim(0, 2000)
Info()

The end result: http://www.youtube.com/watch?v=zYJ58VC2tHU&feature=channel_video_title

Am I doing something wrong or is this a known bug?

sneaker_ger
16th June 2011, 00:57
end = 1000 is the standard settings for ImageSource (http://avisynth.org/mediawiki/ImageSource). If you want more frames, raise end.

Rusakov
16th June 2011, 01:02
Thanks, it worked like a charm!