ffmpeg-python
ffmpeg-python copied to clipboard
overlay video on video in time interval
hi, how do i overlay a video on another video in a time interval? i have this code now:
video_overlay = ffmpeg.input("overlay.mp4")
stream = stream.overlay(
video_overlay,
enable=f"between=(t, {start}, {end})",
x=0,
y=0,
eof_action="repeat"
)
but this seems to only display the last frame of the video in the time interval