[FFmpeg-devel] [PATCH] libavfilter-soc: extend vf_scale.c to make it support colorspace details setting
Stefano Sabatini
stefano.sabatini-lala
Wed Apr 15 22:56:27 CEST 2009
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.
Enjoy!
--
FFmpeg = Frenzy and Fostering Miracolous Problematic Educated Guru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scale-support-bcs.patch
Type: text/x-diff
Size: 4155 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090415/7a6fcd84/attachment.patch>
More information about the ffmpeg-devel
mailing list