Jan-21-2023, 12:43 AM
https://zulko.github.io/moviepy/ref/Vide...ip.fl_time Wrote:fl_time(self, t_func, apply_to=None, keep_duration=False)The method
Returns a Clip instance playing the content of the current clip but with a modified timeline, time t being replaced by another time t_func(t).
Parameters
t_func:
A function t-> new_t
fl_time
of VideoFileClip
states that the parameter it receives is a function.your line
clip2 = clip2.fl_time( tiempo(tiem,tiempo_ralentizado,lugar_ralentizado,Framerate,arco_ralen) ).set_duration(40)is passing the result of a function, not an actual function itself.