Frame serving from what to what? In
VirtualDub, you could load a file, then mark in/out your selected area. I do this all the time. As far as Avisynth goes, there is probably a way to mark the in/out via some sort of frame referencing, but I'm not entirely sure of what that is, having never done it.
You could possibly do it with this method:
http://avisynth.org/mediawiki/SelectEvery
Code:
# Selects the frames 0 to 13, 280 to 293, 560 to 573, etc.
SelectRangeEvery(clip, 280, 14)
It's not direct, but workaround is possible.
If your full video is 100,000 frames, and you only want the first 20,000, then you could set it up to do:
Code:
# Selects the frames 0 to 20000, 99999-end
SelectRangeEvery(clip, 99999, 20000)
I could be wrong, but it makes sense in my head. Experiment with it.
The only other suggestion I have is to ask some of the folks in the doom9.org Avisynth forum, but be wary of attitude -- not the friendliest places for posting in the past few years, since "Mr. Doom9" stopped participating. There's also doom10.org, but can't say I'm certain of the expertise level of those members there, as I don't visit it often. Not many Avisynth users at Afterdawn or Videohelp anymore.