https://ffmpeg.org/ffmpeg-filters.html#colorkey
This was introduced in 2.8 and does the same thing as chromakey, except in RGB rather than YUV.