user11510: How to Adding video into the picture with ffmpeg?
example:

user1760: 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


11510: <p>How to Adding video into the picture with ffmpeg?</p>

<p>example:<a href="https://i.stack.imgur.com/eddHu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eddHu.png" alt="enter image description here"></a></p>
 1760: <p>Use the <a href="https://ffmpeg.org/ffmpeg-filters.html#overlay" rel="nofollow noreferrer"><code>overlay</code> filter</a>:</p>

<p><a href="https://i.stack.imgur.com/GPIrk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GPIrk.png" alt="enter image description here"></a></p>

<pre><code>ffmpeg -loop 1 -i image.jpg -i overlay.mp4 -filter_complex \
"overlay=main_w-overlay_w:main_h-overlay_h:shortest=1" output.mp4
</code></pre>
