0
votes

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()
)
I even used ", **{'loop':None}" which throws this error: "Filter overlay has an unconnected output"kup