Log in

View Full Version : Rotating (spinning) a video 360 degree


lzdmz
26th January 2012, 10:09
Hi

How do you keep rotating a video for 360 degree

I know there's rotate function/plugins
But how do you make it animated ?

It's probably a few lines of codes
but I'm too dumb to program this....

anybody knows how to do it ?

thanks a million !!

Gavino
26th January 2012, 11:02
Fizick's Rotate (http://avisynth.org.ru/rotate/rotate.html) plugin has the parameters angle and endangle, which provide an animated rotation, eg angle=0, endangle=360.

lzdmz
26th January 2012, 11:45
Fizick's Rotate (http://avisynth.org.ru/rotate/rotate.html) plugin has the parameters angle and endangle, which provide an animated rotation, eg angle=0, endangle=360.

thank you very much
i'll try it right now..

IanB
27th January 2012, 00:00
For filters that do not self animate a general solution could be to use the Animate() (http://avisynth.org/mediawiki/Animate) function.

E.g. Fandangle the image twice over frames 100 to 600...

Function Foo(Clip C, Float Arg) {
Return C.Fandagle((Round(Arg * 100.0) % 36000)/100.0)
}

Animate(100, 600, "Foo", 0.0, 720.0)