[FFmpeg-trac] #7978(undetermined:reopened): inaccurate conversion from YCbCr Narrow range to RGB Full range
FFmpeg
trac at avcodec.org
Thu Apr 27 04:39:37 EEST 2023
#7978: inaccurate conversion from YCbCr Narrow range to RGB Full range
-------------------------------------+-------------------------------------
Reporter: cepesh | Owner: (none)
Type: defect | Status: reopened
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Pierre-Anthony Lemieux):
Possibly related.
(1) create 16-bit PNG filled with peak white
`convert -size 3840x2160 xc:white png48:white.png`
(2) convert to YUV 10-bit
`ffmpeg -i white.png -pix_fmt yuv444p10 -f rawvideo white.yuv`
The resulting Y code values are equal to 943. They should be equal to 940
= (219 * 1 + 16) * 4.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7978#comment:12>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list