def make_loopable(clip, cross):
 d = clip.duration
 clip2 = clip.fx(transfx.crossfadein, cross).set_start((d - cross))
 return CompositeVideoClip([clip, clip2]).subclip(cross, d)

def make_loopable ( clip , cross ) : d = clip . duration clip2 = clip . fx ( transfx . crossfadein , cross ) . set_start ( ( d - cross ) ) return CompositeVideoClip ( [ clip , clip2 ] ) . subclip ( cross , d )
makes the clip fade in progressively at its own end .