CentOS 5 :: Compile Mplayer From Srpm With Vdpau Enabled
May 7, 2011I'm trying to compile mplayer from srpm with vdpau enabled.
By default its disabled ( at least in rpmforge's srpm). How can i do this ?
This is what i tried:
I'm trying to compile mplayer from srpm with vdpau enabled.
By default its disabled ( at least in rpmforge's srpm). How can i do this ?
This is what i tried:
I am trying to take advantage of VDPAU for playing video files with my ASRock ION 330. As far as I know, MPlayer and VLC both include VDPAU support. Ok then, I managed to make MPlayer work from the command line:
mplayer -vo vdpau -vc ffh264vdpau ./filename.mkv
In this way it plays a 720p content smoothly, with under 10% CPU use. Great!The problem is when I try to make this permanent, i.e., configuring the files ~/.mplayer/config and ~/.mplayer/gui.conf.This is what I have in there:
config
======
vo=vdpau,xv,
vc=ffh264vdpau,ffmpeg12vdpau,
[code]....
But still, when I open MPlayer from the menu, no matter what file I try to open it gives this ugly message:Error opening/initializing the selected video_out (-vo) device. With regard to VLC, I had no luck, although I am using the latest "1.0.3 Goldeneye" version, I don't know how to make use of VDPAU.
I am using mplayer with vdpau enabled in Ubuntu 10.10. It works very well in general, reducing cpu usage for hd from 50% to 60% to around 10 -15% or less. There is however one slightly annoying problem. It is that mplayer would appear to "forget" its vdpau output setting once in a while and especially after rebooting. When that happens it needs to be "reset" in order to use vdpau. "Resetting" basically just means opening gnome-mplayer and change video output to xv and then back to vdpau again.
I should clarify that the setting has not actually been lost, it still says "vdpau", it just need resetting).
I can successfully play h264 and vc1 encoded HD videos with vdpau acceleration using Gnome MPlayer or SMplayer, but in order to accomplish this, I have to provide -vc ffh264vdpau/ffvc1vdpau as an extra argument for MPlayer. Now this totally sucks as I have to manually type this in for HD videos and remove for all others every single time... What's worse is that I have to know what the video is in advance so I first need to analyze it before playing.So, I figured that if there's a way to tell MPlayer to aways use ffh264vdpau codec for h264 and ffvc1vdpau for vc1 videos, I'd be free to just click and watch.
View 9 Replies View RelatedI recently updated my Squeeze installation to testing and since then I've been unable to use VDPAU with SMPlayer and MPLayer. When VDPAU is enabled every video file gives the same error (see log at the end; don't mind the extra channel entries, they're for converting AAC to AC3 on-the-fly). Before this everything worked as it should.
[Code]...
If you want to use XBMC 9.11 (Camelot) and MPlayer, I suggest to use RPM Fusion. VDPAU support is now mainline...My repository provides pre-beta XBMC Dharma packages (xbmc-dharma) and recent mplayer packages with bluray support (through libbluray and libaacs). These packages depend on RPM Fusion.
xbmc-dharma is also compiled with vdpau and vaapi support. vaapi is supposed to be compatible with Nvidia (through vdpau, install vdpau-video), ATI (through xvba, install xvba-video) and Intel (directly). For me (NVidia), it doesn't work, xbmc instantly crash. Anyway, you can try. Maybe it's useful for someone. You can maybe find informations here: [URL] For NVidia and ATI, it can only work with the closed source driver. For Intel. libva, vdpau-video source packages were copied from [URL](I forgot) and recompiled by me.
One last thing, RTMP [URL] support was removed from XBMC after 9.11. If you want to watch videos over this protocol (usually flash), you have to install librtmp (provided in my repo). Repository URL:[URL] If you want to install it in yum, copy [URL]
[URL]
1) Does Karmic mplayer have VDPAU support out of the box? If not, why doesn't it?
2) Does LUCID mplayer have VDPAU support "..."?
3) If Lucid doesn't, can I use the Karmic VDPAU PPA for Lucid, or much I compile mplayer myself?
4) Point me to a place with instructions on compiling mplayer with VDPAU support. If you don't know, I'll just google it.
I have a Zotac IONITX-F-E motherboard (Intel Atom Dual Core 1.6 GHz + Nvidia ION) -based box with Ubuntu 10.04 64-bit installed. My goal is to play back 1080p video.
I have mplayer installed (which I compiled from source with --enable-vdpau). I try to run mplayer with this command:
Code:
mplayer -vo vdpau -vc ffh264vdpau path/to/myfile.mkv
I get the following message in my terminal:
Code:
Error opening/initializing the selected video_out (-vo) device.
I have libvdpau-dev and libvdpau1 installed.
[Code]....
Before doing all this, I was able to get the nvidia 195.36.24 driver installed, but I am still having some trouble, which may or may not be related.
I had a problem playing full HD videos (1080p @ 30 fps), frames dropped, CPU utilisation (on 1 of 2 CPUs) maxed out etc.As I'm still stuck on Hardy I didn't find much stuff that directly answers my question on how to play this... After hunting about a bit the following two links gave me some idea of what needs to be done, namely install a new version of Mplayer that supports VDPAU (NVidia's hardware video acceleration solution).
[URL]
Luckily I had a NVidia video card that supports VDPAU and I had installed the NVidia proprietary drivers before [URL]To check if your NVidia card supports VDPAU please look at the proprietary driver release details.
Quote from Wikipedia:
"Currently only second generation of PureVideo HD bit-stream processor in some of NVIDIA's GeForce 8 series and later graphics cards hardware that has support since the Beta device driver version 180.06.[4] Unsupported hardware from the GeForce 8 series includes the 8800GTS 320/640MB editions and the 8800GTX. Later cards based on the G9x series cores e.g. the 8400GS and the 8800GTS 512mb (G92 core) are supported."
I usually play using VLC but was put-off from trying to upgrade that to CDPAU support because of this little detail from the Ubuntu forum links above:
Quote:
"VLC is available with vdpau by way of VA-API, in this PPA:[URL]However, to install it you'll have to upgrade your precious and very touchy ffmpeg packages. There have been a couple of SONAME upgrades since Karmic's ffmpeg was released, and this will inevitably result in breakage of anything that A) uses dynamic ffmpeg, and B) is not rebuilt against the new version, ie. every package that's on your system that didn't come from that PPA."
I have a nVIDIA Geforce 8500 GT on my Ubuntu system.and have the latest 260.19.36 driver installed.the Mplayer was from SVN checkout also the latest version.but the configure script from mplayer can't detect VDPAU on my system. just give me the output like this
Check VDPAU .... No If I force Enable the VDPAU. the make process won't be successful.just googled, most article that I can find about Mplayer and VDPAU is out of date.
I have trouble compiling FFMPEG with VDPAU support. I have clean typical installation Fedora 14 + all updates and after installation I install Nvidia driver with VDPAU support - kmod (VPDAU works well, tested with mplayer - I play MKV 1080p on Atom D525 + chipset Nvidia ION with 10-15% CPU ussage). I try compilie FFMPEG with this procedure:
[Code]...
Where can I find SRPMs for the latest python-2.4.3-43 and gcc-4.1.2-50 included in CentOS 5.6? They seems to be missing from centos/5.6/os/SRPMS on all mirrors that I checked...
View 1 Replies View Relatedwhere I can find a package for mplayer with dvdnav support enabled?
I was disappointed to discover that in 10.04 dvdnav support was disabled in mplayer. I rely on it for my mythtv front end box to be able to play DVDs. According to a bug it was disabled because of an upstream email chain where dvdnav was considered 'experimental' and 'not ready for production use'. Funny as it worked fine for me.
Post #6 here is where I found the above reasoning for it being disabled.
[URL]
I am using PHP Version 5.2.9. I am facing some problem for some the extension are not enabled. I want to enable that. The extensions are
with gdbm , -with-mysql, all with --with-gd' '--enable-dom' '--enable-dba' '--with-unixODBC' '--enable-pdo' '--enable-xmlreader' '--enable-xmlwriter' '--with-sqlite' '--enable-json' '--with-pspell'
--with-gd' '--enable-dom' '--enable-dba' '--with-unixODBC' '--enable-pdo' '--enable-xmlreader' '--enable-xmlwriter' '--with-sqlite' '--enable-json' '--with-pspell'
how can I compile the PHP and make the modification like the above.
I installed opencore-amr-0.1.2.tar.gz. In usual way
[code]...
I read all above somewhere & wanted to disseminate. You can point my mistakes OR give ways to add functionality in mplayer.
how to cross compile Mplayer into ARM target board , my target board details are URL...and i have successfully compiled Mplayer in intel pc.
View 2 Replies View RelatedI want to encode video content with mencoder and libvpx codec. I have libvpx installed on my machine and I can encode with libvpx using ffmpeg. My OS is Ubuntu 10.10, 64bit. I downloaded fresh mplayer/mencoder from SVN repository. If I configure mplayer/mencoder without any explicit enabled features using:
[Code]...
I try to set up a 5 nodes cluster and a shared Coraid Storage with conga but it fails with "Shared Storage Support" checked.The message is:'A problem occurred when installing packages: Packages of set "Clustered Storage" are not present in available repository' and it is shown under every node on the next sceen after I submit.The pc where conga runs is on the same subnet (192.168.xxx.xxx) and it has the same /etc/hosts of the other nodes.In that pc runs a proxy too and the nodes go out through it (that pc has 2 NICs)Every node (2.6.18-128.1.14.el5-xen-x86_64) is patched whith the last yum update (this morning) the same is for the pc (2.6.18-128.1.14.el5).Every node has 4 NICs , 2 NICc towards the storage the others in bonding towards the WAN.Every node is exactly alike, they have been installed with the ks.cfg generated from the first node and they all have the support for Clustering, Virtualization, and Clustered Storage.
View 1 Replies View RelatedI'm trying to install mplayer plugin for firefox but even i have gcc compiler installed already:
Name : gcc
Arch : x86_64
Version : 4.4.4
Release : 10.fc13
Size : 18 M
Repo : installed
i have this error:
[Code].......
What is the difference between kernel-source.x.x.x.x.rpm and kernel.x.x.x.src.rpm?
View 2 Replies View RelatedI'm currently using Debian Testing with Debian Multimedia Sid repos. The current Mplayer (3:1.0~rc4+svn20110308-0.0) seems to be broken - I can't encode AAC to AC3 on-the-fly anymore. I'd like to compile the latest snapshot or SVN version, but what is the easiest way to compile it with the same options as the one in debian-multimedia.org?
View 3 Replies View RelatedUse python as example, I have 64bit python 2.4.3 yet I can't found rpm for 32bit one so I try to build it.Use default make or make --enable-readline is ok, python make cannot use CFLAGS, can use OPT and LDFLAGS to add -m32, yetit seems can only search for 64bit lib, or else crush.[Moderator edit: Moved from CentOS-4 to CentOS-5 forum.]
View 9 Replies View RelatedI have a centos server (5.3). I installed WebMin to assist with some of the administration details. In any event, I got it installed but I cannot access it (it requires a secure connection).
I checked out the server and it does not respond to a HTTPS:// request. When I telnet into port 80, it responds but it does not respond on port 443. MOD_SSL is installed and there is an ssl.conf (unmodified).
since I upgraded to firefox 3.6 the program doesn't start up if I have any add-ons enabled.
The program starts fine with add-ons installed, but only starts up once as soon as any off them are enabled. Even normal add-ons like xmarks and adblock give problems.
I am new to this forum so please bear with me . I have installed Centos 5.2 on my laptop and have been trying to use Mplayer to play a DVD movie. I have all the relavent plugins and codecs installed but it keeps telling me "Failed to open dvd://1"I tried to use Totem but it says that i am missing some plugins and won't play anything for me. My Laptop is an Acer Travelmate 240, 40GB HDD, 1GB RAM, Processor is a Celeron 2.66GHZ
View 6 Replies View RelatedI've got a little server setup on my local network and I'm trying to configure it to use miredo. I've got my laptop successfully using it, but for some reason miredo gives this error when I try to start it:
Code:
Error: IPv6 stack not available.
also running "lsmod | grep ipv6" gives these results
Code:
ipv6 270049 1 cnic
xfrm_nalgo 13381 1 ipv6
I get the impression that ipv6 is not enabled on my server, but I'm not sure how I enable it short of doing a reinstall.
The nagios admin interface apparently needs php (although, of course, the howto mentions nothing of the sort). So then, I copied the php.conf that had at some time been installed on the system, and then moved by me out of /etc/httpd/conf.d, back into conf.d. It's a fairly simple one:
#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
LoadModule php5_module modules/libphp5.so
[Code]....
We are running CentOS 5.3 on a Logic Supply PT109, a ruggedized PC. For some reason the serial ports don't work when the IRQ is configured (i.e. setting IRQ to 0 makes it work, but performance suffers with the polling).
I've used minicom, picocom, and plain old cat and echo talk to the port both with a loopback connector and to another PC. statserial shows the control lines changing as I change the various settings and connect the loopback connector. I am confident that the hardware is fine as DOS diagnostics show the COMx ports working with various baud rates. I have tried changing the IRQ from the default of 11 to 3 and 4, turning flow control on/off, and tried another PT109.
strace shows data being written, but none being received, so my theories are either the interrupts aren't being generated (doubtful since the ports tested okay with DOS) or the serial driver isn't handling the interrupt. The serial handler shows up in /proc/interrupts when the port is opened. The interrupt counts do go up slowly, but not in response to activity that I can correlate:
[Code]...
I'm on web developing and was trying to embed an audio file on one of my page. The audio was successfully tested and emebeded on all browser. Added on the said embedding are javascript for customize buttons, here is the part of the code for embedding:
<script language="javascript" type="text/javascript">
QT_WriteOBJECT('[filename]', '90%','16', '', 'obj#id', 'movie0', 'emb#name', 'movie0', 'enablejavascript', 'true', 'autoplay', 'false');
</script>
I have installed CentOS and Redhat5 on a LVM partition and selinux is enabled. Both OS's share the same /home partition with one user with the same login(gc) and same uid (1000). The problem I am having is that gc can login with all permissions etc on the OS that was installed first (CentOS). For the redhat OS gc can login but cannot write to the home directory (or startx since X needs to write to Xauthority)Here are outputs - 1st CentOS
[gc@shuttle ~]$ ll -Zd $HOME
drwx------ gc gc system_ubject_r:unlabeled_t /home/gc
[gc@shuttle ~]$ stat $HOME
[code]....