[FFmpeg-user] Saturation adjustment only in some channels

Martin Cracauer cracauer at cons.org
Thu Jan 2 20:51:58 CET 2014

Pavel Koshevoy wrote on Thu, Jan 02, 2014 at 10:27:29AM -0700: 
> On 1/2/2014 9:56 AM, Martin Cracauer wrote:
> > Cl??ment B??sch wrote on Thu, Jan 02, 2014 at 09:29:55AM +0100:
> >>
> >> See the curves filter: http://ffmpeg.org/ffmpeg-filters.html#curves-1
> > Thanks.  I think this will fix my problem that lifting the mids blew
> > out the highs.
> >
> > Any ideas about per-channel saturation?
> >
> > Martin
> Have you considered using a 3D lookup table filter instead?
> http://www.ffmpeg.org/ffmpeg-filters.html#lut3d-1
> Of course the trouble with 3D LUT is in generating the color cube for 
> the color transformation you need.  There are online generators but I 
> haven't found one that's generic enough (here is one I've found -- 
> http://www.arri.com/camera/digital_cameras/tools/lut_generator/lut_generator/)

Yeah.  What would be most useful is if I could generate a picture that
has one pixel of each color in it.

Then I mess with it in any graphics program I want (in my case GIMP)
and save the new one.  I reuse color curves and other color setting
from when I was manipulating the actual image and manipulate the test
image blind.

Now I could generate the cube by diffing the two images.

BTW, can I feed the color curves with a saved GIMP curve somehow?
ffmpeg has photoshop curves, not sure how I can convert gimp to ps.

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

More information about the ffmpeg-user mailing list