[FFmpeg-devel] [PATCH] libavfilter-soc: extend vf_scale.c to make it support colorspace details setting

Vitor Sessak vitor1001
Sat Apr 18 18:03:13 CEST 2009

Stefano Sabatini wrote:
> On date Thursday 2009-04-16 00:29:13 +0200, Stefano Sabatini encoded:
>> On date Wednesday 2009-04-15 22:56:27 +0200, Stefano Sabatini encoded:
>>> Hi, as in subject,
>>> maybe the patch should be split, also chroma horizontal shifting and
>>> chroma vertical shifting support should be added.
>>> Try it with:
>>> ffplay in.avi -vfilters  "scale=0:0:sws_flags\=+print_info:lgb\=3.0:cgb\=3.0:brightness\=-20, format=rgb32"
>>> Note that the format=rgb32 or equivalent is required to make the
>>> destination format of the filter supported by
>>> sws_get/setColorspaceDetails(), or no filtering will be done (the
>>> filter still prints a warning in this case).
>>> BTW I get red chroma shifting when using format=argb.
>> Patch updated with some cleanups and chs/cvs support added.

Sorry for the delay. Patch looks fine for me, but I think vf_scale is 
getting more and more complex and could use some documentation in 


More information about the ffmpeg-devel mailing list