I am looking to play a video with an overlay image. Though with the help of ffmpeg I was able to make a new video with the overlay image.
Reference here.
But is there any other way without converting the video before playing it, and playing the video separately and overlaying the image on top of it.
11 Answer
You can use mpv. This example will overlay video.mp4 as the background and image.png as the foreground. image.png will be placed in the lower right with a 10px padding.
mpv --lavfi-complex="[vid1][vid2]overlay=W-w-10:H-h-10[vo]" video.mp4 --external-file=image.pngSee the overlay filter and mpv documentation for more info.