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

Alex Beyens alex.beyens at skynet.be
Fri Jan 5 00:10:14 UTC 2007


I just uncommented the "define"; run "make" to rebuild the library and "make install" as root to install the library.
When I installed the library the backend and frontend crashed because I didn't stopped them but they restarted witout any problem.
I also checked where that define is used and it is in the same file. The only think that is done is the swap of 2 values, probably the red and the blue values.   
  ----- Original Message ----- 
  From: Jussi Hagström 
  To: Discussion about mythtv 
  Sent: Thursday, January 04, 2007 7:55 PM
  Subject: Re: [mythtv-users] blue and red channel swapped with internal player


  No problem, glad to be of help. I just hope it would work for me too ;) 

  I must be doing something wrong here... 
  I just compiled the libmythtv (after uncommenting the define) and then copied it over the old one. 
  Is this how you got it working or is there something else to it?

  I also tried changing the return value in the calc_hue_base -function, but that didn't help either. 

  - Jussi 

  Alex Beyens wrote: 
    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


----------------------------------------------------------------------------
_______________________________________________
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/20070105/eb02564c/attachment.htm 


More information about the mythtv-users mailing list