Chroma Key replace green color part with another image using FFMPEG

1.3k Views Asked by At

Chroma Key Image

I want to replace green color of the above chromekey image with another image. The image should only replace with the green color not overlay entire image.

I am using following sample command below but it overlay the entire image not only the green color.

-y -i /storage/emulated/0/dummyResized.jpg -i /storage/emulated/0/circularImage.png -filter_complex [1:v]colorkey=green:0.3:0.2[ckout];[0:v][ckout]overlay[out] -map [out] /storage/emulated/0/outputBlackCircular.jpg

0

There are 0 best solutions below