[FFmpeg-trac] #3801(undetermined:open): SWSCALE: Incorrect Values (+-1) in Full Range Conversion RGB to YCbCr

FFmpeg trac at avcodec.org
Sat May 15 10:42:01 EEST 2021


#3801: SWSCALE: Incorrect Values (+-1) in Full Range Conversion RGB to YCbCr
-------------------------------------+-------------------------------------
             Reporter:  troy_s       |                    Owner:  (none)
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:  range        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Balling):

 This are all good on modern ffmpeg even without any magic whatsover. I
 would say that

 a) mpv says there is out-of-gamut stuff even though there should be none

 b) decoder in ffmpeg is pretty bad, but encoeder is perfect, all issues in
 comment above this are fixed


 {{{
 ffmpeg -y -t 4 -loop 1 -i ARIB_STD-B28.png -vf
 scale=out_color_matrix=bt709:out_range=pc  -color_range 2
 -color_primaries bt709 -color_trc iec61966_2_1  -colorspace bt709  8.mp4

 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/3801#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list