[mythtv] XvMc-OpenGL and OpenGL-OSD

Steve Wilson mythtv_arizona at yahoo.com
Thu May 1 16:23:55 UTC 2008


--- Steve Wilson <mythtv_arizona at yahoo.com> wrote:

> 
> --- Daniel and Mary-Beth Sherwood
> <jackanddougal at yahoo.co.uk> wrote:
> 
> > Steve
> > 
> > The steps I have taken to get XvMC-OpenGL renderer
> > and OpenGL OSD working (to give a Colour OSD with
> > XvMC decoding) are as follows...
> > 
> > 1) rebuild MythTV 0.21 (trunk will probably be the
> > same) with --disable-xvmcw --disable-xvmc-vld
> > --disable-xvmc-pro --enable-xvmc-opengl
> > 
> > 2) set the Playback profile to xvmc-opengl
> renderer
> > and opengl OSD.
> > 
> > 3) Try it.
> > 
> > If you get something displayed but it appears to
> be
> > corrupt (I have seen various comments describing
> > vertical bars, horizontal bars or just a
> subsection
> > of the image being displayed) then apply the
> > attached patch to libs/libmythtv/util-opengl.cpp
> and
> > try again.
> > 
> > Good luck
> > 
> > Daniel
> > 
> > 
> > --- On Thu, 1/5/08, Steve Wilson
> > <mythtv_arizona at yahoo.com> wrote:
> > 
> > > From: Steve Wilson <mythtv_arizona at yahoo.com>
> > > Subject: Re: [mythtv] XvMc-OpenGL and OpenGL-OSD
> > > To: "Development of mythtv"
> > <mythtv-dev at mythtv.org>
> > > Date: Thursday, 1 May, 2008, 3:01 AM
> > > --- Daniel and Mary-Beth Sherwood
> > > <jackanddougal at yahoo.co.uk> wrote:
> > > 
> > > > David
> > > > 
> > > > Sorry about that, it was just that so many of
> > the
> > > > variables had identical names etc.  Great
> minds
> > tink
> > > > alike as they say:)
> > > > 
> > > > Cheers
> > > > 
> > > > Daniel
> > > > 
> > > > --- On Wed, 30/4/08, Daniel Kristjansson
> > > > <danielk at cuymedia.net> wrote:
> > > > 
> > > > > From: Daniel Kristjansson
> > > <danielk at cuymedia.net>
> > > > > Subject: Re: [mythtv] XvMc-OpenGL and
> > OpenGL-OSD
> > > > > To: "Development of mythtv"
> > > > <mythtv-dev at mythtv.org>
> > > > > Date: Wednesday, 30 April, 2008, 3:22 PM
> > > > > On Wed, 2008-04-30 at 10:55 +0000, Daniel
> and
> > > > Mary-Beth
> > > > > Sherwood wrote:
> > > > > > Mike
> > > > > > 
> > > > > > A quick follow up to my own post.  After
> > > some
> > > > more
> > > > > digging around,
> > > > > > I found the 'original' source for
> > > the
> > > > > XvMC-OpenGL stuff currently
> > > > > > in MythTV
> > > > >
> > > >
> > >
> >
>
(http://www.xfree86.org/~mvojkovi/mpeg2play_accel.tar.gz)
> > > > > <snip>
> > > > > 
> > > > > This is not the 'original' source for the
> > > > > XvMC-OpenGL code in
> > > > > MythTV. I wrote the code for MythTV and have
> > > never
> > > > heard
> > > > > about
> > > > > this mpeg2play_accel.tar.gz code.
> > > > > 
> > > > > -- Daniel
> > > > > 
> > > > >
> > _______________________________________________
> > > > > mythtv-dev mailing list
> > > > > mythtv-dev at mythtv.org
> > > > >
> > > >
> > >
> >
>
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> > > > 
> > > > 
> > > >      
> > > >
> > >
> >
>
__________________________________________________________
> > > > Sent from Yahoo! Mail.
> > > > A Smarter Email
> > > > http://uk.docs.yahoo.com/nowyoucan.html
> > > >
> _______________________________________________
> > > > mythtv-dev mailing list
> > > > mythtv-dev at mythtv.org
> > > >
> > >
> >
>
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> > > > 
> > > Can you post here how you did this? Also, did it
> > work
> > > on making the OSD color instead of gray?
> > > 
> > > 
> > >      
> > >
> >
>
____________________________________________________________________________________
> > > Be a better friend, newshound, and 
> > > know-it-all with Yahoo! Mobile.  Try it now. 
> > >
> >
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> > > 
> > > _______________________________________________
> > > mythtv-dev mailing list
> > > mythtv-dev at mythtv.org
> > >
> >
>
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> > 
> > 
> >      
> >
>
__________________________________________________________
> > Sent from Yahoo! Mail.
> > A Smarter Email
> http://uk.docs.yahoo.com/nowyoucan.html>
> _______________________________________________
> > mythtv-dev mailing list
> > mythtv-dev at mythtv.org
> >
>
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> > 
> 
> Thanks for the help. I think my command is bad. This
> is what I have.
> 
> #rpmbuild -ba -with disable-xvmcw -with
> disable-xvmc-vld -with disable-xvmc-pro -with
> enable-xvmcw-opengl mythtv-0.21-185.src.rpm
> 
> It complains that I mythtv-0.21-185.src.rpm isn't a
> spec file. What am I doing wrong?
> 
> 
>      
>
____________________________________________________________________________________
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now. 
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
>
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 

Okay making a bit of progress. I moved the src.rpm to
the SOURCES directory and then used the command

#rpm2cpio mythtv_0.21.1-185.src.rpm | cpio -i

I moved the spec file to the SPECS directory

I then did

#rpmbuild -ba -with disable-xvmcw -with
disable-xvmc-vld -with disable-xvmc-pro -with
enable-xvmcw-opengl mythtv.spec

But now I get 

error: line 1: Unknown tag: %lib_package myth-0.21 0

I followed the directions from here.

http://www.mythtv.org/wiki/index.php/Building_RPMS_from_SubVersion


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



More information about the mythtv-dev mailing list