* [gentoo-user] vdpau-able ?
@ 2009-08-09 7:25 meino.cramer
2009-08-09 9:26 ` Alan McKinnon
2009-08-09 17:38 ` Manuel Fiorelli
0 siblings, 2 replies; 7+ messages in thread
From: meino.cramer @ 2009-08-09 7:25 UTC (permalink / raw
To: Gentoo
Hi,
as far as I think to know ;) (quite unsure about this), NVidia
has introduced a new protocol (?something like this), which is
useful for less-CPU-consumpting display of video streams.
MPlayer (and may be other video-related applikations) does
support vdpau.
First tests on my Linux-box with
mplayer -vo vdpau <video>
results in a movie "display" with best audio, no video at all
and concerns from mplayer:
[vdpau] Error when calling vdp_device_create_x11: 1
Error opening/initializing the selected video_out (-vo) device.
Unfortunately I have absolutely no clue for waht I have to search
for.
What/where I have to reconfig/recompile/install/etc. to make my Linux
box vdpau-aware.
Or is it such a new thing, that I better have to keep my fingers off
that?
Have a nice sunday!
Best regards,
Meino Cramer
--
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] vdpau-able ?
2009-08-09 7:25 [gentoo-user] vdpau-able ? meino.cramer
@ 2009-08-09 9:26 ` Alan McKinnon
2009-08-09 17:38 ` Manuel Fiorelli
1 sibling, 0 replies; 7+ messages in thread
From: Alan McKinnon @ 2009-08-09 9:26 UTC (permalink / raw
To: gentoo-user
On Sunday 09 August 2009 09:25:08 meino.cramer@gmx.de wrote:
> Hi,
>
> as far as I think to know ;) (quite unsure about this), NVidia
> has introduced a new protocol (?something like this), which is
> useful for less-CPU-consumpting display of video streams.
>
> MPlayer (and may be other video-related applikations) does
> support vdpau.
>
> First tests on my Linux-box with
>
> mplayer -vo vdpau <video>
>
> results in a movie "display" with best audio, no video at all
> and concerns from mplayer:
>
> [vdpau] Error when calling vdp_device_create_x11: 1
Well, I entered this exact line above into google and the first two hits took
me to the NVNews forum where you will find heaps of help. Such as:
-not every nvidia card supports it
-not every nvidia driver supports it
-you must run the nvidia bug reporting tool to find out if you can use it
-as of February, vdpau and xinerama were incompatible
You'll get better quality help at NVNews than here, as the nvidia devs watch
that forum and do respond.
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] vdpau-able ?
2009-08-09 7:25 [gentoo-user] vdpau-able ? meino.cramer
2009-08-09 9:26 ` Alan McKinnon
@ 2009-08-09 17:38 ` Manuel Fiorelli
2009-08-09 18:10 ` Manuel Fiorelli
1 sibling, 1 reply; 7+ messages in thread
From: Manuel Fiorelli @ 2009-08-09 17:38 UTC (permalink / raw
To: gentoo-user
2009/8/9 <meino.cramer@gmx.de>:
> as far as I think to know ;) (quite unsure about this), NVidia
> has introduced a new protocol (?something like this), which is
> useful for less-CPU-consumpting display of video streams.
>
> MPlayer (and may be other video-related applikations) does
> support vdpau.
Thanks for point out this. I didn't know that NVidia introduced such
an important feature.
> First tests on my Linux-box with
>
> mplayer -vo vdpau <video>
>
> results in a movie "display" with best audio, no video at all
> and concerns from mplayer:
Your command didn't work for me, too. First, I checked that my video
card was capable of supporting
this new API. Then, I updated the nvidia video driver and recompiled
mplayer. For mplayer, make sure
to activate the local use flag vdpau.
Manuel Fiorelli
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] vdpau-able ?
2009-08-09 17:38 ` Manuel Fiorelli
@ 2009-08-09 18:10 ` Manuel Fiorelli
2009-08-10 17:38 ` Nich
0 siblings, 1 reply; 7+ messages in thread
From: Manuel Fiorelli @ 2009-08-09 18:10 UTC (permalink / raw
To: gentoo-user
2009/8/9 Manuel Fiorelli <manuel.fiorelli@gmail.com>:
> 2009/8/9 <meino.cramer@gmx.de>:
>> First tests on my Linux-box with
>>
>> mplayer -vo vdpau <video>
>>
>> results in a movie "display" with best audio, no video at all
>> and concerns from mplayer:
>
> Your command didn't work for me, too. First, I checked that my video
> card was capable of supporting
> this new API. Then, I updated the nvidia video driver and recompiled
> mplayer. For mplayer, make sure
> to activate the local use flag vdpau.
Assuming that you want to playback a H.264 video, then right command should be
mplayer -vo vdpau -vc ffh264vdpau <file>
to force the selection of the HW accelerated codec from FFMPEG. Can
anyone confirm that?
Manuel Fiorelli
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] vdpau-able ?
2009-08-09 18:10 ` Manuel Fiorelli
@ 2009-08-10 17:38 ` Nich
2009-08-10 17:47 ` Manuel Fiorelli
2009-08-11 15:32 ` Grant
0 siblings, 2 replies; 7+ messages in thread
From: Nich @ 2009-08-10 17:38 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1536 bytes --]
On Mon, Aug 10, 2009 at 03:40, Manuel Fiorelli
<manuel.fiorelli@gmail.com>wrote <snip>:
> Assuming that you want to playback a H.264 video, then right command should
> be
>
> mplayer -vo vdpau -vc ffh264vdpau <file>
>
> to force the selection of the HW accelerated codec from FFMPEG. Can
> anyone confirm that?
>
This is correct.
To use VDPAU hardware acceleration you need to specify a hardware codec also
- As I use VDPAU all the time i have this configured in my mplayer config
(~/.mplayer/config) as so:
vo=vdpau
vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,
Which lists all of the VDPAU codecs, and allows for fallback to the other
codecs if a matching codec cant be found (thats what the trailing , is for).
I have never had an issue with video in this setup.
If you wish to run that from the command line I beleve the command would be:
`mplayer -vo vdpau -vc ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,
<file>`
My understanding is the VDPAU works on all GeForce 8 series or better cards
(8*** 9*** 2**), I'm not sure what driver version you need to use VDPAU,
however its working for me with 180.60. However I have only tested this with
a 9600GT and a 8600GT.
As for it working with Xinerama, I can't comment - however it seams to work
_mostly_ using NVidia's TwinView which seams to provides all of the Xinerama
information to the desktop (ie. windows don't maximize over all my monitors,
just one). (As for the 'mostly' I only realy have an issue with subtitles,
particulay if I pass -ass to mplayer)
Nich
[-- Attachment #2: Type: text/html, Size: 1934 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] vdpau-able ?
2009-08-10 17:38 ` Nich
@ 2009-08-10 17:47 ` Manuel Fiorelli
2009-08-11 15:32 ` Grant
1 sibling, 0 replies; 7+ messages in thread
From: Manuel Fiorelli @ 2009-08-10 17:47 UTC (permalink / raw
To: gentoo-user
2009/8/10 Nich <narthollis@gmail.com>:
> To use VDPAU hardware acceleration you need to specify a hardware codec also
> - As I use VDPAU all the time i have this configured in my mplayer config
> (~/.mplayer/config) as so:
>
> vo=vdpau
> vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,
>
> Which lists all of the VDPAU codecs, and allows for fallback to the other
> codecs if a matching codec cant be found (thats what the trailing , is for).
> I have never had an issue with video in this setup.
> If you wish to run that from the command line I beleve the command would be:
> `mplayer -vo vdpau -vc ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,
> <file>`
Interesting... I found on the web a similar command-line, but I didn't
understand the meaining
of the traling comma.
I think that I will modifiy my ~/.mplayer/config too.
Manuel Fiorelli
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] vdpau-able ?
2009-08-10 17:38 ` Nich
2009-08-10 17:47 ` Manuel Fiorelli
@ 2009-08-11 15:32 ` Grant
1 sibling, 0 replies; 7+ messages in thread
From: Grant @ 2009-08-11 15:32 UTC (permalink / raw
To: gentoo-user
> wrote <snip>:
>>
>> Assuming that you want to playback a H.264 video, then right command
>> should be
>>
>> mplayer -vo vdpau -vc ffh264vdpau <file>
>>
>> to force the selection of the HW accelerated codec from FFMPEG. Can
>> anyone confirm that?
>
> This is correct.
>
> To use VDPAU hardware acceleration you need to specify a hardware codec also
> - As I use VDPAU all the time i have this configured in my mplayer config
> (~/.mplayer/config) as so:
>
> vo=vdpau
> vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,
>
> Which lists all of the VDPAU codecs, and allows for fallback to the other
> codecs if a matching codec cant be found (thats what the trailing , is for).
> I have never had an issue with video in this setup.
> If you wish to run that from the command line I beleve the command would be:
> `mplayer -vo vdpau -vc ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,
> <file>`
>
> My understanding is the VDPAU works on all GeForce 8 series or better cards
> (8*** 9*** 2**), I'm not sure what driver version you need to use VDPAU,
> however its working for me with 180.60. However I have only tested this with
> a 9600GT and a 8600GT.
>
> As for it working with Xinerama, I can't comment - however it seams to work
> _mostly_ using NVidia's TwinView which seams to provides all of the Xinerama
> information to the desktop (ie. windows don't maximize over all my monitors,
> just one). (As for the 'mostly' I only realy have an issue with subtitles,
> particulay if I pass -ass to mplayer)
>
> Nich
There is also a xine-vdpau project which is necessary for vdpau
support in miro, vdr, and others. There's a *.9999 ebuild for it in
the berkano overlay. To use vdpau with miro, launch miro like this:
miro --set xine-driver=vdpau
The problem I'm having with it is with Blu-Ray rips. The problem is
described here and a patch is included:
http://www.nabble.com/Re:--xine-user--No-audio-from-Blu-Ray-rips-td23121024.html
The problem is that the patch can't be applied to xine-vdpau because
it was synced with xine-lib so long ago. I'm waiting for xine-vdpau
to be integrated into xine-lib so the patch can be applied.
- Grant
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-08-11 15:32 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-09 7:25 [gentoo-user] vdpau-able ? meino.cramer
2009-08-09 9:26 ` Alan McKinnon
2009-08-09 17:38 ` Manuel Fiorelli
2009-08-09 18:10 ` Manuel Fiorelli
2009-08-10 17:38 ` Nich
2009-08-10 17:47 ` Manuel Fiorelli
2009-08-11 15:32 ` Grant
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox