reduce velocity at a half in a point
hi,
Hello, thanks for the editing examples with python.
I have a question if you can help me I would like to have a clip how can I post-produce a slow down in one time of the clip. In other words, the clip goes in real time until it reaches a point and goes to 50% speed (retime) for x seconds with a smooth transition between speeds (spline curve, flat vecier).
For example, when you have a clip shooting a basket, tell it that in the second 25 it is the slowdown point that lasts for 4 seconds and then continues with normal speed.
that works but with a sin and I don't have control of it
clip2.fl_time( lambda t: t+0.5+ abs(math.sin(t))*0.5)
I've tried to make a function to be able to see but I can't.
def tiempo(t):
print (t)
t=t+1
#lambda t: t+0.5+ abs(math.sin(t))*0.5
return t
clip2 = clip2.fl_time( tiempo(t) ).set_duration(20)
If you dont mind help me. reggards