[MPlayer-users] VDPAU missing out on AMD

Peter White peter.white at posteo.net
Sat Dec 12 13:44:52 CET 2015


On 12/12/15 08:04, Mikus Grinbergs wrote:
>> Please provide vdpauinfo and mplayer -v your-options example-video
>> output.
>
> See http://pastebin.com/w1scqC2P

> ######################################################################
> # mplayer -v
> #
> # I'm not sure what you are asking for ...

You are supposed to run your usual mplayer command with the -v option
added. That means playing an actual video, i.e.:
$ mplayer -v -vc ffh264vdpau,ffvc1vdpau, -vo vdpau video.mkv

> ... or what this will tell you

The -v option increases the verbosity level to see more of what is
going on.

 > ######################################################################
 > # mplayer video output when succeeds
 > ######################################################################
 >
 > [mikus at Juris ~]$ kino 
/run/media/mikus/51f2b46b-b649-4dfa-996b-8a5afb8d1c52/XXX/Hdef/1920.imax_digital_preshow.avc-13.6\!4-H4.1.mkv
 > ...
 > Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
 > ...

That's software decoding, because you did not specify ffh264vdpau. Also,
what is kino? Please use plain mplayer.

> The command line which gets an error is
>>     export LIBVA_DRIVER_NAME=vdpau
>>     export VDPAU_DRIVER=radeonsi
>>     $vpgm -vf scale,lavc  -vc ffh264vdpau,ffhevcvdpau,ffvc1vdpau, -ao
>> alsa -lavdopts threads=6 -framedrop  $1 $2 $3 $4 $5

Try -vf-clr instead of your -vf options, i.e.:

$ mplayer -v -vf-clr -vc ffh264vdpau,ffvc1vdpau, -vo vdpau video.mkv

Or just don't use any -vf* options at all, then you won't need -vf-clr.
Software video filters don't work with vdpau hardware decoding in
mplayer.
Plus, your Radeon 7770 does not support the HEVC codec, so ffhevcvdpau
is useless; mplayer will fallback to software decoding anyway.

Peter


More information about the MPlayer-users mailing list