Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
18th June 2009, 02:36 | #1 | Link |
Registered User
Join Date: Oct 2004
Posts: 36
|
panning probelms -Animate usage
i have a 800x25000 jpeg, i want to slwoly pan it from top to bootm. when i try this
Code:
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) |
18th June 2009, 03:17 | #2 | Link |
Registered User
Join Date: Mar 2009
Posts: 166
|
i've never used animation in avisynth, but maybe you can try KenBurnsEffect?
http://forum.doom9.org/showthread.php?t=135776 |
18th June 2009, 06:16 | #3 | Link |
Registered User
Join Date: Oct 2004
Posts: 36
|
i'll try that, cool name for an effect
btw. if interested in technology and patents watch his empire of the air |
18th June 2009, 09:31 | #4 | Link | |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
Quote:
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. |
|
18th June 2009, 10:34 | #5 | Link |
Registered User
Join Date: Oct 2004
Posts: 36
|
*slap ones head*
thanks Code:
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") |
Thread Tools | Search this Thread |
Display Modes | |
|
|