Thread: mplayer vdpau
View Single Post
Old 11-15-08, 03:01 PM   #66
bexbier
Registered User
 
Join Date: Oct 2008
Posts: 19
Default Re: mplayer vdpau

Quote:
Originally Posted by Stephen Warren View Post
bexbier, tx2rx,

When you got this error:

Code:
coder.o loader/dmo/buffer.o loader/dmo/dmo.o loader/dmo/dmo_guids.o libmpcodecs/vd_xanim.o stream/ai_oss.o libmpeg2/idct_mmx.o libmpeg2/motion_comp_mmx.o mp3lib/decode_i586.o mp3lib/decode_mmx.o mp3lib/dct64_sse.o mp3lib/dct64_mmx.o libswscale/libswscale.a libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a  -Wl,-z,noexecstack    -lz -lpthread -ldl -rdynamic  -lm   
libavcodec/libavcodec.a(allcodecs.o): In function `avcodec_register_all':
allcodecs.c:(.text+0x25d): undefined reference to `h264_vdpau_decoder'
allcodecs.c:(.text+0x64d): undefined reference to `vc1_vdpau_decoder'
allcodecs.c:(.text+0x701): undefined reference to `wmv3_vdpau_decoder'
collect2: ld returned 1 exit status
make: *** [mplayer] Fehler 1
Did you run the MPlayer patch script *before* installing the 180.06 driver?

MPlayer with VDPAU patches requires the NVIDIA driver to be installed before configure/make is run. I *suspect* that what happened is: You both attempted to build MPlayer before installing the NVIDIA driver, so the VDPAU auto-detection failed, and hence the build failed with the errors above(1). However, later you installed the NVIDIA driver, and/or added the flag to force VDPAU to be enabled, and everything worked. If this is the case, you should now be able to re-run configure without the force flag, and rebuild MPlayer, and it should all just work now.

(1) Those errors (which occur when MPlayer is patched to support VDPAU, configure attempted to autodetect VDPAU, but failed) are now fixed in our code-base, and will be included whenever a new MPlayer patch is released.
no ....for me ..... i installed first the driver, then run the "checkout-patch-build.sh" script

regards

bex

P.S.: it would be great if we can run the driverinstaller direct from the desktop without stopping the x-server ..... but it is just a wish, so it makes it easier for new linux users
bexbier is offline   Reply With Quote