[FFmpeg-trac] #10839(swscale:reopened): incorrect YCoCg to RGB conversion in swscale
FFmpeg
trac at avcodec.org
Mon Feb 5 15:01:30 EET 2024
#10839: incorrect YCoCg to RGB conversion in swscale
-------------------------------------+-------------------------------------
Reporter: Connor | Owner: (none)
Worley |
Type: defect | Status: reopened
Priority: wish | Component: swscale
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by haasn):
The change is in this scenario:
$ ./ffplay -v verbose -vf format=color_spaces=bt709 dice_ycg6.mov
[ffplay_buffer @ 0x7f1458003200] w:800 h:600 pixfmt:yuv420p tb:1/15360
fr:30/1 sar:0/1 csp:ycgco range:unknown
[auto_scale_0 @ 0x7f1458004dc0] w:iw h:ih flags:'' interl:0
[Parsed_format_0 @ 0x7f1458003c80] auto-inserting filter 'auto_scale_0'
between the filter 'ffplay_buffer' and the filter 'Parsed_format_0'
Impossible to convert between the formats supported by the filter
'ffplay_buffer' and the filter 'auto_scale_0'
It now correctly errors out.
Or:
$ ./ffplay -v verbose -vf format=rgb24 dice_ycg6.mov
[Parsed_format_0 @ 0x7f3288003c00] auto-inserting filter 'auto_scale_0'
between the filter 'ffplay_buffer' and the filter 'Parsed_format_0'
Impossible to convert between the formats supported by the filter
'ffplay_buffer' and the filter 'auto_scale_0'
I will submit a patch for the second point, which would just require
making ffplay request only formats it actually supports.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10839#comment:17>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list