MPlayer with VDPAU support. For users with Nvidia cards
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
MPlayer with VDPAU support. For users with Nvidia cards
I just thought I would share this in case anybody hadn't heard about it. With Nvidia's never drivers they have implemented vdpau support. vdpau basically takes hi-definition video (720p, 1080p, etc) and passes off the processing to the video card gpu instead of your cpu thus freeing up your cpu for other tasks, this is especially useful for mythtv users and htpc's. Unfortunately I learned through trail and error that this is not as straight forward as I had hoped but now that I got it working I thought I would share my steps.
Before you start thought make sure you have a nvidia card that supports vdpau, here is a compatibility list http://www.mythtv.org/wiki/VDPAU#Supported_Cards I'm not sure how current this list is but basically any card from the geforce 8 and series and on should work.
1) Install nvidia's proprietary binary video driver. I am not going to write a howto for this since there are dozens of posts on the forums for this. Once this is installed and working correctly proceed to step two.
2) Ignore (deleted)
3) you need to recompile MPlayer for vdpau support, There are a few issues here that I have worked out that I want to explain first. I used the MPlayer slackbuild from the official release. However Slackware ships an older version of MPlayer than we need so we need to update the build to a newer version. Unfortunately I learned that the MPlayer developers have dropped there GUI support so building a newer mplayer will not have gui support, its ok we'll fix this in step 4. You can find a modified slackbuild here http://webpages.charter.net/daedra/MPlayer.tar.gz by default this will not build patented code, you need to enable patents "YES" to get support for patented code. Here is a post about the mplayer GUI http://lists.mplayerhq.hu/pipermail/...ne/061715.html
4) Now that we have a new MPlayer and installed working, we need to add a GUI. I am recommending gnome-mplayer because it works very well and you can also add on gecko-mediaplayer plugins to work with it, more on that later. To install gnome-mplayer you can just use the build over at slackbuilds.org, just make sure to change the slackbuild to use the newest version of 0.9.8. here is the link for gnome-mplayer http://slackbuilds.org/repository/12...gnome-mplayer/ and the source http://gnome-mplayer.googlecode.com/...r-0.9.8.tar.gz Once its installed launch the program either from command line "gnome-mplayer" or from your launcher. Were almost done we just to change a few options. Under preferences change video output to vdpau and audio output to alsa. Also under mplayer tab enable software volume control unless your soundcard has a hardware mixer.
If your using KDE then run "System Monitor", once the program is running then open "gnome-mplayer" and launch your downloaded test video. if your system monitor shows mplayer cpu usage at 10% or less then vdpau is working correctly, here is a screen shot of it in action, the pic looks wrong but it's just the screenshot http://webpages.charter.net/daedra/1.jpg
Before the cpu usage was around 40%, so as you can see thats a huge improvement.
5) (Optional) Once you have all the steps above working if you want you can now install the gecko-media player plugins, this is basically the mplayerplug-in package that is available in the Slackware /extra directory, however that has been depreciated for a while, the developer has switched to gecko media player plugin. I have made a slackbuild for the newest version available here http://webpages.charter.net/daedra/g...aplayer.tar.gz
Quick note = If you decided to install gecko-media package but don't want to use my build then just know that gecko will use the seamonkey libraries to build the plugin and install then to the seamoney plugins directory so it will not work with firefox, if you use my build you won't have this problem.
We'll thats all, if I missed anything or have any questions please let us know.
good to know, I could never get it to work without the libvdpau package, are you using that? or did you get it to work without it?
nope i did not use the libvdpau package.
There are three VDPAU (Video Decode and Presentation API for Unix-like systems) libraries:
*-The top-level wrapper (/usr/X11/lib64/libvdpau.so.x.y.z),
*- a debug trace library (/usr/X11/lib64/libvdpau_trace.so.x.y.z),
*- and the NVIDIA implementation (/usr/X11/lib64/libvdpau_nvidia.so.x.y.z).
the libs came automatically with the nvidia driver. i did not use a single extra package. try the latest .run from nvidia.
hey!..i just remembered..get the ffmpeg package with vdpau support. (kudos, Eric!)
ffmpeg: updated to r20056 snapshot (20090927). The x264 and gsm codecs were
updated to their latest version as well. This ffmpeg has support for VDPAU
(gpu-accelerated video decoding on recent Nvidia hardware) but I have not
Note: as usual, this package comes without the patent/license encumbered
LAME and FAAC libraries (meaning, you can not encode mp3 or aac, but you can
playback these formats). Just rebuild the package and those will be