<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I just uncommented the "define";&nbsp;run "make" to 
rebuild the library and "make install" as root to install the 
library.</FONT></DIV>
<DIV><FONT face=Arial size=2>When I installed the library the backend and 
frontend crashed because I didn't stopped them but they restarted witout 
any&nbsp;problem.</FONT></DIV>
<DIV><FONT face=Arial size=2>I also checked where that define&nbsp;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&nbsp;blue values.&nbsp;&nbsp;</FONT>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=jabbathehut@eml.cc href="mailto:jabbathehut@eml.cc">Jussi 
  Hagström</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=mythtv-users@mythtv.org 
  href="mailto:mythtv-users@mythtv.org">Discussion about mythtv</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, January 04, 2007 7:55 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [mythtv-users] blue and red 
  channel swapped with internal player</DIV>
  <DIV><BR></DIV>No problem, glad to be of help. I just hope it would work for 
  me too ;) <BR><BR>I must be doing something wrong here... <BR>I just compiled 
  the libmythtv (after uncommenting the define) and then copied it over the old 
  one. <BR>Is this how you got it working or is there something else to 
  it?<BR><BR>I also tried changing the return value in the calc_hue_base 
  -function, but that didn't help either. <BR><BR>- Jussi <BR><BR>Alex Beyens 
  wrote: 
  <BLOCKQUOTE cite=mid001e01c7300b$a63149d0$c800000a@QMEDION type="cite">
    <META content="MSHTML 6.00.5730.11" name=GENERATOR>
    <DIV><FONT face=Arial size=2>Hi Jussi,</FONT></DIV>
    <DIV><FONT face=Arial size=2>Thanks for your usefull answer.</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>In the latest sources the define is now 
    USE_HACK_FOR_BROKEN_I420_SUPPORT_IN_DRIVER.</FONT></DIV>
    <DIV><FONT face=Arial size=2>I uncommented the line, recompiled the library 
    and installed it with success.</FONT></DIV>
    <DIV><FONT face=Arial size=2>The colors are now correct, my sky is blue and 
    my tomatos are red.</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Thanks again.</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Alex</FONT></DIV>
    <BLOCKQUOTE 
    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">----- 
      Original Message ----- </DIV>
      <DIV 
      style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><B>From:</B> 
      <A title=jabbathehut@eml.cc href="mailto:jabbathehut@eml.cc">Jussi 
      Hagström</A> </DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B> 
      <A title=mythtv-users@mythtv.org 
      href="mailto:mythtv-users@mythtv.org">Discussion about mythtv</A> </DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B> 
      Thursday, January 04, 2007 11:00 AM</DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B> 
      Re: [mythtv-users] blue and red channel swapped with internal player</DIV>
      <DIV><BR></DIV>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..<BR>Here's a quote from the MythTV-talk forums: <BR>---<BR><SPAN 
      class=postbody>You need to recompile with 
      USE_ATI_PROPRIETARY_DRIVER_XVIDEO_HACK enabled <BR>See: <A 
      href="http://svn.mythtv.org/trac/browser/branches/release-0-20-fixes/mythtv/libs/libmythtv/videoout_xv.cpp#L67" 
      target=_blank 
      rel=nofollow>http://svn.mythtv.org/trac/browser/branches/release-0-20-fixes/mythtv/libs/libmythtv/videoout_xv.cpp#L67</A> 
      <BR>Also you may need to modify this function to include your Xv adaptor: 
      <A 
      href="http://svn.mythtv.org/trac/browser/branches/release-0-20-fixes/mythtv/libs/libmythtv/videoout_xv.cpp#L3448" 
      target=_blank 
      rel=nofollow>http://svn.mythtv.org/trac/browser/branches/release-0-20-fixes/mythtv/libs/libmythtv/videoout_xv.cpp#L3448</A><BR></SPAN>---<BR><BR>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 <BR>get rid of 
      my ATI card and try NVidia. <BR><SPAN class=postbody><BR></SPAN><BR>Alex 
      Beyens wrote: 
      <BLOCKQUOTE cite=mid001601c72f91$c1a248b0$c800000a@QMEDION type="cite">
        <META content="MSHTML 6.00.5730.11" name=GENERATOR>
        <STYLE></STYLE>

        <DIV><FONT face=Arial size=2>
        <DIV><FONT face=Arial size=2>When I use the internal player for whatever 
        in MythtTV it works except that the blue and red channels 
        are&nbsp;swapped (the sky is red and the tomatos&nbsp;are blue :-D 
        )</FONT></DIV>
        <DIV><FONT face=Arial size=2>When I use mplayer I don't have the 
        problem. That's ok for watching videos and &nbsp;DVDs but not for TV 
        because we can't change the player.</FONT></DIV>
        <DIV><FONT face=Arial size=2>I found that this problem is bound with the 
        DRI (direct rendering) option of the ATI Radeon driver (official driver 
        from ATI).</FONT></DIV>
        <DIV><FONT face=Arial size=2>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,...)</FONT></DIV>
        <DIV>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>Does anyone have an 
        idea/solution?</FONT></DIV>
        <DIV>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>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)&nbsp;about swapped 
        red-blue</FONT></DIV>
        <DIV><FONT face=Arial size=2><A 
        href="">http://www.mplayerhq.hu/MPlayer/releases/ChangeLog-1.0rc1</A>&nbsp;Could 
        this be the same?</FONT></DIV></FONT></DIV><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
mythtv-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</A>
<A class=moz-txt-link-freetext href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</A>
  </PRE></BLOCKQUOTE><BR><BR>__________ Information NOD32 1956 (20070104) 
      __________<BR><BR>Ce message a ete verifie par NOD32 Antivirus 
      System.<BR><A href="http://www.nod32.com">http://www.nod32.com</A><BR>
      <P></P>
      <HR>
      _______________________________________________<BR>mythtv-users mailing 
      list<BR><A class=moz-txt-link-abbreviated 
      href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</A><BR><A 
      class=moz-txt-link-freetext 
      href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</A><BR><BR><BR>__________ 
      Information NOD32 1956 (20070104) __________<BR><BR>Ce message a ete 
      verifie par NOD32 Antivirus System.<BR><A class=moz-txt-link-freetext 
      href="http://www.nod32.com">http://www.nod32.com</A><BR><BR></BLOCKQUOTE><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
mythtv-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</A>
<A class=moz-txt-link-freetext href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</A>
  </PRE></BLOCKQUOTE><BR><BR>__________ Information NOD32 1956 (20070104) 
  __________<BR><BR>Ce message a ete verifie par NOD32 Antivirus System.<BR><A 
  href="http://www.nod32.com">http://www.nod32.com</A><BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>mythtv-users mailing 
  list<BR>mythtv-users@mythtv.org<BR>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users<BR><BR><BR>__________ 
  Information NOD32 1956 (20070104) __________<BR><BR>Ce message a ete verifie 
  par NOD32 Antivirus 
System.<BR>http://www.nod32.com<BR><BR></BLOCKQUOTE></BODY></HTML>