[MPlayer-users] xvmc - using hardware Motion Compensate decoder

Jouni.Lohikoski@iki.fi jlohikos at cc.hut.fi
Sat Apr 30 15:05:40 CEST 2005

I have mplayer compiled with --enable-xvmc --with-xvmclib=XvMCW
I have nVidia FX 5600.

It seems to work with MPEG1/2 files with options:
$ mplayer -vo xvmc -vc ffmpeg12mc test.mpg

However, if "vo=xvmc," and "vc=ffmpeg12mc," is put into
$HOME/.mplayer/config all other files which can not be handled by
ffmpeg12mc will not work. "The selected video_out device is incompatible
with this codec."
And if there is "vo=xv" then non MPEG1/2 files will work.

Is there a solution to make this work better, without having to use
and choose command line options manually every time when video file is

xvmc uses libXvMCW, which gets its configurariont from
/etc/X11/XvMCConfig. It then maps at run-time correctly to
libXvMCNVIDIA_dynamic.so.1, at least strace -eopen did show it does.

In some instructions it is recommended to use --with-xvmclib=XvMCNVIDIA,
but is this instruction obsoleted by XvMC wrapper usage?

Also, is there any way to use hardware MC with MPEG4 files?

(this question has cross reference to NV-message board:
<http://www.nvnews.net/vbulletin/showpost.php?p=598738&postcount=13> )

Beyond this post, I wonder if it would be possible to use nVidia's
GPUs to help encoding raw video to MPEG4. < http://www.gpgpu.org/ >

// jouni

More information about the MPlayer-users mailing list