[FFmpeg-user] Saturation adjustment only in some channels

Clément Bœsch u at pkh.me
Sat Jan 4 09:27:06 CET 2014


On Thu, Jan 02, 2014 at 02:51:58PM -0500, Martin Cracauer wrote:
> 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?

Not currently. Last I look it was a pain to parse, and most people are
sharing photoshop curves anyway so I added support for those instead.
Patch welcome I'd say.

> ffmpeg has photoshop curves, not sure how I can convert gimp to ps.
> 
> Martin

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20140104/b227ffed/attachment.asc>


More information about the ffmpeg-user mailing list