VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. The link to download The Avisynth BMP loaded on this page https://www.videohelp.com/forum/userguides/99389.php is kinda down Someone else has an available file online?

    I'm trying to convert a BMP to a video clip and got the script from this site:

    LoadPlugin("MPEG2DEC.dll")
    AudioDub(mpeg2source("C:matrixmatrix.d2v"),
    WAVSource("C:rescue.wav")).
    BilinearResize(448,404,0,0,720,576).AddBorders(16, 80,16,92)
    clip1=Trim(0,999).FadeOut(100)
    clip2=Trim(1000,0).Reverse.FadeOut(100).Reverse
    LoadPlugin("Avisynth BMP Loader.dll")
    BlankClip(250,100,100,"YUY2",25,1,44100,true,true, $000000)
    pic=AvisynthBMP_Loader("C:Pics","smile.bmp").
    BilinearResize(448,404).AddBorders(16,80,16,92).Re verse.
    FadeOut(100).Reverse.FadeOut(100)
    UnalignedSplice(clip1,pic,clip2)

    what is the d2v file?
    Also, what are the things I need to have?
    - The wave file (in this case: rescue.wav)
    - The bitmap file (in this case smile.bmp)
    Do I need a video file or is this automatically created?

    I just want to have this bitmap to a video file that's all without any insertion to any clips. Much like a stand-alone video file with nothing but the bitmap file.

    Any feedback is appreciated
    Quote Quote  
  2. Member
    Join Date
    Feb 2001
    Location
    Berlin, Germany
    Search Comp PM
    BMP_Loader comes with the DVD2SVCD package or download the single DLL here (up again)
    The script above is an example only. To convert a single image to a video clip it is as easy as that:

    Code:
    LoadPlugin("Avisynth_BMP_Loader.dll")
    # template: define the framecount, framesize, colorspace, framerate
    # and audio properties of the clip
    # the framesize should not be smaller than the image size, otherwise 
    # Avisynth may crash
    # replace all values below with the ones you need
    BlankClip(250,140,142,"YUY2",25,1,44100,true,true,$000000)
    # load the still image, replace path and filename with the real ones
    AvisynthBMP_Loader("C:\","yourimage.bmp")
    # resize if necessary
    BilinearResize( x, y)
    More powerfull is the Imagesequence plugin, that is available for Avisynth 2.0 and 2.5.

    Code:
    # load the plugin
    LoadPlugin("imagesequence.dll")
    # open the still image
    ImageSequence("c:\yourimage.bmp",0, 249, 25)
    From Avisynth 2.51 RC2 the internal ImageReader filter replaces all plugins.

    Code:
    ImageReader("c:\yourimage.bmp",0, 249, 25)
    Quote Quote  



Similar Threads