Help with ImageReader/ImageSource

The old Video Software Help forum, left visible as an archive.

Help with ImageReader/ImageSource

Postby Infinity Squared » Wed Aug 30, 2006 1:41 pm

Aight, so I'm putting together a bunch of frames which I've edited. Normally I probably should be using my standard video editor to be doing this but I was just curious how much faster it could get if I used AVISynth instead to piece together this animation.

Anyway, all my image files are in .png and named sequentially. I know it's not the naming convention or the way it should be read in ImageReader that is the problem here. But when I try to play it or put it on Vdubmod, it chews out this message:

Code: Select all
ImageReader: Error 'Could not open file' DevIL library
reading G:\wasu\1.png


Here's what my script simply contains:

Code: Select all
ImageReader("G:\wasu\%d.png", 0001, 00086, 25, use_devil = true)


And yes, I have tried to use it with use_devil = false and it yielded the same result.

So my question is, am I missing a plug-in or some line of code I had to include before that? Or maybe perhaps ImageReader is only absolutely picky and only accepts the .ebmp crap that ImageWriter chews out?

Any help would be appreciated.
Image
User avatar
Infinity Squared
Mr. Poopy Pants
 
Joined: 11 Aug 2004
Location: Australia
Status: Shutting Down

Postby dokidoki » Wed Aug 30, 2006 3:10 pm

I made some named PNGs and that line worked for me in AviSynth 2.57.

Are your PNGs actually named 1.png, 2.png, etc? You write "0001, 00086", which seems to imply your files might be named 0001.png, 0002.png, etc. For that you need "G:\wasu\%04d.png" to indicate a name of 4 characters long with the proper number of zeroes in front.

Also try loading just the first PNG to see if it's a problem with the file and not the naming.
Image Image Image
"Comedy is a dying breed." -- kisanzi // "Comedy. Serious business." -- dokidoki
Free games! (some left) // "Anybody want a pizza roll?"
User avatar
dokidoki
c0d3 m0nk3y
 
Joined: 19 Dec 2000
Location: doki doki space
Status: BLEEP BLOOP!

Postby Infinity Squared » Wed Aug 30, 2006 11:04 pm

Ack... how did I overlook that? That works a treat, thank you very much for that. Cheers...
Image
User avatar
Infinity Squared
Mr. Poopy Pants
 
Joined: 11 Aug 2004
Location: Australia
Status: Shutting Down


Return to Video Software Help Archive

Who is online

Users browsing this forum: No registered users and 1 guest