[FFmpeg-trac] #2684(swscale:new): Black becomes dark gray when converting rgb24 to gray
FFmpeg
trac at avcodec.org
Tue Jun 18 16:26:24 CEST 2013
#2684: Black becomes dark gray when converting rgb24 to gray
------------------------------------+-----------------------------------
Reporter: b_jonas | Owner:
Type: defect | Status: new
Priority: normal | Component: swscale
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Comment (by b_jonas):
Further experiments reveal that the output of the rgb24 to gray conversion
seems similar to the Y plane of the yuv444p pixel format (as opposed to
the yuvj444p pixel format). This makes repeated roundtrip conversions
from gray to rgb24 to gray very inconsistent: doing the roundtrip four
times reduces the contrast of the grayscale image by over 40%.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2684#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list