EffectDistorter
The image is distorted. This is differently formulated than
EffectDistort.
and has a more pleasing effect.Some artifacts mentioned to occur in EffectDistort
are not present in this function. The frequency, speed of variation,
amplitude, distortion area center and its dimensions can be selected and
also varied linearly. The freq, amplitude and speed parameters though
operate differently, the final effect may overlap.The area of distortion
can be thought of as a pool of water, the surface of which is agitated.
RGB32, RGB24, YUY2 and YV12 formats 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 |
frequency at start |
freq |
integer |
1 to 250 |
40 |
speed of movement at start |
speed |
float |
between 0 and 100 |
5 |
x coordinate of distorted area at start |
xcoord |
integer |
within frame |
mid frame |
y coordinate of distorted area at start |
ycoord |
integer |
within frame |
mid frame |
width along x axis of distorted area at start |
width |
integer |
distorted area must be in frame |
frame width |
height along y axis of distorted area at start |
height |
integer |
distorted area must be in frame |
frame height |
x coordinate of distorted area at end |
ex |
integer |
within frame |
xcoord |
y coordinate of distorted area at end |
ey |
integer |
within frame |
ycoord |
width along x axis of distorted area at end |
ewidth |
integer |
distorted area must be in frame |
width |
height along y axis of distorted area at end |
eheight |
integer |
distorted area must be in frame |
height |
frequency at end |
efreq |
integer |
1 to 250 |
freq |
speed at end |
espeed |
float |
between 0 and 100 |
speed |
amplitude at start |
amp |
integer |
1 to 8 |
4 |
amplitude at end |
eamp |
integer |
1 to 8 |
amp |
#Usage examples:-
EffectDistorter(last,50, 150)
EffectDistorter (last,50, 150, freq=20)
EffectDistorter (last,50, 150,espeed=10)
EffectDistorter (last,50, 150,amp=1, eamp=8)
Image with effect :