SDL2 / ffplay cannot do linear transfer/not BT.709 matrix for 4:4:4
|Reported by:||airbete||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
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 .
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.
ps: My version of ffmpeg is ffmpeg-4.2.4-1.fc32.x86_64.rpm
Change History (20)
comment:3 by , 23 months ago
|Component:||undetermined → ffplay|
|Status:||new → closed|
|Version:||unspecified → git-master|
comment:7 by , 15 months ago
|Status:||closed → reopened|
comment:14 by , 6 months ago
|Summary:||Wrong color space selected → SDL2 / ffplay cannot do full range/linear transfer/not BT.709 matrix for 4:4:4|
comment:16 by , 5 months ago
|Summary:||SDL2 / ffplay cannot do full range/linear transfer/not BT.709 matrix for 4:4:4 → SDL2 / ffplay cannot do linear transfer/not BT.709 matrix for 4:4:4|