[SOLVED] Mplayer video not intiating, it is giving fatal error
SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Does this happen just for one video? It looks like it couldn't find the needed video codec. Try to launch mplayer from a terminal: it should be more explicit in the error message:
Code:
mplayer -identify name_of_video_file
if this is not enough to retrieve a good indication of the problem, try to add the -v option.
I had launched mplayer from terminal, then i had got the following error.
Quote:
raju@linux-snzv:/windows/D/videos/cricket> mplayer -identify cricket.wmv
MPlayer dev-SVN-r29796-4.3-openSUSE Linux 11.0 (i686)-Packman (C) 2000-2009 MPlayer TeamCan't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
I see two errors in the mplayer output, the first being:
Code:
[vdpau] Could not open dynamic library libvdpau.so.1
On my system - mounting a NVIDIA video card - the shared library libvdpau.so.1 is provided by the NVIDIA proprietary driver I had installed. However there is a package named libvdpau1 provided by the Packman repository, which should suit your needs. Try to install it and re-run mplayer again.
Regarding the "BadAlloc (insufficient resources for operation)" error this can be due to the missing library above and/or to a badly configured video driver and/or (simply) to insufficient memory of your video card.
You can try to skip this problem, by specifying a video output driver different from the default (don't confuse video output driver with your video card driver: I'm taking about a facility of mplayer here). You can see a list of the available video output drivers by issuing the following command (without any stream file as argument):
Code:
mplayer -vo help
then pick up one of them and re-run the mplayer command using the -vo option with the name of the chosen driver. For example a good start should be:
Code:
mplayer -vo x11 cricket.wmv
See section "VIDEO OUTPUT DRIVERS (MPLAYER ONLY)" in man mplayer for more detailed information about the available video output drivers. Feel free to post the terminal output again, until you solve the problem. Some detailed info about your video card and its driver should be useful, too. Cheers!
you are correct Mr.Colucix. That library was missed, after installing that library videos are playing nicely.
Now I was able to play videos using Mplayer.
If i run through terminal, then it is playing, otherwise the error messages displayed in first message is coming again. May be i have to configure Mplayer using GUI options. I'll check it.
Thank you for the help.
My classmates uses windows. I had distributed openSUSE to most of my classmates. Previously if they want to play videos, they used to go Windows. Now i'll configure all of my friends systems. so that they can watch video here itself.
My classmates uses windows. I had distributed openSUSE to most of my classmates. Previously if they want to play videos, they used to go Windows. Now i'll configure all of my friends systems. so that they can watch video here itself.
Really nice! Your efforts are a little but great step toward a better world. Keep it up!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.