View Full Version : I cannot explain this bug, please help me.
HighInBC
15th April 2003, 18:18
I am making an avs script that will scroll a bitmap accross the screen. I am doing this for a How-To film I am making. The problem I am having is when I scroll up the image, then dissolve to another image, then back, the 'other' image is still there. This is a little hard to explain. I can run the film from the beggining, then reach a point, and go backwards and get differnt frames than the first time I went there.
I am assuming that this is not an error in my scripting because of the way avisynth is showing the same frame 2 different ways after backwards seeking.
To see the script an BMP files I am using, get http://highinbc.com/www/problem.zip
neuron2
15th April 2003, 18:57
Temporal filters are often coded such that random frame access does not work properly. That means you can't step back and/or jump by more than one frame.
WarpEnterprises
15th April 2003, 22:29
Please
- tell us AviSynth and ImageSequence versions
- try ImageSequence from www.avisynth.org\~warpenterprises (in some versions there was an error regarding resetting not found images although this should not be the case as you read only 1 image)
- try Zoom together with Chr.dll (this contains Spline). It is exactly designed for your task
Zoom(dstx="Spline(n, 0,-200, 100,200, false)")
would move the image from left to right. With Spline you only have to define the displacement on some points on the timeline, the rest gets interpolated linear or bicubic.
- what do you want to do? Move the first image down and then fade to the small inset image only?
HighInBC
17th April 2003, 19:27
Originally posted by WarpEnterprises
Please
- tell us AviSynth and ImageSequence versions
- try ImageSequence from www.avisynth.org\~warpenterprises (in some versions there was an error regarding resetting not found images although this should not be the case as you read only 1 image)
- try Zoom together with Chr.dll (this contains Spline). It is exactly designed for your task
Zoom(dstx="Spline(n, 0,-200, 100,200, false)")
would move the image from left to right. With Spline you only have to define the displacement on some points on the timeline, the rest gets interpolated linear or bicubic.
- what do you want to do? Move the first image down and then fade to the small inset image only?
Sorry, shoulda said to begin with, I was using avisynth 2.5.1, and I am using 2 images, you see I am scrolling an image that is much taller than the frame, and when it reaches a point it fades to another image which is the same except everything is greyed out but a cricle. "in some versions there was an error regarding resetting not found images", I think that is the problem
Interesting note, when I use avisynth 2.08 it works fine. I am going to try getting the imagesqeuencer from that url, the one I am using is old, and does not even have a cversion number mentioned in the archive.
Thanks for the help.
PS: After installing the latest version of imagesequence things now work fine in 2.5.1, I suppose I should have tried that before asking here. Thank for all the help, I am having alot of fun making animations from bitmaps using avisynth, quality software.
WarpEnterprises
17th April 2003, 22:55
Glad to hear.
Once again, give Zoom / Spline a try - post if you have questions or problems!
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.