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. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  2. Intel Linux OpenGL Driver Leading Over Apple OS X
  3. The Cost Of Ubuntu Disk Encryption
  4. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
Latest Linux News
  1. A New X.Org-Free Wayland LiveCD Released
  2. Unity 8, Mir Made Progress This Week On Features
  3. LLVM Clang 3.3 RC2 Is Ready For Testing
  4. AMD RadeonSI Gallium3D Begins Simple CL Demos
  5. Intel Shows Off GNOME3-Based Tizen Shell
  6. Linux Desktop Security Could Be A Whole Lot Better
  7. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  8. New NVIDIA Linux Driver Supports The GeForce GTX 780
  9. Chrome 28 To Offer More Speed Improvements
  10. Digia Announces "Boot To Qt" Project
  11. X.Org Libraries Hit By Round Of Security Issues
Latest Forum Talk
  1. Debian GNU/Hurd 2013 Release Brings New Packages
  2. AMD RadeonSI Gallium3D Begins Simple CL Demos
  3. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  4. Steam: No used games...
  5. KDE 4.11 Will Be The Last Major KDE4 Workspaces...
  6. Linux Desktop Security Could Be A Whole Lot Better
  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