View Full Version : panning probelms -Animate usage
yair
18th June 2009, 02:36
i have a 800x25000 jpeg, i want to slwoly pan it from top to bootm. when i try this
pan=CoronaSequence("test.jpg") #i get devIL error with the internal imagereader filter
Animate(0,2000,"Crop", pan,0,0,600,800, pan,0,25000,600,800)
i get freaky results. the length is incorrect, seems to be set at 1501 frames, no mater what. and the motion is very blurry.
shoopdabloop
18th June 2009, 03:17
i've never used animation in avisynth, but maybe you can try KenBurnsEffect?
http://forum.doom9.org/showthread.php?t=135776
yair
18th June 2009, 06:16
i'll try that, cool name for an effect :)
btw. if interested in technology and patents watch his empire of the air (http://www.imdb.com/title/tt0238199/)
Gavino
18th June 2009, 09:31
i get freaky results. the length is incorrect, seems to be set at 1501 frames, no mater what. and the motion is very blurry.
The length is 1501 as that is the default from CoronaSequence. Use the 'stop' parameter to change it.
KenBurnsEffect will do what you want, but the way to do pans with Animate is not to use Crop. Instead animate a resizer with the parameters src_left, etc. This gives smoother motion because the parameters are floats that give sub-pixel precision to the movement on each frame.
yair
18th June 2009, 10:34
*slap ones head*
thanks
length=100
pan=CoronaSequence("demo.jpg",stop=length)
Animate(0,length,"BicubicResize", pan,600,800,0.33,0.33,0,0,600,800, pan,600,800,0.33,0.33,0,24200,600,800)
#BicubicResize (clip, int target_width, int target_height, float "b", float "c", float "src_left", float "src_top", float "src_width", float "src_height")
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.