Broadcom Crystal HD Support For MPlayer, FFmpeg

Posted by Michael Larabel on January 01, 2011

While those using the NVIDIA binary display driver with any modern GeForce graphics processor have great accelerated video playback on the GPU right now via VDPAU, as a GPU-independent way to offload the video playback acceleration from the CPU there s Broadcom's Crystal HD adapter, which is backed by open-source Linux drivers. The Crystal HD has already been tapped by XBMC and other free software projects, but new patches are available to utilize this technology within MPlayer and FFmpeg.

Philip Langdale has been the one primarily working on these patches to implement Broadcom Crystal HD support within FFmpeg and MPlayer. While the patches haven't yet landed in the mainline code-bases, they are reported to be usable and the patches are currently undergoing review.

These patches right now are in a state to allow MPlayer playback to work on the Broadcom Crystal HD 70015 ASIC with all content types except for DivX 3.11. Thus what can be accelerated right now on this Broadcom PCI Express adapter is MPEG 1/2, H.264, VC-1, MPEG-4 Part 2, and XviD. Progressive content and interlaced MPEG-2/H.264 content also can be accelerated. This support though isn't as in great shape for the older Broadcom Crystal HD 70012 adapter as its hardware design is significantly different and these Crystal HD processors don't comply with a common acceleration API like VDPAU or VA-API.

In terms of MPlayer performance with Crystal HD, Philip states, "As all codec work is done in hardware, the CPU utilization is purely based on the video resolution – almost all the time is spent copying frames back and forth. In my very unscientific tests, my old 2.2GHz Core 2 Duo laptop can play 1080p content at 25% of a core compared to 70-100% for software decoding. Also note that the X server (and window manager if you use a composited desktop) will burn measurable amounts of CPU time to display the frames. It’s supposed to be possible to do 1080p playback on a single-core Atom, but I'm not in a position the test that. Nevertheless, the benefits are clear."

You can read more (including the Git and SVN trees that need cloning if you wish to try it out) on Philip's blog.

With VDPAU on NVIDIA hardware right now, you can achieve HD video playback with a $20 CPU and $30 GPU (or less) in most any Linux multi-media application right now, including Adobe Flash.

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. Wayland's Weston Gets Output Scaling Support
  2. Raspberry Pi Gets New Wayland Weston Renderer
  3. Debian GNU/Hurd 2013 Release Brings New Packages
  4. Intel Ultrabook Performance Is Faster With Mesa 9.2
  5. Hot Relocation HDD To SSD Support For Btrfs
  6. Phoronix Test Suite 4.6.0 "Utsira" Released
  7. New Intel X.Org Driver Supports All Of Haswell
  8. SQLite Now Faster With Memory Mapped I/O
  9. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  10. Qt For Tizen Launches, Based On Qt 5.1
  11. KTAP Released For Linux Kernel Dynamic Tracing
Latest Forum Talk
  1. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  2. Using Six Monitors With AMD's Open-Source Linux...
  3. Humble Indie Bundle Finally Sells Out
  4. Wayland's Weston Gets Output Scaling Support
  5. Microsoft Releases Skype For Linux 4.2, Has...
  6. Linux Kernel Closer To Having Apple IR Support
  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