You are not logged in.

#1 2010-11-05 19:01:17

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

MPlayer and VDPAU help

I have got some problem with 1080P playback in MPlayer with VDPAU.

Tried playing this 1080P H264 MKV with extra/mplayer and aur/mplayer-svn. Both have similar (imperfect) results:

*) With `mplayer -vo vdpau -vc ffh264vdpau -noconfig all video.mkv`, I get low CPU usage (<5%) but A/V out of sync, and the video is a bit laggy, unwatchable.
*) With `mplayer -vo vdpau -vc ffh264 -noconfig all video.mkv`, I get high CPU usage (>30%) although the video seems to play fine.

The info of video.mkv:

$ mplayer -benchmark -ao null -vo null -identify -frames 0 -quiet -noconfig all video.mkv 2>/dev/null | grep '^ID_' | sort | uniq
ID_AID_0_LANG=jpn
ID_AID_0_NAME=AUDIO_JP
ID_AID_1_LANG=jpn
ID_AID_1_NAME=AUDIO_JP_2
ID_AID_2_LANG=jpn
ID_AID_2_NAME=AUDIO_JP_3
ID_AUDIO_BITRATE=0
ID_AUDIO_CODEC=ffflac
ID_AUDIO_FORMAT=61868
ID_AUDIO_ID=0
ID_AUDIO_ID=1
ID_AUDIO_ID=2
ID_AUDIO_NCH=2
ID_AUDIO_RATE=48000
ID_CHAPTERS=0
ID_DEMUXER=lavfpref
ID_EXIT=EOF
ID_FILENAME=video.mkv
ID_LENGTH=1451.74
ID_SEEKABLE=1
ID_START_TIME=0.00
ID_VID_0_NAME=VIDEO_JP
ID_VIDEO_ASPECT=1.7778
ID_VIDEO_BITRATE=0
ID_VIDEO_CODEC=ffh264
ID_VIDEO_FORMAT=H264
ID_VIDEO_FPS=24.000
ID_VIDEO_HEIGHT=1080
ID_VIDEO_ID=0
ID_VIDEO_WIDTH=1920

And the vdpau stuff my mplayer has:

$ mplayer -vo help | grep vdpau
        vdpau   VDPAU with X11
$ mplayer -vc help | grep vdpau
ffmpeg12vdpau ffmpeg    working   FFmpeg MPEG-1/2 (VDPAU)  [mpegvideo_vdpau]
ffwmv3vdpau ffmpeg    problems  FFmpeg WMV3/WMV9 (VDPAU)  [wmv3_vdpau]
ffvc1vdpau  ffmpeg    problems  FFmpeg WVC1 (VDPAU)  [vc1_vdpau]
ffh264vdpau ffmpeg    working   FFmpeg H.264 (VDPAU)  [h264_vdpau]
ffodivxvdpau ffmpeg    working   FFmpeg MPEG-4,DIVX-4/5 (VDPAU)  [mpeg4_vdpau]

The machine:

Geforce 8600M GT
nvidia driver 260.19.12
libvdpau 0.4-1
Core 2 Duo @1.66GHz

Any options/tricks/alternatives so I can play HD videos smoothly, yet at a low CPU usage?

Thanks in advance.


This silver ladybug at line 28...

Offline

#2 2010-11-05 19:44:20

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: MPlayer and VDPAU help

Bug in the nvidia driver. Both current 260.* drivers have it. Wait for the next driver release or create a really big swap partition. Like really big, several gigabytes big.

Offline

Board footer

Powered by FluxBB