Opened 6 years ago

Closed 4 years ago

#4081 closed defect (fixed)

ffplay has incorrect color saturation (and/or gamma?)

Reported by: LordHDL Owned by:
Priority: normal Component: ffplay
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Summary of the bug: See title.
How to reproduce: Play a video in ffplay and compare image to other media players.

% ffmpeg -i input ... output
ffplay N-67401-gdd2f868-tessus
built on November 4, 2014

Here are some screen shots for comparison:

Change History (5)

comment:1 Changed 6 years ago by gjdfgh


xvattr -a XV_BRIGHTNESS -v 0
xvattr -a XV_CONTRAST -v 4095
xvattr -a XV_HUE -v 0
xvattr -a XV_SATURATION -v 4095

comment:2 Changed 6 years ago by cehoyos

  • Component changed from undetermined to ffplay
  • Resolution set to needs_more_info
  • Status changed from new to closed

FFplay depends on an external library that is responsible for displaying the yuv420p data that libavcodec (etc.) provides, afaict it is meant more as a testing application than a video player.

Feel free to reopen this ticket if you can add information here on the ticket on how to reproduce.

comment:3 Changed 6 years ago by LordHDL

Reproducing is a simple matter of playing a video.

ffplay Video.mp4

Please check the link I provided, there are multiple screen shots where the difference is quite noticeable between ffplay and the others.

comment:4 Changed 5 years ago by LordHDL

  • Resolution needs_more_info deleted
  • Status changed from closed to reopened

Though minor, figured I'd reopen this. More screen shots for comparison:

The image from the lossless RGB recording is noticeably paler than the source's colors. VLC exhibits the correct colors. You can verify this by using OS X's built-in "Digital Color Meter."

comment:5 Changed 4 years ago by LordHDL

  • Resolution set to fixed
  • Status changed from reopened to closed

Updating this to say that this color problem is no longer present.

Note: See TracTickets for help on using tickets.