View Full Version : Decimal frame rate w/ ImageReader for v2.5.2?
k0r0n4
11th July 2003, 06:17
I am currently *trying* to create a title scene for my AMV using AviSynth's ImageReader filter. All was working well, until I tried to match frame rates with the AMV, which is 29.97. The problem occures because AviSynth is expecting an int, not a float. Is there a way around this in either VirtualDub or AviSynth so that I can create a title scene easily?
In case you were wondering, here's the source:
Works: ImageReader("d:\%title 00.bmp", 0, 300, 30, false)
What I wished worked: ImageReader("d:\%title 00.bmp", 0, 300, 29.97, false)
lamer_de
11th July 2003, 09:07
Try the ImageSequence Plugin:
Corona/ImageSequence().AssumeFPS(rate)
Works prefect. If you need stills etc, please search the forum, I think shodan (sorry if it was sb else) posted a script how tocreate recursive loops and thereforecreate stillswith as many frames as you need them.
EDIT: Maybe AssumeFPS / ChangeFPS / ConvertFPS will do the trick alone anyways.
CU,
lamer_de
k0r0n4
11th July 2003, 18:47
Ahh, thanks for the help. I must of missed that filter on my browing through them. I used AssumeFPS() because it's a title screen, so it's not that important, and also because the differenct in frame rates is only .03 frames per second ^_^. Thanks for the help!
Just in case your wondering here's the final script (uses 3 different images and fading in/out on both sides of each image):
AssumeFPS(UnalignedSplice(FadeIO(ImageReader("d:\%title 00.bmp", 0, 120, 30, false), 30), FadeIO(ImageReader("d:\%title 01.bmp", 0, 120, 30, false), 30), FadeIO(ImageReader("d:\%title 02.bmp", 0, 120, 30, false), 30)), 29.97)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.