Bug 746392

Summary: totem shows wrong colors
Product: [Fedora] Fedora Reporter: Thomas Meyer <thomas.mey>
Component: totemAssignee: Bastien Nocera <bnocera>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: adel.gadllah, bnocera, jeremy, michal, nukehead, pebolle
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-13 11:44:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
totem playing a video
none
playbin2 playing the same video none

Description Thomas Meyer 2011-10-15 10:35:21 UTC
Description of problem:
totem shows wrong colors. using "gst-launch playbin2 uri=file:..." results in the correct color display.

Version-Release number of selected component (if applicable):
$ yum list installed 'totem*'
Geladene Plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit
Installierte Pakete
totem.i686                                                 1:3.2.0-1.fc16                                       @updates-testing
totem-mozplugin.i686                                       1:3.2.0-1.fc16                                       @updates-testing
totem-pl-parser.i686                                       2.32.6-1.fc16                                        @updates-testing

$ yum list installed 'gstreamer*'
Geladene Plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit
Installierte Pakete
gstreamer.i686                                                    0.10.35-1.fc16                                     @anaconda-0
gstreamer-plugins-bad-free.i686                                   0.10.22-2.fc16.1                                   @fedora    
gstreamer-plugins-base.i686                                       0.10.35-1.fc16                                     @anaconda-0
gstreamer-plugins-good.i686                                       0.10.30-2.fc16                                     @anaconda-0
gstreamer-python.i686                                             0.10.19-2.fc15                                     @fedora/15 
gstreamer-rtsp.i686                                               0.10.8-1.fc16                                      @anaconda-0
gstreamer-tools.i686                                              0.10.35-1.fc16                                     @anaconda-0

Comment 1 Thomas Meyer 2011-10-15 10:35:59 UTC
Created attachment 528312 [details]
totem playing a video

Comment 2 Thomas Meyer 2011-10-15 10:37:05 UTC
Created attachment 528313 [details]
playbin2 playing the same video

Comment 3 Jeremy Fitzhardinge 2011-11-12 02:40:11 UTC
I'm seeing the same thing, with both h264 mkv and xvid avi files.

Comment 4 Jeremy Fitzhardinge 2011-11-12 04:02:23 UTC
It looks like it simply isn't doing any colorspace conversion, so the YUV is being directly output as RGB, with Y->R.  I wonder if it's cluttersink failing to set up the conversion, or if there's something wrong with Mesa which is making the fragment program fail.

My system is an Intel i5 Sandybridge laptop with integrated graphics.  When I enable totem's gst debugging output, I see:


0:00:01.047433826 13932 0x7f458c0a6f90 INFO             cluttersink ./clutter-gst-video-sink.c:1121:clutter_gst_video_sink_set_caps:<cluttergstvideosink0> using the I420 fp renderer


But I haven't been able to work out how to confirm any of these theories.

Comment 5 Paul Bolle 2011-11-20 17:29:13 UTC
Since I wanted to be CC'd on this anyhow, I might as well add that I also see the same thing with "Ogg data, Theora video" (ie, an .ogg file) on an up to date F16 system.

Comment 6 Thomas Meyer 2011-11-20 19:09:14 UTC
XFCE's native media player "parole" does work correctly on the same system.

Comment 7 Michal Jaegermann 2011-12-04 23:15:43 UTC
Obviously there were updates in the meantime as I have totem-3.2.1-2.fc16.x86_64 and a picture in it is a complete unusable mess.  VLC on the same system does not have this problem.

I tried that on ASUS laptop with i915 video.

Comment 8 Adel Gadllah 2011-12-22 12:13:12 UTC
Same problem here. Sushi shows correct colors too, while totem is simply broken.

Comment 9 Adel Gadllah 2011-12-26 00:25:07 UTC
(In reply to comment #8)
> Same problem here. Sushi shows correct colors too, while totem is simply
> broken.

OK seems like the problem was that for some reason the contrast was set to zero.

Going to preferences -> Display and clicking on "Reset to defaults" fixes it.

Comment 10 Paul Bolle 2011-12-27 10:40:39 UTC
(In reply to comment #9)
> OK seems like the problem was that for some reason the contrast was set to
> zero.
> 
> Going to preferences -> Display and clicking on "Reset to defaults" fixes it.

0) Thanks. That fixed it for me too.

(1) For what it's worth: I'm running totem as shipped by Fedora 16, using basically a fresh install. But the home directory I use is rather old. Previously I was running Fedora 14. Could this be triggered by running current totem with the user configuration of an older version?)

Comment 11 Thomas Meyer 2011-12-27 15:54:47 UTC
Thanks! Same here! Reset fixes the problem for me. Did upgrade this installation from Fedora x?->14->15->16. Always via DVD upgrade.

Comment 12 Fedora End Of Life 2013-01-16 11:59:34 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 13 Fedora End Of Life 2013-02-13 11:45:16 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.