0

According this I try to put two pictures on video

ffmpeg -i video.mp4 -i photo01.jpg -i photo02.jpg  -filter_complex "[0:v][1:v] overlay=25:25:enable='between(t,10,20)';[0:v][2:v] overlay=25:25:enable='between(t,25,35)'" -pix_fmt yuv420p -c:a copy output.mp4

no errors, but it shows only the first image, and the second is not show up.

1 Answer 1

0

So i find solution, making a chain

ffmpeg -i video.mp4 -i image.png -i image2.png  -filter_complex "[0:v][1:v] overlay=25:25:enable='between(t,1,10)'[1];[1][2:v] overlay=25:25:enable='between(t,15,25)'" -pix_fmt yuv420p -c:a copy output.mp4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.