compiling mplayer on F12 with vdpau support

Lonni J Friedman netllama at gmail.com
Mon Nov 23 19:42:17 UTC 2009


On Mon, Nov 23, 2009 at 11:40 AM, Paolo Galtieri <pgaltieri at gmail.com> wrote:
> I'm trying to compile mplayer on F12 and I've encountered a problem.  I've
> installed the vdpau packages from the F12 repositories, but when I try to
> configure mplayer with vdpau support it indicates there is no support for
> it.  Here is the test program from the configure script.
>
> #include <vdpau/vdpau_x11.h>
> int main(void) {
>     (void) vdp_device_create_x11(0, 0, 0, 0);
>     return VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1; }
>
> The compiles fine:
>
> gcc -o vdp vdp.c -lvdpau
>
> but when you run it you get:
>
> ./vdp
> Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object
> file: No such file or directory
>
> Running
>
> ldd ./vdp
>
> shows:
>
>     linux-vdso.so.1 =>  (0x00007fffb0dff000)
>     libvdpau.so.1 => /usr/lib64/libvdpau.so.1 (0x00007fb918e84000)
>     libc.so.6 => /lib64/libc.so.6 (0x0000003fa8400000)
>     libdl.so.2 => /lib64/libdl.so.2 (0x0000003fa8800000)
>     /lib64/ld-linux-x86-64.so.2 (0x0000003fa8000000)
>
> there is no reference to libvdpau_nvidia.so.
>
> A search of the repositories shows no matches for this library.
>
> Any ideas what I'm missing?


libvdpau_nvidia.so ships with the NVIDIA display driver package.
There's no need to install anything other than that to build mplayer
with vdpau support.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                                    netllama at gmail.com
LlamaLand                       https://netllama.linux-sxs.org




More information about the users mailing list