<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.sstatic.net/GPIrk.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/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>

CC BY-SA 3.0
2015-08-28T01:41:40.683Z
@RannielBirao You can [accept the answer](http://meta.stackexchange.com/a/5235) if it works for you.
llogan
CC BY-SA 3.0
2015-08-27T17:18:21.497Z
2015-08-27T17:18:21.497Z
llogan
<p>How to Adding video into the picture with ffmpeg?</p>

<p>example:<a href="https://i.sstatic.net/eddHu.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/eddHu.png" alt="enter image description here"></a></p>

<video><video-editor><ffmpeg><windows>
Adding video into the picture with ffmpeg?
Ranniel Birao
# Adding video into the picture with ffmpeg?

(Asked by: username_0 on 2015-08-26)

How to Adding video into the picture with ffmpeg?

example:[![enter image description here](https://i.sstatic.net/eddHu.png)](https://i.sstatic.net/eddHu.png)

**Tags:** video, video-editor, ffmpeg, windows


---

## 1 answers

### Answer by username_1 on 2015-08-27. Score: 1 | Accepted 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

> **Comments:**
> **username_1**: @RannielBirao You can [accept the answer](http://meta.stackexchange.com/a/5235) if it works for you.  

---

