[FFmpeg-trac] #4978(swscale:closed): Color range is wrong in media players, correct in PNG output
FFmpeg
trac at avcodec.org
Sun Nov 1 17:08:35 CET 2015
#4978: Color range is wrong in media players, correct in PNG output
-------------------------------------+-----------------------------------
Reporter: Sesse | Owner:
Type: defect | Status: closed
Priority: normal | Component: swscale
Version: unspecified | Resolution: wontfix
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-----------------------------------
Comment (by gjdfgh):
Yes, you should. As long as the libavcodec output is correct (check with
ffprobe -show_frames or so), it's up to the player to handle this
correctly.
>And what would usual color ranges or matrices be for 720p, if not Rec.
709?
I read this wrong; limited range is of course not unusual for ycbcr. But
MPlayer does as far as I remember only output bt.601 (except with vdpau,
where it uses the video resolution to guess bt.601 vs. bt.709). Xv also is
fixed to bt.601, unless you use unofficial vendor-specific extensions.
libswscale can do the conversion somewhat correctly, but only if you tell
it so (which is why it works with ffmpeg CLI, but not with MPlayer -vo
x11).
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4978#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list