Tuesday, December 15, 2009

VDPAO acceleration in Fedora

Need binary nVidia drivers first, not Fedora drivers. (kmod-nvidia / xorg-x11-drv-nvidia)

Check with
yum provides */libvdpau.so.1

which leads you to install

yum install libvdpao

current mplayer has libvdpao support

[rmoore@localhost ~]$ mplayer -vo vdpau -vc ffh264vdpau ironman_trlr_02_720p_dl.mov
MPlayer SVN-r29701-4.4.1 (C) 2000-2009 MPlayer Team

Playing ironman_trlr_02_720p_dl.mov.
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xac02db0]max_analyze_duration reached
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO: [H264] 1280x544 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] XVMC-accelerated MPEG-2.
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] XVMC-accelerated MPEG-2.
VDec: vo config request - 1280 x 544 (preferred colorspace: H.264 VDPAU acceleration)
VDec: using H.264 VDPAU acceleration as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1280x544 => 1280x544 H.264 VDPAU acceleration [fs]

No comments: