DirectX Video Acceleration For MPlayer

Posted by Michael Larabel on April 23, 2011

Part of the beauty of open-source software is that anyone is free to work on whatever code they wish. For some developers this means working on open-source graphics drivers for old GPUs, for some it may be working on a game or desktop application, and for others it may mean bringing Microsoft DXVA support to open-source multi-media software. There's now a branch of MPlayer that supports Microsoft's DirectX Video Acceleration API.

On Gitorious is this project for bringing DXVA support over to MPlayer so that H.264/MPEG-4 AVX and VC-1 streams can be done on supportive GPUs and drivers. DXVA is only supported under the Microsoft Windows drivers.

GPU-based Linux video acceleration in MPlayer is already well supported with VA-API, VDPAU, XvMC, and X-Video being among the APIs being supported. VA-API and VDPAU are, of course, the premiere Linux video APIs that are capable of offloading most of the playback process to the graphics processor. Both do a splendid job and cover most of the hardware and drivers, while the Nouveau / Radeon open-source drivers are the only drivers lacking support for either API at the moment, but that will hopefully change soon in the Gallium3D world.

The proprietary Catalyst driver supports interfacing with VA-API applications when using the Splitted Desktop Systems' VA-API to XvBA translation library. X-Video Bitstream Acceleration is the native format AMD exposes by their binary Linux blob for exposing the UVD2/UVD3 engine. XvBA resembles Microsoft's DXVA, so this new MPlayer support may help out anyone interested in a native XvBA implementation for MPlayer, but there's no word of anyone acting on that at the moment.

It would have been fairly interesting if instead there was a VA-API to DXVA library so any VA-API supportive application could support Microsoft's video acceleration format under Windows, but instead, for anyone interested there's now a native DXVA implementation for MPlayer.

Besides Windows itself, DXVA is also used on Microsoft's Xbox 360 game console. DXVA has been around since the days of Windows 2000 but in Windows Vista/7 is DXVA 2.0 that is capable of accelerating more operations, including the video capturing process.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Digia Announces "Boot To Qt" Project
  2. X.Org Libraries Hit By Round Of Security Issues
  3. Wayland's Weston Gets Output Scaling Support
  4. Raspberry Pi Gets New Wayland Weston Renderer
  5. Debian GNU/Hurd 2013 Release Brings New Packages
  6. Intel Ultrabook Performance Is Faster With Mesa 9.2
  7. Hot Relocation HDD To SSD Support For Btrfs
  8. Phoronix Test Suite 4.6.0 "Utsira" Released
  9. New Intel X.Org Driver Supports All Of Haswell
  10. SQLite Now Faster With Memory Mapped I/O
  11. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
Latest Forum Talk
  1. Debian GNU/Hurd 2013 Release Brings New Packages
  2. Raspberry Pi Gets New Wayland Weston Renderer
  3. AMD Catalyst 13.4 Final
  4. Wayland's Weston Gets Output Scaling Support
  5. Fedora 18 Comes To ARMv6, Raspberry Pi
  6. Microsoft Releases Skype For Linux 4.2, Has...
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite