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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th June 2009, 02:36   #1  |  Link
yair
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)
i get freaky results. the length is incorrect, seems to be set at 1501 frames, no mater what. and the motion is very blurry.
yair is offline   Reply With Quote
Old 18th June 2009, 03:17   #2  |  Link
shoopdabloop
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
shoopdabloop is offline   Reply With Quote
Old 18th June 2009, 06:16   #3  |  Link
yair
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
yair is offline   Reply With Quote
Old 18th June 2009, 09:31   #4  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
Quote:
Originally Posted by yair View Post
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.
Gavino is offline   Reply With Quote
Old 18th June 2009, 10:34   #5  |  Link
yair
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")
yair is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:10.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.