Back Forum Reply New

avisynth script for quot;image plus background soundquot;?

i'm absolutely new to avisynth and my search through the forum didn't give me the desired result.  i have a project and could use some help to create the following script:

1. i have a landscape picture in JPG-format.
2. i'd like to add some sound to the picture - let's say a 2-minute wave-file.
3. both 1) and 2) will be fed to CCE Basic via AVS script.

the result is basically my landscape picture with some background sound in a quot;moviequot; format.  sounds pretty simple, huh?  (but not for me  )

any help is greatly appreciated.

DD

Something like:
Code:
image = ImageSource(quot;c:\pics\landscape.jpgquot;,0,1,25).ConvertToYUY2().loop(25*60*2)
sound = WavSource(quot;c:\snd\sound.wavquot;)
audiodub(image, sound)Originally posted by sh0dan
Something like:
Code:
image = ImageSource(quot;c:\pics\landscape.jpgquot;,0,1,25).ConvertToYUY2().loop(25*60*2)
sound = WavSource(quot;c:\snd\sound.wavquot;)
audiodub(image, sound)

sh0dan:

thanks a lot for your input  !!!  it's interesting, though, that quot;ImageSourcequot; is not recognized.  i get the following error message:

Script error: there is not function named quot;ImageSourcequot;

but if i replace quot;ImageSourcequot; with quot;ImageReader,quot; the script works great...   do you have any explanation?  btw, i'm using avisynth v2.54 b/c it is recommended with DVD-Rebuilder.

TIA.

DD

Sorry  - Replace ImageSource with ImageReader, when using 2.54.
¥
Back Forum Reply New