<p>Trying to debug blending images over video led to this observation: </p>

<pre><code>ffmpeg -i https://lh3.googleusercontent.com/vt1VzlKCpjJjxRGBd3oAVgOHau22m2257fDBaW3KfHsNbhOcw1--OY7oISUM93Zp0SjwCSdlHP5PXXbFHdaflxTJAJ_B32MSrUH4AerS_0u6gv3X -i https://lh3.googleusercontent.com/MMzUU7GklKAqtdcGN4k2UVF22Wc2l35A2NDEeB4GhgM7eU06nKSQgitHAoWttj605G1yjoOEODt-dMKNPoWUdCmtFxe-u-qH5H228E9DxpoZsZk -filter_complex "[0:v] format=rgba [bg]; [1:v] format=rgba [fg]; [bg][fg] blend=all_mode='overlay':all_opacity=1, format=rgba"  out.png
</code></pre>

<p>results in (with odd fringes): 
<a href="https://i.sstatic.net/IOEv4.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/IOEv4.png" alt="enter image description here"></a></p>

<p>desired image is:</p>

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

<ffmpeg><filter>
blend filter and color
quasor
# blend filter and color

(Asked by: username_0 on 2020-03-05)

Trying to debug blending images over video led to this observation: 
ffmpeg -i https://lh3.googleusercontent.com/vt1VzlKCpjJjxRGBd3oAVgOHau22m2257fDBaW3KfHsNbhOcw1--OY7oISUM93Zp0SjwCSdlHP5PXXbFHdaflxTJAJ_B32MSrUH4AerS_0u6gv3X -i https://lh3.googleusercontent.com/MMzUU7GklKAqtdcGN4k2UVF22Wc2l35A2NDEeB4GhgM7eU06nKSQgitHAoWttj605G1yjoOEODt-dMKNPoWUdCmtFxe-u-qH5H228E9DxpoZsZk -filter_complex "[0:v] format=rgba [bg]; [1:v] format=rgba [fg]; [bg][fg] blend=all_mode='overlay':all_opacity=1, format=rgba"  out.png

results in (with odd fringes): 

desired image is:

**Tags:** ffmpeg, filter


---

## 0 answers

