Opened 9 years ago

Closed 7 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

Description

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: https://www.dropbox.com/sh/77g4cxrziyu0czn/AACHuyy96tE6crhOAQMYGBXQa?dl=0

Change History (5)

comment:1 by gjdfgh, 9 years ago

Try:

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 by Carl Eugen Hoyos, 9 years ago

Component: undeterminedffplay
Resolution: needs_more_info
Status: newclosed

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 by LordHDL, 9 years ago

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 by LordHDL, 9 years ago

Resolution: needs_more_info
Status: closedreopened

Though minor, figured I'd reopen this. More screen shots for comparison: https://www.dropbox.com/s/tw7xofv5p4r4myh/colors.tar?dl=0

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 by LordHDL, 7 years ago

Resolution: fixed
Status: reopenedclosed

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

Note: See TracTickets for help on using tickets.