Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th August 2009, 12:13 PM
Hansvon Offline
Registered User
 
Join Date: Apr 2009
Posts: 83
linuxfedorafirefox
Post MPlayer and XBMC built with NVIDIA VDPAU

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: http://www.splitted-desktop.com/~gbeauchesne/
For NVidia and ATI, it can only work with the closed source driver. For Intel, I have no idea.
libva, vdpau-video source packages were copied from http://rpms.kwizart.net/ or http://www.happyassassin.net/video-experimental/ (I forgot) and recompiled by me. Thanks to them!

One last thing, RTMP (http://en.wikipedia.org/wiki/Real_Ti...aging_Protocol) 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: http://hansvon.homelinux.org/fedora/
If you want to install it in yum, copy http://hansvon.homelinux.org/hansvon.repo to your /etc/yum.repos.d/


Some links:

Last edited by Hansvon; 24th August 2010 at 03:24 AM.
Reply With Quote
  #2  
Old 15th September 2009, 07:42 AM
druh Offline
Registered User
 
Join Date: Sep 2009
Posts: 1
linuxfedorafirefox
Hi,

i've tested it with i586. It works perfectly. I've tested it with ION and NV Quatro. Updates are welcome ;-) Thanx a lot.

Jacek.
Reply With Quote
  #3  
Old 18th September 2009, 06:26 AM
Hansvon Offline
Registered User
 
Join Date: Apr 2009
Posts: 83
linuxfedorafirefox
Hi,
You're welcome.
I have updated the rpm yesterday. I will update maybe every two weeks or so.
By the way, you can use these rpms without a nvidia card. It will work as long as you don't try to use vdpau...
Reply With Quote
  #4  
Old 23rd September 2009, 10:13 PM
denka Offline
Registered User
 
Join Date: Jun 2007
Posts: 9
windows_xp_2003firefox
Thank you, tried i386 Fedora 10 om my brother's computer.
Reply With Quote
  #5  
Old 2nd October 2009, 01:15 AM
Hansvon Offline
Registered User
 
Join Date: Apr 2009
Posts: 83
linuxfedorafirefox
RPMs were updated yesterday.
Main change except svn update is that SRPMS are based now on libvdpau-devel, instead of xorg-x11-drv-nvidia-devel. xorg-x11-drv-nvidia-devel required the full driver installation...
It doesn't change anything for the rpms. It's only easier if you want to build the srpm.
Reply With Quote
  #6  
Old 13th October 2009, 09:44 AM
rarbox's Avatar
rarbox Offline
Registered User
 
Join Date: Jun 2009
Posts: 17
linuxfedorafirefox
Works great.

A repository will be awesome.
Reply With Quote
  #7  
Old 13th October 2009, 12:49 PM
denka Offline
Registered User
 
Join Date: Jun 2007
Posts: 9
windows_xp_2003firefox
Yes, a repository would be great. Thanks again for building these packages.
Reply With Quote
  #8  
Old 14th October 2009, 02:38 AM
Hansvon Offline
Registered User
 
Join Date: Apr 2009
Posts: 83
linuxfedorafirefox
I've read here [1] that XBMC will be available in RPM Fusion. Since Fedora now packages libvdpau, I hope RPM Fusion will enable vdpau in XBMC and mplayer (if they don't, that would be very very strange...). So no repository, sorry.

[1] https://bugzilla.rpmfusion.org/show_bug.cgi?id=851

Last edited by Hansvon; 14th October 2009 at 06:31 AM.
Reply With Quote
  #9  
Old 19th October 2009, 07:38 AM
Hansvon Offline
Registered User
 
