#10839: incorrect YCoCg to RGB conversion in swscale
---------------------------------------+-----------------------------------
Reporter: Connor Worley | Owner: (none)
Type: defect | Status: closed
Priority: wish | Component: swscale
Version: unspecified | Resolution: wontfix
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------------+-----------------------------------
Changes (by Balling):
* status: new => closed
* resolution: => wontfix
Comment:
?YCbCr matrix is selected for AVCOL_SPC_YCOCG, and incorrect color is
produced.
We do not support YCoCg. Use mpv instead.
>A more accurate term for how color is stored in digital video would be
YCbCr.
Not that simple. YUV refers to pixel format used that is called
AV_PIX_FMT_YUV*. The correct name is indeed AV_PIX_FMT_YUV*, not
AV_PIX_FMT_YCBCR*. On the other hand the matrices used here
https://github.com/FFmpeg/FFmpeg/blob/fa469545ba0782a9245474ecca873aa8984f506e/libavutil/pixfmt.h#L608
are indeed YCbCr, we do not support BT.407 analog TV's YUV.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10839#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".