EffectBinoculars
The EffectBinoculars function creates twin magnified circular
windows touching each other and can be panned. The radius of viewing disc,
co-ordinates of the center point of the line joining the disc centers
(and final co-ordinates) are to be given. If final co-ordinates are omitted,
the view remains stationary at initial co-ordinates. The end magnification
can also be specified. It can give a zoom effect if properly used.
The co-ordinates must be specified within limits that ensure both the discs are
inside frame.
RGB32, RGB24 and YV12 formats only are supported
Details of parameters
Description |
Name |
Type |
Limits |
Default |
clip |
|
clip |
|
none |
Effect start frame number |
sf |
Integer |
within clip |
first frame |
Effect end frame number |
ef |
Integer |
within clip |
last frame |
Effect end frame number |
|
Integer |
within clip |
none |
Radius of view circles |
radius |
integer |
8 or more |
1/8th smaller frame dimension |
magnification at start |
magx |
integer |
minimum 2, not more than 1/4 of radius |
4 |
x coordinate at start |
sx |
integer |
diameter to width - diameter |
mid frame |
y coordinate at start |
sy |
integer |
radius to height - radius |
mid frame |
x coordinate at end |
ex |
integer |
diameter to width - diameter |
sx |
y coordinate at end |
ey |
integer |
radius to height - radius |
sy |
magnification at end |
emagx |
integer |
minimum 2, not more than 1/4 of radius |
magx |
#Usage examples:-
EffectBinoculars(last,51,100,radius=60,magx=4,sx=60,sy=60,ex=600,ey=400)
EffectBinoculars(last,51,100,radius=60,magx=2,sx=200,sy=300, emagx=8)
Image with effect :