Join Date: Apr 2009
Posts: 83
linuxfedorafirefox
Packages have just been updated to today's svn versions (20091019). Three comments:
  • XBMC doesn't compile anymore on Fedora 10 (libtool issue in libass, no time to debug...). Please use older versions...
  • Packages are now available for Fedora 12 (rawhide), for people already using it, like me...
  • A repo is now available (it's easier to set up than I thought....): copy http://hansvon.homelinux.org/hansvon.repo to your /etc/yum.repos.d/

Last edited by Hansvon; 19th October 2009 at 08:20 AM.
Reply With Quote
  #10  
Old 19th October 2009, 11:47 AM
rarbox's Avatar
rarbox Offline
Registered User
 
Join Date: Jun 2009
Posts: 17
linuxfedorafirefox
Added your repo.

Thanks!
Reply With Quote
  #11  
Old 20th October 2009, 02:58 AM
Hansvon Offline
Registered User
 
Join Date: Apr 2009
Posts: 83
linuxfedorafirefox
XBMC was again updated because 20091019 version was not built with pulseaudio support (sorry). Also, now, F12-rawhide version depends on RPMFusion's ffmpeg since it is now compatible with vdpau. (Right now, F12-rawhide has dependencies trouble because of ffmpeg update)
Reply With Quote
  #12  
Old 21st October 2009, 08:06 PM
natros Offline
Registered User
 
Join Date: Oct 2005
Posts: 18
linuxfedorafirefox
I'm trying your mplayer with vdpau support with the nvidia drivers in this post http://forums.fedoraforum.org/showthread.php?t=231340 but i'm having this problem:

$ mplayer -vo vdpau big_buck_bunny_1080p_h264.mov
MPlayer SVN-r29780-4.4.1 (C) 2000-2009 MPlayer Team
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.

Playing big_buck_bunny_1080p_h264.mov.
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x327b6c0]max_analyze_duration reached
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 2
VIDEO: [H264] 1920x1080 24bpp 24.000 fps 0.0 kbps ( 0.0 kbyte/s)
Clip info:
major_brand: qt
minor_version: 537199360
compatible_brands: qt
[vdpau] Could not open dynamic library libvdpau.so.1
Error opening/initializing the selected video_out (-vo) device.
================================================== ========================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
================================================== ========================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 1.4 (01.4) of 596.5 (09:56.4) 1.3%
Reply With Quote
  #13  
Old 21st October 2009, 11:30 PM
Hansvon Offline
Registered User
 
Join Date: Apr 2009
Posts: 83
linuxfedorafirefox
You need to specify -vc ffh264vdpau.
You can specify all vdpau codecs, like this: -vc ffh264vdpau,ffmpeg12vdpau,ffvc1vdpau,ffwmv3vdpau,
Note the comma at the end, this will make MPlayer look for another codec if the first four don't work on the file you're trying to play.

If you don't specify -vc, it seems MPlayer is trying to access libvdpau (it's not installed on your machine). On my PC, if libvdpau is installed and I don't specify -vc blabla, MPlayer doesn't automatically use ffh264vdpau: it uses ffh264, which is not accelerated.

Last edited by Hansvon; 22nd October 2009 at 03:20 AM.
Reply With Quote
  #14  
Old 23rd October 2009, 01:27 PM
Hansvon Offline
Registered User
 
Join Date: Apr 2009
Posts: 83
linuxfedorafirefox
I've removed mplayer on rawhide (moved to the old directories if someone needs it) because RPM Fusion now has this package with VDPAU enabled. I would suggest for people running rawhide now (fc12) to install their version.
Reply With Quote
  #15  
Old 20th November 2009, 06:05 AM
snhemanthm Offline
Registered User
 
Join Date: Sep 2009
Posts: 7
linuxfedorafirefox
Quote:
Originally Posted by Hansvon View Post
You need to specify -vc ffh264vdpau.
You can specify all vdpau codecs, like this: -vc ffh264vdpau,ffmpeg12vdpau,ffvc1vdpau,ffwmv3vdpau,
Note the comma at the end, this will make MPlayer look for another codec if the first four don't work on the file you're trying to play.

If you don't specify -vc, it seems MPlayer is trying to access libvdpau (it's not installed on your machine). On my PC, if libvdpau is installed and I don't specify -vc blabla, MPlayer doesn't automatically use ffh264vdpau: it uses ffh264, which is not accelerated.
Hi,

Was just going through this thread since I have problems using VDPAU too. I started MPlayer using the -vc options above but it still complains that it can't find libvdpau.so.1

I have a 9400M and my Nvidia driver version is 190.42 on Fedora 12. (The Nvidia proprietary driver for F12 is from RPMFusion nonfree testing-updates repo.

My 9400 mGPU should support VDPAU as per http://us.download.nvidia.com/XFree8...ppendix-a.html

Please let me know what I am doing wrong?
Reply With Quote
Reply

Tags
mplayer, nvidia, xbmc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
F11 - XBMC not starting MrFreddy Installation and Live Media 3 24th February 2010 09:14 PM
RPM: mplayer with vdpau support liangsuilong Using Fedora 22 20th November 2009 11:51 AM
Is Anyone Running XBMC? FergatROn Using Fedora 4 19th July 2009 04:39 PM
NVIDIA nForce built-in Gigabit MAC with external RTL8211CL-GR problem Jongi Servers & Networking 3 25th June 2009 03:51 PM
Xbmc EdmunTimberlane Using Fedora 39 2nd January 2009 12:37 PM


Current GMT-time: 01:49 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat