[FFmpeg-trac] #8862(undetermined:new): Wrong color space selected

FFmpeg trac at avcodec.org
Sat Aug 22 22:16:19 EEST 2020

#8862: Wrong color space selected
             Reporter:  airbete       |                     Type:  defect
               Status:  new           |                 Priority:  normal
            Component:  undetermined  |                  Version:  4.2
             Keywords:  color space   |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
 Summary of the bug + How to reproduce:

 I recorded part of my screen with vokoscreenNG ( x264 / high-4:4:4 /
 Quality 0 ) where a static png image was displayed.

 I then played the resulting mkv file (joined to this ticket) with mpv, vlc
 and ffplay and took a screenshot in each. Here is what I observed :

 Original image == mpv == vlc '''!=''' ffplay .

 This is the screenshot with mpv (identical to vlc and the original):

 And this is the screenshot with ffplay:

 Clearly ffplay doesn't select the good color space. Also, when I load the
 clip into kdenlive (which uses ffmpeg/ffplay/ffprobe), I observe the same
 wrong colors in the clip monitor, project monitor and rendering.

 Here are some additional info:

 ''ffplay / ffprobe''
 Stream #0:0(eng): Video: h264 (High 4:4:4 Predictive), yuv444p('''tv''',
 bt470bg/smpte170m/bt709, progressive), 480x300 [SAR 1:1 DAR 8:5], 30 fps,
 30 tbr, 1k tbn, 60 tbc (default)

 [vf] [in] 480x300 yuv444p bt.601/bt.601-525/bt.1886/limited/display
 SP=1.000000 CL=mpeg2/4/h264
 [vf] [out] 480x300 yuv444p bt.601/bt.601-525/bt.1886/limited/display
 SP=1.000000 CL=mpeg2/4/h264


 The color_range=tv shown by ffprobe looks very strange to me.

 Thank you

 ps: My version of ffmpeg is ffmpeg-4.2.4-1.fc32.x86_64.rpm

Ticket URL: <https://trac.ffmpeg.org/ticket/8862>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list