EffectFire
EffectFire function creates a raging fire on the image. The x and y
coordinates, width and height of fire area can be specified and varied
linearly during effect duration.(possibly useful if a fire was to be
introduced in a fireplace.).
RGB32, RGB24, YUY2 and YV12 formats only are supported
Details of parameters
Description |
Name |
Type |
Limits |
Default |
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 |
Is style of fire steady? |
style |
boolean |
true for steady and false for stoked |
true |
start x coordinate of source center |
xcoord |
integer |
in frame |
mid frame width |
start y coordinate of bottom of source |
ycoord |
integer |
in frame |
bottom of frame |
start width of fire |
width |
integer |
fire must be in frame |
frame width |
start height of fire area |
height |
integer |
fire to be in frame |
mid frame |
end x coordinate of source center |
ex |
integer |
in frame |
xcoord |
end y coordinate of bottom of source |
ey |
integer |
in frame |
ycoord |
end width of fire |
ewidth |
integer |
fire must be in frame |
width |
end height of fire area |
eheight |
integer |
fire to be in frame |
height |
#Usage examples:-
EffectFire(last,51,158, false,360,225,80, 60,600,340,60,40)
EffectFire(last,51,158)