[FFmpeg-devel] [PATCH] libavfilter-soc: extend vf_scale.c to make it support colorspace details setting
Stefano Sabatini
stefano.sabatini-lala
Thu Apr 16 00:29:13 CEST 2009
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 print a warning in this case).
>
> BTW I get red chroma shifting when using format=argb.
Patch updated with some cleanups and chv/cvs support added.
Regards.
--
FFmpeg = Faithless and Faithless Mind-dumbing Perennial Eager Governor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scale-support-bcs.patch
Type: text/x-diff
Size: 4340 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090416/bd719850/attachment.patch>
More information about the ffmpeg-devel
mailing list