Phoronix Forums  

Go Back   Phoronix Forums > Linux Graphics / X.Org Drivers > NVIDIA Linux

NVIDIA Linux Both NVIDIA's closed-source and open-source drivers can be discussed here.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-05-2009, 02:20 PM
phoronix phoronix is offline
Phoronix News Bot
 
Join Date: Jan 2007
Posts: 3,103
Default FFmpeg Gets Mainline VDPAU Support

Phoronix: FFmpeg Gets Mainline VDPAU Support

When NVIDIA introduced VDPAU support in November for providing excellent GPU playback support on Linux they released a set of patches that enabled the Video Decode and Presentation API for Unix support within the FFmpeg and MPlayer projects. Initially it looked like these patches would not be accepted into the mainline code-base, but committed to the FFmpeg repository last night was support for VDPAU.This patch adds in support for hardware-accelerated H.264 video decoding using VDPAU...

http://www.phoronix.com/vr.php?view=Njk3MQ
Reply With Quote
  #2  
Old 01-05-2009, 02:48 PM
[Knuckles] [Knuckles] is offline
Senior Member
 
Join Date: Jun 2006
Posts: 157
Default

If this means that we can have VDPAU in XBMC Media Center it would TOTALLY ROCK.

Nvidia, sell me one of those small boxes with atom and a nvidia chipset NOW!
Reply With Quote
  #3  
Old 01-05-2009, 02:59 PM
deanjo deanjo is offline
Senior Member
 
Join Date: May 2007
Posts: 2,929
Default

Quote:
Originally Posted by [Knuckles] View Post
If this means that we can have VDPAU in XBMC Media Center it would TOTALLY ROCK.

Nvidia, sell me one of those small boxes with atom and a nvidia chipset NOW!
Well it was one of the major reasons for it not being integrated in XBMC. Now that objection is gone.

BTW: New ffmpeg packages supporting vdpau are already packaged up for opensuse on the Packman repo

Last edited by deanjo; 01-05-2009 at 03:04 PM.
Reply With Quote
  #4  
Old 01-05-2009, 03:32 PM
yoshi314 yoshi314 is offline
Senior Member
 
Join Date: Sep 2006
Location: PL
Posts: 791
Default

i find it hard to believe. i thought ffmpeg would always steer clear from having proprietary dependencies (such as nvidia driver backend in this case, unless i am missing something).

oh well, i guess i was wrong.
Reply With Quote
  #5  
Old 01-05-2009, 03:40 PM
bridgman bridgman is offline
AMD Linux
 
Join Date: Oct 2007
Posts: 3,477
Default

It seems like an easy way to avoid being bypassed in the future. That might sound harsh but I don't mean it that way. Right now ffmpeg is a pretty universal solution and lots of things build on it, but as full decode APIs start getting added to drivers the player devs could simply bypass ffmpeg and go straight to the driver. If ffmpeg includes a path to VDPAU it means player developers don't have to change anything and can keep using ffmpeg as they did before.

They probably feel a bit dirty, but the alternatives all require about 20x as much work and a lot more time...
Reply With Quote
  #6  
Old 01-05-2009, 04:06 PM
myxal myxal is offline
Junior Member
 
Join Date: Feb 2008
Posts: 46
Question Re:"proprietary backend"??

I was under the impression the API was public? As long as that's true, what does it matter that the only implementation so far is proprietary?

And with that in mind, now that we have an acceleration API that's used in (most of?) the Linux video players, question at bridgman or whoever's got docs to Radeon ASICs - would it be (theoretically) possible to implement VDPAU in radeon or radeonHD? If so, what's your take on it - would you support it?
Reply With Quote
  #7  
Old 01-05-2009, 04:18 PM
Vadi Vadi is offline
Phoronix Test Suite Contributor
 
Join Date: Dec 2007
Posts: 461
Default

That code is mind-warping.
Reply With Quote
  #8  
Old 01-05-2009, 04:20 PM
russofris russofris is offline
Junior Member
 
Join Date: Jan 2009
Posts: 23
Default

Hi there,

While this is a nice + for the video playback crowd, what does this mean to those that do transcoding (via mencoder or, well, transcode). Has anyone had the opportunity to compare performance under ffmpeg-enabled video applications.

I realize that VDPAU only supports decode, but it should certainly have an effect on video content creators and editors mixing down multiple h264 streams.

F
Reply With Quote
  #9  
Old 01-05-2009, 04:22 PM
eric.frederich eric.frederich is offline
Junior Member
 
Join Date: Oct 2007
Posts: 13
Default tearing

Will this get rid of video tearing in Linux?

I get it on 2 different systems with NVidia cards. I have tried different mplayer -vo options. Tried Totem, and other players. I have sync to vblank enabled when I go to the nvidia x server settings gui.
Reply With Quote
  #10  
Old 01-05-2009, 04:23 PM
myxal myxal is offline
Junior Member
 
Join Date: Feb 2008
Posts: 46
Default

Quote:
Originally Posted by Vadi View Post
That code is mind-warping.
Hmm, anyone looked at nVidia's diagram? >
ftp://download.nvidia.com/XFree86/vd..._data_flow.png

[sarcasm]"Can't you see? It's perfectly clear!!" [/sarcasm]
Reply With Quote
Reply

Thread Tools
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


All times are GMT -5. The time now is 05:24 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2009 by Phoronix Media.