Mplayer crashes

Installed Mplayer with YaST. Yes, Packman is enabled. It crashes with…

[CODEmplayer: error while loading shared libraries: libvdpau.so.1: cannot open shared object file: No such file or directory
]



I thought YaST was supposed to install dependencies.

Any thoughts on a solution?

Hi
Use zypper…


zypper se --file-list libvdpau.so.1
Reading installed packages...

S | Name      | Summary               | Type   
--+-----------+-----------------------+--------
i | libvdpau1 | VDPAU wrapper library | package

I have it installed, you probably don’t…

if you’re on an intel gpu you might have removed it as vdpay causes trouble on intel machines,
I think mplayer defaults to software rendering not hardware (vdpau) I thought mplayer was “replaced” with mpv?
if you are using smplayer in options disable vdpau use software or vaapi (if on intel or ati gpu)

It’s installed.

:~> sudo zypper se --file-list libvdpau.so.1
root's password:
Loading repository data...
Reading installed packages...

S | Name      | Summary               | Type    
--+-----------+-----------------------+--------
i | libvdpau1 | VDPAU wrapper library | package
ion@linux-aj1s:~> mplayer
mplayer: error while loading shared libraries: libvdpau.so.1: cannot open shared object file: No suc
h file or directory
ion@linux-aj1s:~> 


mpv crashes the same way. As for smplayer I could not find vdpau or vaapi in options>preferences. It crashes as well.

Hi
So is it intel graphics? Is the intel vaapi package installed too? Also which repos are they from?

You could try starting with the vaapi driver?


mplayer -vo vaapi -va vaapi somevideo

Thanks for the assistance.

nVidia 6150 graphics. vaapi is installed from Leap-42.1-Oss

~> mplayer -vo vaapi -va vaapi DATA/MOVIES/threetenors
mplayer: error while loading shared libraries: libvdpau.so.1: cannot open shared object file: No suc
h file or directory


Hi
Nvidia driver or nouveau? I see an old thread here… MPlayer can't find libvdpau - Multimedia - openSUSE Forums

post your repo list

zypper lr -d

did you try and install libvdpau1

zypper in libvdpau1

Which does not mean that it is installed from the Packman repo. It may be when the version number on Packman is higher, or when the Packman repo’s priority is higher (lower number) or when you explicitly choose the Packman version from the Version tab.

Well YaST reports “1.2.r37548-6.5-x86-64 from vendor http://packman.links2linux.de (installed)” and does not offer another version. Do I have an alternative?

Well, when YaST reports it is from Packman, that is prove then.

But you saying that you have the Packman repo enabled does not say much.

And we completly depend on what you report, And we can only interprete that litteraly.

No.
But the problem is that it apparently cannot find libvdpau1 even though it is installed.

Maybe you have the 32bit version installed?

rpm -q libvdpau1

It may also be a problem with your nvidia driver installation (AFAIK the nvidia driver comes with its own libvdpau.so.1).
What does this give?

ldd /usr/bin/mplayer

and

ls -l /usr/lib64/libvdpau*

My response was too long so it’s at http://pastebin.com/p42Jim8D

From there:

PLEASE NOTE. You are looking at libvdpau1 but mplayer needs libvdpau.so.1, (no 1)

libvdpau.so.1 implies that it is part of the package libvdpau1.

# rpm -q libvdpau
package libvdpau is not installed
linux-aj1s:/home/ion # rpm -q libvdpau1
libvdpau1-1.1.1-8.6.x86_64

Ok, the right version is installed.

linux-aj1s:/home/ion # ls -l /usr/lib64/libvdpau*
lrwxrwxrwx 1 root root 32 Nov  9 09:31 /usr/lib64/libvdpau_nvidia.so -> vdpau/libvdpau_nvidia.so.304.131                                                                                                
linux-aj1s:/home/ion #

But the files are not there, only the ones from nvidia.
So something seems to have deleted them. (maybe even nvidia’s .run installer? Who knows…)
“rpm -V libvdpau1” will probably report that /usr/lib64/libvdpau.so.1 is missing too.

Reinstall the package, and it should work:

sudo zypper in -f libvdpau1

That worked and yes I believe the nVidia run installer messed it up.

Many thanks. I’m back to useability.