[mythtvnz] Fwd: [mythtv] New Video Decode and Presentation API

Paul Kendall paul at kcbbs.gen.nz
Mon Nov 17 03:39:54 GMT 2008


On Monday 17 November 2008 13:38:05 Dylan Hall wrote:
> I hit the same error.
>
> I tried to build it on my gentoo box but I got the error below because
> I'd not installed the 180.06 nvidia drivers yet. I think the error
> relates to the final linking stage against the new drivers. The gentoo
> box is using gcc 4.1.2 so it should have compiled.
>
> I decided I didn't want to break my media pc by frobbing with the video
> driver so I repeated the process on my ubuntu 8.10 laptop (both boxes
> have an nvidia 8400 of some description).  I installed the latest nvidia
> driver but also failed to get the mplayer + patches to compile.  I'm not
> sure if it failed to compile because of an issue with the driver
> installation or because of the version of the compiler.
>
> I then tried to remove the new driver and go back to the package manager
> installed driver which took me a couple hours of swearing and broken
> X...
>
> My advise to people would be to wait a couple of months while they iron
> out some of the teething problems.  I spent 3-4 hours and have very
> little to show for it :(
>
> Dylan
>
> On Mon, 2008-11-17 at 05:43 +1300, Michael Dilger wrote:
> > > At the moment the best way to test is with MPlayer. Might be a while
> > > before we see MythTV patches.
> >
> > I tried their patches, using their script (on an older revision of
> > mplayer) and like they warn, it doesn't compile with gcc 4.3.2 (which is
> > what I have installed).
> >
> > Then I applied their patches to the newest mplayer.  There were a number
> > of rejects, but nothing that couldn't be fixed manually.  Unfortunately
> > right at the end of the build, during the final link, it gives this
> > error: allcodecs.c:(.text+0x1d9): undefined reference to
> > `h264_vdpau_decoder' allcodecs.c:(.text+0x4b5): undefined reference to
> > `vc1_vdpau_decoder' allcodecs.c:(.text+0x551): undefined reference to
> > `wmv3_vdpau_decoder'
> >
> > I'm not sure if libavcodec is simply not linking in all the code, or if
> > there are missing bits.  I tried to force configure with
> >     --enable-decoder=vc1 --enable-decoder=wmv3 --enable-decoder=h264
> > to no better effect.
> >
> > If someone figures out how to get it compiled, I'll copy those
> > instructions and test the performance effects on my hardware.
> >
> > -Mike
> >
> >
Looks like they've missed a patch to 'configure'.
You can probably hack it by adding a define in config.h somewhere

#define HAVE_VDPAU 1

Paul



More information about the mythtvnz mailing list