[FFmpeg-trac] #1851(swscale:reopened): libswscale does incorrect range conversion for RGB->YUV and RGB->RGB

FFmpeg trac at avcodec.org
Sat Feb 19 18:16:14 EET 2022


#1851: libswscale does incorrect range conversion for RGB->YUV and RGB->RGB
------------------------------------+------------------------------------
             Reporter:  gjdfgh      |                    Owner:  (none)
                 Type:  defect      |                   Status:  reopened
             Priority:  important   |                Component:  swscale
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Comment (by Balling):

 We need to start by either removing the deprecation of yuvj**** formats or
 by removing them alltogether (there is patchset from Paul). I vote for the
 first one. It is a joke that even opening JPEG (since jpeg does not
 support new method with setting range not by pixel_format, also see a
 funny bug in mpv) causes a warning for every tile or whatever! It is nuts!
 Warnings obviously make it slower out of nothing.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/1851#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list