PDA

View Full Version : Creating clip from directory single images the easiest way?


fray
4th January 2006, 22:28
Hi,

I'm looking for an easy way to collect all images from a directory into
a clip.

The directory has bmp-files called frame<no>.bmp.
All are 720x576 pixel. Whenever no image is found, a blank
frame should be inserted.

Example c:\frames has
frame00005.bmp
frame00025.bmp
frame00035.bmp
frame00105.bmp
...

Currently, I'd import each image manually with
ImageReader(frameimage, 0, 0)

Is there an easy way to achive this without having to import each
frame into a avs-script manually?

tateu
4th January 2006, 23:10
try:
ImageSource("c:\frames\frame%05d.bmp", 5, 105, 25)

where %05d is the number of digits in the frame number (00005), 5 is the first frame in the sequence, 105 is the last frame in the sequence and 25 is the fps.

fray
5th January 2006, 00:24
This works - and is really easy.

Thanks.