XvMC (简体中文)
Jump to navigation
Jump to search
X-视频运动补偿 (XvMC) 是一个X.Org Server的扩展。XvMC API可以让视频程序转移部分解码工作到GPU。Particularly, features that have the tendency of heavily depending on the processor. Since XvMC acceleration takes the load off the CPU, thereby reducing processor requirements for video playback, it is an ideal solution for HDTV video playback scenarios.
Contents
支持的硬件
Only MPEG-1 and MPEG-2 videos are supported by all driver.
- NVIDIA GeForce 6 and GeForce 7 series cards are supported by the proprietary nvidia-304xx-utils[断开的链接:package not found] package, available in the 官方软件仓库.
- NVIDIA GeForce 5 FX series cards are supported by the proprietary nvidia-173xx-utilsAUR[断开的链接:package not found] package, available in the AUR.
- NVIDIA GeForce4 series cards are supported by the proprietary nvidia-96xx-utilsAUR[断开的链接:package not found] package, available in the AUR.
- Intel 810, GMA 950, GMA 3100, GMA 3000, GMA 4500 series and Ironlake GPUs are supported by the open source xf86-video-intel package, available in the 官方软件仓库.
- AMD Radeon HD 5000 series and newer GPUs are supported by the proprietary catalyst-utilsAUR package, available in the AUR.
- AMD Radeon HD 4000 series GPUs are supported by the proprietary catalyst-total-hd234kAUR package, available in the AUR.
- S3 Graphics UniChrome GPUs are supported by the open source xf86-video-openchrome package, available in the 官方软件仓库.
配置
The open source drivers should work without any configuration. For the proprietary drivers create a new file /etc/X11/XvMCConfig
and add:
- For NVIDIA GPUs:
libXvMCNVIDIA_dynamic.so.1
- For AMD GPUs:
libAMDXvBA.so.1
支持的软件
Tip: Using full screen mode and disabling GUI elements may prevent flickering while playing the video.
MPlayer
Install mplayer package, available in the 官方软件仓库.
$ mplayer -vo xvmc -fs foobar.mpeg
- -vo - Select xvmc video output driver
- -fs - Fullscreen playback (optional)
MPlayer based players:
- gnome-mplayer: open preferences and set the video output to "xvmc", and select "Enable Video Hardware Support".
- smplayer: open preferences and set the video driver to "xvmc", and deselect "Enable screenshots".
xine
Install xine-ui package, available in the 官方软件仓库.
$ xine -V xvmc -f -g --no-splash foobar.mpeg
or
$ xine -V xxmc -f -g --no-splash foobar.mpeg
- -V - Select the xvmc or xxmc video driver
- -f - Start in fullscreen mode (optional)
- -g - Hide GUI (optional)
- --no-splash - Don't display the splash screen (optional)