View Full Version : Imagesource doesn't work for some reason..
Sagekilla
4th October 2007, 03:05
For some reason when I try to pass multiple .png files through avisynth, opening the avs in VirtualDubMod or using the "play" function simply does not work.
I get the following message:
Avisynth open failure:
ImageReader: error 'Could not open file' in DevIL library
reading file H:\Elephants Dream\source\13579.png
(G:\Movies\Elephants Dream\source.avs, line 1)
I tried using a similar script with different source png files but I keep getting the same message. Anyone know why this is happening?
IanB
4th October 2007, 06:37
:script:
and does "H:\Elephants Dream\source\13579.png" actually exist and is it a totally valid .PNG file. The DevIL library we use for image import is a tad touchy about marginal files.
Try replacing it with any other file to test if it just that one file that is quirkey.
Sagekilla
6th October 2007, 22:44
:script:
and does "H:\Elephants Dream\source\13579.png" actually exist and is it a totally valid .PNG file. The DevIL library we use for image import is a tad touchy about marginal files.
Try replacing it with any other file to test if it just that one file that is quirkey.
Yes, it actually does exist. All the file within are 100% valid and weren't messed up in any way, I haven't touched the files since I last used them maybe a week or two ago.
Here's my script:
Source=ImageSource("H:\Elephants Dream\source\%05d.png", start=13579, end=15691, fps=24)
Source=ConvertToYV12(source, matrix="Rec709")
return source
IanB
7th October 2007, 00:55
Can you please upload files 13579.png and 13580.png for closer examination.
Try replacing it with any other file to test if it just that one file that is quirkeyDid you try substituting 13579.png with another file as a test?
Note! I am not saying your files are necessarily corrupt, they may just be incompatible with the DevIL library (it is a tad touchy).
Sagekilla
7th October 2007, 03:49
Can you please upload files 13579.png and 13580.png for closer examination.
Did you try substituting 13579.png with another file as a test?
Note! I am not saying your files are necessarily corrupt, they may just be incompatible with the DevIL library (it is a tad touchy).
Yes, I've tried a number of things like using pngs saved in three or four different programs or using some I found online. I even tried using a completely different png sequence I created using VirtualDubMod from a short (300 frames) clip I made earlier on. Also, the files I tried using initially are straight from the elephants dream project untouched. I simply had them downloaded and dumped into a folder, but the links to the ones I have are here: Frame 13579 and 13580 in a .rar file (http://skdotnet.sytes.net:45312/Frames.rar)
It's the beginning of a credits sequence, so both are (almost) pure black frames.
foxyshadis
7th October 2007, 04:42
Try reinstalling 2.5.7 to ensure that devil.dll isn't corrupt?
Sagekilla
7th October 2007, 05:11
Try reinstalling 2.5.7 to ensure that devil.dll isn't corrupt?
Will try once one of my encodes finishes in 57 mins.
IanB
7th October 2007, 05:57
reading file H:\Elephants Dream\source\13579.png
(G:\Movies\Elephants Dream\source.avs, line 1)
does "H:\Elephants Dream\source\13579.png" actually exist?or is the file you are trying to open actually "G:\Elephants Dream\source\13579.png"?
Doh?
Sagekilla
7th October 2007, 16:48
or is the file you are trying to open actually "G:\Elephants Dream\source\13579.png"?
Doh?
Yeah, I just noticed that last night after I had a "2 + 2 is not 5" moment.
Problem fixed, and thankfully it wasn't avisynth being the issue.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.