I need to put a video in front of the image (or add a background image to the video)

I found this command:

ffmpeg -i input.mp4 -i image.png \
-filter_complex "[0:v][1:v] overlay=25:25:enable='between(t,0,20)'" \
-pix_fmt yuv420p -c:a copy \

but it places the image in front of the image and I want vice versa, image should be on the background and the video should be on the bottom right corner (1/4)

please help me if you know anything


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.