[FFmpeg-trac] #979(swscale:open): Unexpected Color Conversion (bgr->yuv vs rgb->yuv)

FFmpeg trac at avcodec.org
Wed Sep 11 03:30:23 EEST 2019

#979: Unexpected Color Conversion (bgr->yuv vs rgb->yuv)
             Reporter:  natt        |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  swscale
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |

Comment (by fireattack):

 So I assume pix_fmt routine is part of swscale?

 The same problem doesn't seem to happen if format conversion is done in
 {{{colorspace}} using

 {{{ffmpeg -i reference.pnm -vf
 colorspace=iall=bt601-6-625:all=bt709:format=yuv420p -f crc - -vf
 format=bgr24,colorspace=iall=bt601-6-625:all=bt709:format=yuv420p -f crc

Ticket URL: <https://trac.ffmpeg.org/ticket/979#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list