[FFmpeg-trac] #225(swscale:open): Converting from YUVJ to YUV lose contrast

FFmpeg trac at avcodec.org
Mon Mar 4 11:55:11 CET 2013

#225: Converting from YUVJ to YUV lose contrast
             Reporter:  sghpunk      |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  swscale
              Version:  git-master   |               Resolution:
             Keywords:  YUV/YUVJ     |               Blocked By:
  contrast                           |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |

Comment (by heleppkes):

 Some short facts on the topic:

 - 99.9% of all content is encoded as 16-235
 - TVs (and other consumer electronic devices) usually operate in 16-235
 - PC monitors use 0-255

 So knowing this, you need to expand the 16-235 to 0-255 when watching
 video on a PC monitor (or a TV configured for 0-255).
 Many PC video players are capable of this, they just need to be told if
 you watch content on a PC monitor or a TV.

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/225#comment:12>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list