I am taking video of rowers on a river and stabilise the video afterwards using ffmpeg. Similar to Video compression- how to prioritize one area over another? I'd like to optimise the compression. The river is lined by trees with many fine details that are not important but difficult to compress. I now have the idea to blur green parts of the image slightly in the hope to help compression rate. When I once took a video in the fog this happened naturally and this gave me the idea. So: is it possible in ffmpeg to blur images based on colour?