[FFmpeg-trac] #3785(swscale:closed): SWSCALE: in_range, in_color_matrix, out_range, out_color_matrix incorrect
FFmpeg
trac at avcodec.org
Sat Apr 24 09:38:02 EEST 2021
#3785: SWSCALE: in_range, in_color_matrix, out_range, out_color_matrix incorrect
------------------------------------+-----------------------------------
Reporter: troy_s | Owner: (none)
Type: defect | Status: closed
Priority: normal | Component: swscale
Version: git-master | Resolution: invalid
Keywords: range | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Comment (by Balling):
Replying to [comment:29 pdr0]:
Right! Added format=gbrp and the color is now 238, 77, 44 as -vf
scale=in_range=full:in_color_matrix=bt601 for that test sample 2.mp4!
>You can make a case for not autoadjusting the rgb conversion
But not with defaulting ST240M matrix to BT.601.
https://github.com/FFmpeg/FFmpeg/blob/573f05a7533cd9aed3ed895b4fa4ad8fcba4e56a/fftools/ffplay.c#L968
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3785#comment:30>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list