[MPlayer-users] VDPAU missing out on AMD

Peter White peter.white at posteo.net
Sat Dec 12 22:10:08 CET 2015


On 12/12/15 18:57, Mikus Grinbergs wrote:
> On 12/11/2015 02:07 PM, Dominik 'Rathann' Mierzejewski wrote:
>> Please provide vdpauinfo and mplayer -v your-options example-video
>> output.
>
> For Dominik:  http://pastebin.com/qbfg0ZU8

> CommandLine: '-v' '-vf' 'scale,lavc' '-vc''ffh264vdpau,ffhevcvdpau,ffvc1vdpau,' '-ao' 'alsa' '-lavdopts''threads=6' '-framedrop' 
'/run/media/mikus/51f2b46b-b649-4dfa-996b-8a5afb8d1c52/XXX/Hdef/4096.Elysium_trailer.avc-26.3!4-M5.1.mp4'
 > [...]
> Opening video filter: [lavc]
> libavcodec version 57.16.101 (internal)
> Configuration: --enable-gpl --enable-postproc
> Opening video filter: [scale]
> SwScale params: -1 x -1 (-1=no scaling)
 > ...

Again, your problem seems to be -vf scale,lavc. Have you tried without
it?

> My reason for using 'kino' is to save human effort in typing. Rather
> than each time typing one long command line, I preserve the required
> command syntax within a "batch file" named 'kino'.  Then I can use
> 'kino' to invoke MPlayer - and avoid potential typing fingerchecks.

There is nothing wrong with that, in your day-to-day use that is. But
it can make it unnecessarily more difficult to understand what is going
on. And there is always always copy and paste and the shell history to
make things easier.

> Peter - I am posting to describe what I saw (and NOT to ask: "How
> do I play such-and-such file?").

I get that.

> Even though I do not have HEVC  hardware, if I put in '-vo vdpau' and
> '-vc ffhevcvdpau,' and specify an hevc video -- MPlayer gives me an
> error message I did not expect.

Which error message did you not expect? An error or a warning is what I
would expect, if I were trying to use an unsupported codec.

"The selected video_out device is incompatible with this codec." is the
exact error message I get when I use any ff*vdpau in combination with
-vf filters. Those are software filters which cannot work, since the
video gets decoded by your graphics card and the undecoded frames go
directly to your screen and not again through the CPU, where those -vf
filters are executed.
So it is most certainly not "-vc ffhevcvdpau," that is causing an
error, because the trailing comma allows a fallback to other codecs.

If anything, that error message is misleading, because it is not the
video _codec_ that is incompatible with the output device but the video
_filter_.

> It is this behavior by MPlayer (and NOT whether putting in
> 'ffhevcvdpau' is in my case useless) that is the subject of this
> thread.

The part about ffhevcvdpau was just meant as a BTW, nothing more. And
you weren't exactly forthcoming with the information you just provided
above, so how would I know that to be the reason for having it in the
command?


Peter

P.S.: Would you please format your mails to a more readable line length?
(http://www.woodgate.org/FAQs/netiquette.html#NE5)


More information about the MPlayer-users mailing list