[FFmpeg-trac] #9936(ffplay:closed): Wrong color in FFplay

FFmpeg trac at avcodec.org
Fri Sep 23 00:23:41 EEST 2022

#9936: Wrong color in FFplay
             Reporter:  Michael      |                    Owner:  (none)
  Koch                               |
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  ffplay
              Version:  git-master   |               Resolution:  duplicate
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
Changes (by Balling):

 * status:  new => closed
 * resolution:   => duplicate


 This is duplicate of #8862: "not BT.709 matrix" cannot be ffplayed without

 ffplay out1.mp4 -vf scale=in_color_matrix=auto,format=gbrp, color now is

 Next 0x20c010 is 32, 192, 16, so G is different. Why? Cause you do not
 know what are you doing, but default the out color matrix from RGB is
 always BT.601 and thus you made two mistakes in one simple command, now
 also removing deprecated vcodec:

 ffmpeg -f lavfi -i color=0x20c010:s=400x576 -vf
 scale=out_color_matrix=bt709:out_range=pc -pix_fmt yuv420p -colorspace
 bt709 -color_trc bt709 -color_primaries bt709 -color_range pc -crf 0 -c:v
 libx264 -t 5 out1daws1.mp4
Ticket URL: <https://trac.ffmpeg.org/ticket/9936#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list