Log in

View Full Version : Emulating Capture with AviSynth/VirtualDub


easy2Bcheesy
17th August 2006, 16:07
Hi there,

VirtualDub is able to use an AviSynth file to emulate a capture device, so you essentially can benchmark capture performance without a capture card - I was wondering if any of you guys could help with this issue.

I'm using this script in order to simulate a high definition capture at 720p (with thanks to squid_80 on the development forum):

colorbars(pixel_type="yuy2").bilinearresize(1280,720).trim(0,-1).loop(10000)

However, VirtualDub doesn't like it much at all. When I capture from this script, I get one frame and that's it. Can any of you guys suggest a script that would simulate a 1280x720 input at 59.94fps?

stickboy
18th August 2006, 08:45
BlankClip(width=1280, height=720,
\ fps=60000, fps_denominator=1001,
\ pixel_type="yuy2")
ShowFrameNumber()?

I haven't tried it though, and if your ColorBars attempt didn't work, I doubt this would fare much better.