i must be loosing my mind. i thought i used to be able to open .png files using rawsource in avisynth. but none of my .avs templates have any png syntax. so i searched google but have not found anything.
i have a bunch of .png files, i.e., 0001.png ... 1000.png to open in an avisynth script but i'm drawing a blank. this time, i don't want to feed inside virtualdub -> avisynth script.
thinking it might be this simple (below) but not working, getting "avisynth open failure: file to small for even one frame" error message.
did i miss something ?Code:image = "h:\0001.png" LoadPlugin("c:\plugins\rawsource.dll") RawSource(image, width=720, height=480, pixel_type="RGBA") RawSource(image, width=720, height=480, pixel_type="RGB") RawSource(image, width=720, height=480, pixel_type="BGA")
+ Reply to Thread
Results 1 to 6 of 6
-
-
unable to get imagesource() to work. not even worth bothering to go into details. just failed in every combination of attempts.
however, i had imagesequence.dll in my plugins folder, and the following worked for my needs.
Code:LoadPlugin("c:\plugins\ImageSequence.dll") CoronaSequence("h:\0*.png")
Code:imagesource("h:\%05d.png", 1,150, 23.976)
-
yeah, i had 5 digits. plus, i was using wrong syntax: "0%4d.png" was suppose to be "%05d.png"
Similar Threads
-
rawsource not decoding .y4m properly
By vhelp in forum EditingReplies: 38Last Post: 5th Oct 2013, 20:02 -
YUYV to TIFF or PNG, or better yet, PNG to YUYV
By ekztal in forum EditingReplies: 18Last Post: 29th Dec 2009, 22:35 -
Description for png in GUI for DVDAuthor
By mrcoolekin in forum Authoring (DVD)Replies: 4Last Post: 14th Sep 2009, 04:03 -
HDV to PNG to Procoder
By kippard in forum Video ConversionReplies: 1Last Post: 4th Feb 2009, 12:56 -
Making an avi from jpg, bmp or png files
By cabs46 in forum Newbie / General discussionsReplies: 3Last Post: 14th Jan 2009, 06:14