[FFmpeg-devel] [PATCH] Take colorspace into account when scaling in ffmpeg

David Conrad lessen42
Fri Feb 5 18:09:16 CET 2010

On Jan 25, 2010, at 7:19 AM, Michael Niedermayer wrote:

> On Wed, Jan 20, 2010 at 06:32:25AM -0500, David Conrad wrote:
>> Hi,
>> This takes source colorspace into account in ffmpeg.c. It obviously doesn't do anything unless doing a yuv->rgb conversion.
>> commit 53d6a0c2318da47ed2114eb2e14f8308b457b776
>> Author: David Conrad <lessen42 at gmail.com>
>> Date:   Wed Jan 20 06:18:19 2010 -0500
>>    Take into account colorspace and color_range for swscale conversion
> ok if a concatenated jpeg->mpeg->jpeg style has been tested
> also maybe you want to look at libavfilter that likely also needs to be
> updated

This doesn't work because sws_getColorspaceDetails doesn't work if the destination is a yuv format, would it be OK to allow it for all formats even if not everything is supported?

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: textmate stdin nkm5gZ.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100205/9ffa15d7/attachment.txt>

More information about the ffmpeg-devel mailing list