I want to play an overlay video in infinite loop until the video ends. I have tried the below command but this doesn't seem to work:
video = video.overlay(overlay_file, x=0, y=0, eof_action='repeat')
(
ffmpeg
.output(video, "out.mkv")
.run()
)