Trying a simple overlay example, getting nasty black fringes:
fmpeg -y -i b.png -i a.png -filter_complex "[0:v]format=rgba[a];
[1:v]format=rgba[b];
[a][b]overlay,format=rgba" normal.png
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 communityDefault pixel format for overlay filter is yuv420p. Use the format
option in overlay to set it as auto
or rgb
.
ffmpeg -y -i b.png -i a.png -filter_complex "[0:v]format=rgba[a]; [1:v]format=rgba[b]; [a][b]overlay=format=auto" normal.png
-v verbose
added and capture log. Share full command and log there..ffmpeg -y -i b.png -i a.png -filter_complex "[0:v]format=rgba[a]; [1:v]format=rgba[b]; [a][b]overlay=format=auto" normal.png