You are not logged in.
Pages: 1
I realise, by default, MPlayer isn't compiled like it is in other distros.
If I wanted support for dxr3 output (for my Sigma Designs card) and XvMC support, etc...
Do I just download the PKGBUILD file, modify the options after ./configure, let the ABS do its thing, and then install by pacman -U foobar.pkg.tar.gz?
Is that right?
(I have been reading the wiki entry for ABS, but I'm not 100% sure).
The most important thing the hacker community does is write better code. Our deeds are the best propaganda we have. -Eric S. Raymond
Offline
Precisely.
(as there are more build files than just PKGBUILD for mplayer, your best call is to execute "abs; cd /var/abs/extra/multimedia/mplayer", change the PKGBUILD, execute "makepkg" and pacman -U the package)
Offline
That's exactly it, stmok. If you enable any options that require additional libs, make sure you install those first.
Offline
That's exactly it, stmok. If you enable any options that require additional libs, make sure you install those first.
I would make sure to add those extra libs to the DEPENDS array just so that you don't forget later on.
Offline
Thanks folks.
I needed cvsup unzip and libcaca for things to work.
I modified the PKGBUILD file:
added libxvmc in depends section
and
added --enable-xvmc in ./configure part.
Compiled, packaged, and installed...
Verified that the option is there: gmplayer -vo help
You should see this as one of the entries:
xvmc XVideo Motion Compensation
Be sure to install the Nvidia drivers!
Now let's see if it works!
The most important thing the hacker community does is write better code. Our deeds are the best propaganda we have. -Eric S. Raymond
Offline
To get xvmc to work, you need to create a file...
vim /etc/X11/XvMCConfig
In this file, add this...
libXvMCNVIDIA_dynamic.so.1
(This is actually part of the proprietary Nvidia driver package)
Save it...
type => :wq
Test it with a video clip...
mplayer -vo xvmc -vc ffmpeg12mc foobar.mpeg
(This works for me).
The problem is, I can't seem to get MPlayer to work with xvmc in KDE. I created a link for it and pointed to gmplayer
I keep getting a "Fatal error!" popup, showing this message.
=> FATAL: Could not initialize video filters (-vf) or video output (-vo)
Here's a good reference...
http://www.penlug.org/twiki/bin/view/Ma … Nvidia5200
The most important thing the hacker community does is write better code. Our deeds are the best propaganda we have. -Eric S. Raymond
Offline
If this is not there already, you should think about making an Xvmc wiki entry.
Offline
I plan to.
But, I am not adding things to the wiki if it doesn't work 100%. Its poor form to do that.
Its just when I use MPlayer via GUI way in KDE, it doesn't work right with xvmc.
I must be missing something...*Goes to search in Google*
The most important thing the hacker community does is write better code. Our deeds are the best propaganda we have. -Eric S. Raymond
Offline
Just an update...xvmc won't work with MPlayer that is started from a desktop link. Such as gmplayer
It appears you must load from command line.
source: http://www.murga-linux.com/puppy/viewtopic.php?t=13216
EXAMPLE:
This line loads up the video file foobar.mpeg with XvMC.
gmplayer -vo xvmc -vc ffmpeg12mc -fs foobar.mpeg
gmplayer => Loads up the GUI, where as mplayer does NOT. You can load either, depending on your needs.
-vo => video output.
We tell MPlayer to use xmvc
-vc => video codec.
We tell MPlayer to use ffmpeg12mc
-fs => Fullscreen mode
For more options, just type mplayer -vo help in a terminal window. (command line window).
PLEASE NOTE: The current implementation of XvMC for Nvidia cards does NOT support anything other than MPEG1/2 standard. ffmpeg12mc is the only codec you can use with XvMC.
NOTE: This thread is an informal guide to getting XvMC working with Nvidia video cards. A formal entry will be created shortly in the Arch Linux Wiki. XvMC is known to work with Intel i8x0 and VIA chipsets that have MPEG2 support, such as the Unichrome.
The most important thing the hacker community does is write better code. Our deeds are the best propaganda we have. -Eric S. Raymond
Offline
Ladies and Gentlemen, here's the wiki entry I've written for setting up XvMC support for MPlayer.
Enable XvMC for Nvidia video cards
http://wiki.archlinux.org/index.php/Ena … ideo_cards
That's my contribution to the Arch Linux project for today. I'm going to sleep!
The most important thing the hacker community does is write better code. Our deeds are the best propaganda we have. -Eric S. Raymond
Offline
Pages: 1