[FFmpeg-user] Separately processing color channels via separate files

Martin Cracauer cracauer at cons.org
Thu Jan 2 18:06:34 CET 2014

I wonder whether this will work:

Can I separate out color channels into different video files,
manipulate them (e.g. different saturation for each channel) and then
mix them back together.

Something along these lines, getting two files for red and cyan:
ffmpeg -i source.mkv -vf colorbalance=rs=-1:rm=-1:rh=-1 cyan.mkv
[analog for green and blue = -1] red.mkv

Then mix it back in:
ffmpeg -i cyan.mmkv -vf 'movie=red.mkv [somemagic] overlay=0:0 [out]' final.mkv

Before I go down this route, is there anything that makes this doomed
to fail?

Is there a better method to kill individual color channels than -vf

Is there any hope to maybe do the separation without re-encoding? Can
I just kill a channel without reencoding?

Martin Cracauer <cracauer at cons.org>   http://www.cons.org/cracauer/

More information about the ffmpeg-user mailing list