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. SQLite Now Faster With Memory Mapped I/O
  2. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  3. Qt For Tizen Launches, Based On Qt 5.1
  4. KTAP Released For Linux Kernel Dynamic Tracing
  5. Linux 3.10-rc2 Kernel Takes In A Few Extra Pulls
  6. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  7. Handbrake 0.9.9 Supports OpenCL Offloading
  8. Freedreno Gallium3D Now Banging The Adreno A3XX
  9. Jolla Announces Their First Phone
  10. Mageia 3 Released, Still Using Legacy GRUB
  11. NetBSD 6.1 Brings In More Features
Latest Forum Talk
  1. Qt For Tizen Launches, Based On Qt 5.1
  2. Microsoft Releases Skype For Linux 4.2, Has...
  3. Intel Linux OpenGL Driver Leading Over Apple OS X
  4. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  5. Jolla Announces Their First Phone
  6. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  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