Opened 15 years ago

Last modified 13 years ago

#1460 new defect

vdpau acceleration not used by default with mkv files

Reported by: mplayer@… Owned by: reimar
Priority: normal Component: vd
Version: HEAD Severity: normal
Keywords: Cc: mennucc1@…
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Using Ubuntu 9.04 AMD64, compiling MPlayer from SVN (I show "Last Changed Rev: 29256"), an x264 mkv file is not played with vdpau codec acceleration by default.

Using the command line option "-vc ffh264vdpau", I was able to force vdpau on, and having done this the video looked fine. I wasn't able to see any difference from software decode, the only way I was able to be sure it had done anything at all was that it printed "Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))", and the CPU usage went from ~40% to ~1%.

Change History (2)

comment:1 by mennucc1@…, 14 years ago

Cc: mennucc1@… added

I can confirm. Here are some lines of output from
# mplayer -vo vdpau -identify -quiet sample.mkv

ID_DEMUXER=mkv
ID_VIDEO_FORMAT=avc1
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=1280
ID_VIDEO_HEIGHT=574
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=2.2300
ID_AUDIO_FORMAT=8192
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=6
ID_LENGTH=8931.60
ID_SEEKABLE=1
ID_CHAPTERS=0
ID_VIDEO_CODEC=ffh264
ID_AUDIO_BITRATE=448000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_AUDIO_CODEC=ffac3
ID_VIDEO_ASPECT=2.2300

and this uses ~50% CPU (and that is even more than '-vo xv') ; whereas

# mplayer -vo vdpau -identify -quiet -vc ffh264vdpau sample.mkv

uses ~10% CPU .

a.

comment:2 by compn, 13 years ago

Owner: changed from r_togni@… to reimar
Note: See TracTickets for help on using tickets.