I use this command to remove the green screen and overlay another video as background. However, green screen removal leaves green pixels all around a stick figure carton character. My video is a cartoon so there are no lighting issues. Is there a way to improve this behavior?
ffmpeg -y -i looped.mp4 -i green.mp4 -filter_complex "amix;[1:v]chromakey=0x00FF00:0.18:0.01 [ckout];[0:v][ckout]overlay=eof_action=pass[out]" -map [out] output.mp4
1