PDA

View Full Version : Show bitmap file in Avisynth Script


sundance
21st December 2002, 20:10
I'd like to generate a short video sequence with a bmp file (fade in, show static bmp file, fade out).
Could anybody shed some light on how to display/open a bmp (or any other file format) in an avs script?

-sundance-

matrix
22nd December 2002, 03:05
You could do it with Donald's logo filter for VDub. Can look something like this:
clip=BlankClip(length=480, width=345, height=346, fps=29.97, color=$000000)
clip
import("C:\Movie\VirtualDub-1_4_10\plugins\vdub_filters.avs")
VD_logo(0, 0, 255, true, 255, 255, 255, 10, "C:\movie\PowerDVD\cut.bmp", false, 0, 0, 0, 0, 0, 0)

But you need vdub_filters.avs You'll find it here (http://www.avisynth.org/index.php?action=find&find=vdub_filters)


Edit.

For this you need to have a clip behind. Can't aply the filter to nothing.
In this case is a blankclip. Make it the size of your picture, and watever lenght ans framerate you want.
I don't know if there are other ways, this is how I do it.

dividee
22nd December 2002, 08:45
Look for the ImageSequence plugin in the FAQ at avisynth.org