[mythtv-users] blue and red channel swapped with internal player

Alex Beyens alex.beyens at skynet.be
Thu Jan 4 14:21:39 UTC 2007


Hi Jussi,
Thanks for your usefull answer.

In the latest sources the define is now USE_HACK_FOR_BROKEN_I420_SUPPORT_IN_DRIVER.
I uncommented the line, recompiled the library and installed it with success.
The colors are now correct, my sky is blue and my tomatos are red.

Thanks again.

Alex
  ----- Original Message ----- 
  From: Jussi Hagström 
  To: Discussion about mythtv 
  Sent: Thursday, January 04, 2007 11:00 AM
  Subject: Re: [mythtv-users] blue and red channel swapped with internal player


  Yes, It's a bug in the ATI drivers. There's a hack that you could use to get rid of the problem. It didn't work for me, though..
  Here's a quote from the MythTV-talk forums: 
  ---
  You need to recompile with USE_ATI_PROPRIETARY_DRIVER_XVIDEO_HACK enabled 
  See: http://svn.mythtv.org/trac/browser/branches/release-0-20-fixes/mythtv/libs/libmythtv/videoout_xv.cpp#L67 
  Also you may need to modify this function to include your Xv adaptor: http://svn.mythtv.org/trac/browser/branches/release-0-20-fixes/mythtv/libs/libmythtv/videoout_xv.cpp#L3448
  ---

  I don't think this will be fixed in MythTv so the only option is to bug ATI to fix their drivers. I'm personally probably going to just 
  get rid of my ATI card and try NVidia. 


  Alex Beyens wrote: 
    When I use the internal player for whatever in MythtTV it works except that the blue and red channels are swapped (the sky is red and the tomatos are blue :-D )
    When I use mplayer I don't have the problem. That's ok for watching videos and  DVDs but not for TV because we can't change the player.
    I found that this problem is bound with the DRI (direct rendering) option of the ATI Radeon driver (official driver from ATI).
    When I desactivate the DRI the colors are OK but then all the work is done by the CPU and it looks that it is not fast enough (sound not sync with picture, frames droped,...)

    Does anyone have an idea/solution?

    I've read somewhere that the internal player was based on mplayer and found in the mplayer change log that there was a very old fixed bug (Feb 1, 2001) about swapped red-blue
    http://www.mplayerhq.hu/MPlayer/releases/ChangeLog-1.0rc1 Could this be the same?
----------------------------------------------------------------------------
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
  

  __________ Information NOD32 1956 (20070104) __________

  Ce message a ete verifie par NOD32 Antivirus System.
  http://www.nod32.com



------------------------------------------------------------------------------


  _______________________________________________
  mythtv-users mailing list
  mythtv-users at mythtv.org
  http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


  __________ Information NOD32 1956 (20070104) __________

  Ce message a ete verifie par NOD32 Antivirus System.
  http://www.nod32.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070104/32c4766a/attachment.htm 


More information about the mythtv-users mailing list