PDA

View Full Version : Getting an avi from stills


ulfschack
16th October 2002, 08:27
Is there a way using avisynth? I noticed a plugin called "avisynth BMP Loader.dll" from dvd2svcd, but couldn't get it to work properly (at all)

cheers

sh0dan
16th October 2002, 08:59
Get the ImageSequence plugin See the FAQ on avisynth.org, or search here.

ulfschack
16th October 2002, 11:21
Thanks a bundle! Allmost hits the spot :)

I still have the problem of having bmp:s with a longer interval than 1 second apart (typically 6 seconds per image ... air traffic controller application), which is a problem since the framerate minimum of this plugin seems to be "1" or at least no fractions.

But as I think of it maybe it should be possible to fix this problem with a smart combination of ChangeFPS and AssumeFPS (provided those functions accept fractions of course)

thanks again

cheers

sh0dan
16th October 2002, 12:34
AssumeFPS accepts floats.

ulfschack
16th October 2002, 12:47
After a little thinking I realise i don't need fractions at all.

LoadPlugin("c:\ImageSequence.dll")
first_frame=0000
last_frame=0062
seconds_per_still=6
ImageSequence("S:\images2\r%.4d.bmp",first_frame,last_frame,1)
bicubicresize(720,576)
changeFPS(seconds_per_still*25)
AssumeFPS(25)

... so the 1 picture per 6 seconds gets to be a proper 25 fps stream with the right duration ready for DVD encoding.

Thanks for the support

cheers

sh0dan
16th October 2002, 17:47
Logic thinking always helps :)

xly
17th October 2002, 23:36
Hi Ulfschack !

I can't make your script working . Is anything wrong in typing of your script ? Which version of Avisynth ?

Thanks for your help.

xly

ulfschack
18th October 2002, 09:56
No it works fine on my computer, it's pasted directly from a working script. Would you care to state the error message? What format are your pictures in? I use the latest (2.06) version for this, but that shouldn't be necessary.

Did you get the plugin? (Had to ask). IMGLIB.DLL goes in the windows\system directory if you're using w98 or below, windows\system32 otherwise.

cheers

slk001
18th October 2002, 15:49
Here's a script that I am using to create a sequence from a single 24bit picture. This also works with .BMP files, as long as they are 24bit color depth.


#LoadPlugin("D:\Program Files\HOLDER\ImageSequence.dll")
#ImageSequence("path",firstframe,lastframe,fps)
ImageSequence("D:\Program Files\HOLDER\BLUE1.tga",1,1,24).loop(200)

FI=reverse(fadeout2(36)) # "FADEIN2" function
fadeout2(FI,36) # FADEOUT2 function

xly
24th October 2002, 23:16
To Ulfschack

Having read on this forum that "changes" had been made in ChangeFps, I have downloaded Avisynth 2.06 Version and your script works with perfection.

Thanks

xly

It's more fun to compete !!

LeonMcNichol
27th October 2004, 12:11
I'm having a problem when I try to load ImageSequence.dll. It says it's unable to load it. I did a search and I found people with similar problem, but they never gave a fix. Was this ever corrected? I didn't have on my old computer. The only new thing would be SP2 (which win98 was mentioned) and that this is a Pentium and not AMD. (and of course it's faster.)

Wilbert
27th October 2004, 12:43
Responding on a two years old thread ... :)

Is there some reason you are not using imagereader/imagesource?

LeonMcNichol
28th October 2004, 04:42
Probably because I wasn't aware of those, just knew this stopped working for me. Sorry.