How to Adding video into the picture with ffmpeg?
1 Answer
Use the overlay
filter:
ffmpeg -loop 1 -i image.jpg -i overlay.mp4 -filter_complex \
"overlay=main_w-overlay_w:main_h-overlay_h:shortest=1" output.mp4
Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It only takes a minute to sign up.
Sign up to join this communityUse the overlay
filter:
ffmpeg -loop 1 -i image.jpg -i overlay.mp4 -filter_complex \
"overlay=main_w-overlay_w:main_h-overlay_h:shortest=1" output.mp4