|
|
Subscribe / Log in / New account

XBMC 11 "Eden"

Please consider subscribing to LWN

Subscriptions are the lifeblood of LWN.net. If you appreciate this content and would like to see more of it, your subscription will help to ensure that LWN continues to thrive. Please visit this page to join up and keep LWN on the net.

February 8, 2012

This article was contributed by Nathan Willis

XBMC, the open source media center, has steadily grown from its humble origins as an X-Box only replacement environment into the cross-platform, de facto playback front-end for multimedia content. It merges the file-centric approach taken by traditional video players with an add-on scripting environment that handles remote web content. The project is currently finalizing its next major release, version 11.0 (codenamed Eden), which includes updates to the networking and video acceleration subsystems, broader hardware support, and numerous changes to the APIs available to add-on developers.

[XBMC home screen]

Granted, there are plenty of other "media center" projects under active development at the moment, most of which also employ FFmpeg and can play back the majority of the same content types. Where XBMC differentiates itself, however, is with its auto-detection of critical settings and the deep integration it provides across its (wide) range of networking and content-delivery protocols. For example, XBMC auto-detects the presence of Universal Plug-and-Play (UPnP) servers and HDHomeRun tuner devices on the network, while too many other media centers require the user to come with the requisite connection details written down.

Similarly, we no longer live in a world where the bulk of our media content consists of local or LAN-available files. XBMC's add-on system permits developers to write site- or service-specific extensions that integrate commercial content creators' home-brewed Flash video delivery sites neatly into the overall interface. Other media center applications work at the task too, but over time the projects has earned itself a reputation for playing host to high-quality add-ons that stay current with changes rolled out on the sites themselves.

[XBMC add-ons]

Starting with the last major release, 10.0, XBMC has hosted its own add-on repository, making such add-ons instantly installable from the main UI. The project wiki maintains a list of active add-ons, including those not found in the official repository, broken down by version compatibility and add-on type. It includes the site-specific content add-ons, plus many that add new functionality (games, torrent support, electronic program guides) and plug-ins to support new data sources (Icecast streams, MythTV servers, and fetching lyrics, cover images, and program metadata from around the web). There are a handful of commercial services that permit XBMC add-ons to use their APIs (such as Grooveshark), but if your interest is primarily in paid services, most of those companies take steps to make add-ons for XBMC and other open source media centers incompatible — even when they permit in-browser playback.

User-visible changes in Eden

[XBMC home screen]

Speaking of add-ons, one of the most original ideas to debut in XMBC 11 is the ability to roll-back add-ons to a previous version. Clearly that feature is not expected to be used when the update to an add-on is designed to repair breakage with the package's screen-scraping capabilities, but it may prove popular with users when an add-on update makes a bad UI decision or implements a questionable new feature. Linux users may associate package rollback with risky options to forcibly downgrade packages, but XBMC add-ons are independent of each other. A closer comparison would be to Firefox and Thunderbird's add-ons, but they offer no such rollback mechanism.

XBMC's user interface is also one of its major selling points - both in its ease-of-use and its ease-of-configurability. The Eden release introduces a newly renovated default skin named "Confluence," which is the first default skin to use a horizontal main-menu layout. That decision wastes slightly less screen space, considering the popularity of 16:9 and 16:10 aspect ratios.

But a more practical feature is that users can now add any item they want to the home screen's menu — in previous releases, all add-ons were relegated to the "Programs" submenu, which is a hassle for heavy add-on users. Naturally, users can also remove menu items — which I did immediately to the "Weather" entry (whose prominent place on the home menu has always felt awkward). The new UI also sports multiple selections (when using a mouse), touch or gesture input (presumably for tablet users), and auto-login (for users running XBMC in a kiosk setting). Users can also search for installable add-ons by keyword from within XBMC itself, which is far faster than manually scrolling through screen after screen of available add-ons with a remote control.

The application attempts to present all of the available media resources in a particular category (photos, audio, or video) together in one place, regardless of origin. This release adds support for five new content source types: NFS shares, Apple Filing Protocol (AFP) shares, Slingboxes, Apple AirPlay devices, and "disc stubs" of un-mounted DVD or Blu-Ray discs. The Slingbox is an embedded video streaming device that can be connected to component or HDMI video sources. AirPlay is Apple's brand name for streaming media over the LAN from iPod and other iOS devices.

The disc stub feature is intended to help users organize their physical media, indexing the contents of discs for searchability — you would still have to physically load the discs in order to play back their contents. However, the new release also adds support for treating ISO files as virtual disk volumes, so if lugging the discs back and forth across the room is too taxing, XBMC has you covered there, too. There are other minor tweaks in this arena, too, such as the elimination of an artificial distinction between local "files" and the user's "library." From now on, all the files that XBMC knows about can be browsed together.

Finally, there is a major upgrade to the application's subtitle support, including support for subtitles embedded within MP4 files, and support for rendering subtitles with the style tags (covering font selection, text color, and italics/boldface) found in several external subtitle file formats.

New technical features

Arguably the biggest "silent" feature in XBMC 11.0 is full support for the Video Acceleration API (VAAPI), Freedesktop.org's hardware-agnostic API for GPU acceleration of video decoding. XBMC is officially dropping support for the older, MPEG2-only XvMC in favor of VAAPI, which supports hardware-accelerated decoding of more formats, on Nvidia, Intel, and ATI graphics chips. VAAPI is a Linux-only feature, of course — on Mac OS X 10.6 or later, XBMC uses Apple's Video Decode Acceleration Decoder (VDADecoder) hardware acceleration instead, and on recent Windows systems it uses Microsoft's DirectX Video Acceleration (DxVA). Linux boxes can also use OpenMAX for hardware video acceleration, which is most useful for systems built on Nvidia's Tegra2 platform.

The user interface itself uses OpenGL, OpenGL ES, or EGL, so it, too, can be hardware accelerated. Use of GPU acceleration for both video decoding and the GUI reduces XBMC's CPU requirements considerably, and 11.0 officially introduces support for several more low-resource systems. On the Linux side, this includes Texas Instruments OMAP4 processors. On the Apple side, it includes better support for recent iOS 4.x devices (including recent iPads and AppleTVs). But for those who still rely on their CPUs, regardless of the platform, XBMC can now detect CPU features like SSE and MMX at runtime.

Apart from hardware concerns, this release introduces a revamped JSON-RPC subsystem, which is primarily of interest to add-on developers. The changes are substantial, as the goal was to make XBMC's implementation compliant with the JSON-RPC 2.0 specification. The add-ons subsystem uses Python scripting, and in another important change for developers, 11.0 drops XBMC's bundled Python implementation in favor of using the system Python library. This is more in keeping with XBMC's reliance on OS libraries for other functionality (such as protocol stacks), although the project still uses its own media renderers for images, video, and audio content. Because the host OS's Python version may differ from the bundled library found in older XBMC releases, there is a backwards-compatibility mode that add-on developers can invoke.

Add-on authors have three other new features at their disposal from 11.0 on. The first is an XML storage system allowing each add-on to save user preferences in its own private file. The second is a set of hooks to display progress-meters on screen for the user's benefit, a feature designed to improve feedback when buffering web video. Finally, previous releases of XBMC allowed for a web-based control interface, which could be exploited to bring remote-control-like features to arbitrary tablets and mobile phone browsers in addition to desktops. With the new release, each add-on package can also provide a separate web-interface of its own, which simply makes more features accessible to users not near an infrared remote.

The view from 10 feet back

If I were to channel my inner couch potato, I would have to admit that my favorite improvements in XBMC 11.0 are of the cosmetic variety — namely, the new and greatly-improved theme, the ability to customize the home menu, and the unification of media content regardless of the source. That may sound superficial, but in my experience, building a remote-control-friendly UI is one the highest hurdles in open source software development: many try, few, if any, succeed. XBMC may fare better than the Linux-only media centers because it has a substantial following among Windows and OS X users, thus giving it exposure to far more testing and feedback. But whatever the reason, in practical usage XBMC comes the closest to feeling like a genuine OEM consumer electronics product.

Digging deeper, though, the VAAPI support is an important milestone, too. VAAPI has been a long time coming, but in 2011 and now 2012, it appears to be hitting the mainstream. Low-power set-top boxes are certainly where VAAPI makes the most sense — at SCALE 10X in January, one of the most talked about booths was the demonstration of XBMC 11.0 running on a $25 Raspberry Pi board. There are already plenty of niche commercial products built on top of XBMC, but when HD video is available on a $25 board, it will be hard for Apple and Microsoft to compete.

To see the impact of the changes to the add-on development APIs, we may have to wait, but the project's add-on community has earned the benefit of the doubt. Sadly, at the moment the Linux builds of the most recent XBMC Eden have yet to land: Beta 1 is available for download, but Beta 2 is only provided for Windows and Apple systems at the moment. The final release does not have a due date yet, but the hold-up is reported to be with the "XBMC Live" live CD version, which is getting a rework to be more compatible with the upstream Ubuntu releases on which it is based. Given the pace of the first two beta releases, though, you might want to keep the red carpet within reach.


Index entries for this article
GuestArticlesWillis, Nathan


(Log in to post comments)

XBMC 11 "Eden"

Posted Feb 8, 2012 17:23 UTC (Wed) by kragilkragil2 (guest, #76172) [Link]

I love XBMC. But I don't like big TVs and I don't like throwing stuff away that still works fine, that is why I still use my trusty old Xbox1 with XBMC on my 16:9 CRT TV. Upshot is that the SD downloads are a lot smaller, therefor easier to download and store.

XBMC 11 "Eden"

Posted Feb 8, 2012 17:42 UTC (Wed) by mordae (guest, #54701) [Link]

/me starts looking for Fedora 16 RPM.

XBMC 11 "Eden"

Posted Feb 9, 2012 0:51 UTC (Thu) by pabs (subscriber, #43278) [Link]

I would guess XBMC has too many points of FAIL to get into Fedora (or Debian for that matter).

XBMC 11 "Eden"

Posted Feb 9, 2012 5:41 UTC (Thu) by tajyrink (subscriber, #2750) [Link]

Actually in your linked bug report it seems most of the obstacles have been fixed by now by a person that got himself involved upstream.

XBMC 11 "Eden"

Posted Feb 17, 2012 1:19 UTC (Fri) by pabs (subscriber, #43278) [Link]

I looked at the packaging. The upstream code still has problems that he needs to strip out and also the script used for that introduces more problems.

XBMC 11 "Eden"

Posted Feb 9, 2012 12:44 UTC (Thu) by mordae (guest, #54701) [Link]

Well, that's what we have rpmfusion for. :-)

11.Beta2 is cool and running without any issues. I personally dislike the vertical main menu, but since I spend most of my time in Videos, it's not that painful. ;-)

I hope they at least fixed the FLAC playback issues.

What is the real state of multimedia on Linux?

Posted Feb 9, 2012 2:40 UTC (Thu) by dskoll (subscriber, #1630) [Link]

A while back, I purchased a Hauppage USB-based tuner (WinTV-HVR-850)hoping to use my Linux box as a TV (I live in Canada, which went digital over-the-air a few months back.)

The whole experience was a very rude awakening. Countless hours fiddling first with Myth TV and then with XBMC were sucked out of my life. I finally spend $200 on a cheap digital TV from The Source which Just Worked. No editing arcane config files, no messing with MySQL, no balky twitchy drivers, no mysterious desynchronization of audio and video.

So having been scared away from multimedia on Linux for a while, I have to ask: Have things improved? Is it worth trying to dive into it again?

What is the real state of multimedia on Linux?

Posted Feb 9, 2012 8:01 UTC (Thu) by Klavs (guest, #10563) [Link]

unfortunately it's very much a question about purchasing the "right" tuner card. I used the list from mythtv's wiki about supported cards, and after finding (using google) the right frequency's to tell mythtv to scan for my country - dvb-t channels all worked very well with 0.24.

There's been massive improvement from 0.22 to 0.24 - so I'd definetely give mythbuntu a try - that's what I use - and it's pretty simple to setup - as long as you know the frequency - and has a remote that's in the list of supported remotes (I use streamzap remote for my frontends).

Unfortunately I'm temporarily on analog channels only, and I can't get it to find any channels - so mythtv is appearently digital only :(

What is the real state of multimedia on Linux?

Posted Feb 10, 2012 1:16 UTC (Fri) by leoc (guest, #39773) [Link]

I used MythTV for about 10 years in Canada and loved it. As I have almost 2TB of recordings, I have now cancelled my cable and don't miss it a bit since I can go watch any episode of most of my favourite old shows at any time. I used an Hauppauge HD-PVR to record high definition off a Shaw Starchoice satellite receiver (the 505, I think it was).

XBMC 11 "Eden"

Posted Feb 9, 2012 10:19 UTC (Thu) by twm (guest, #67436) [Link]

The state of VAAPI support in XBMC is a good bit more complex, and somewhat less rosy, than this account indicates. There is good support for some Intel chipsets, which have native support for VAAPI. ATI/AMD hardware is supported via a wrapper to AMD's own XvBA acceleration API, and this wrapper has been abandonware since this spring, when its developer switched jobs. I can say from personal experience that it is more trouble than it is worth. I have given up on acceleration for my Hudson HTPC until native XvBA (currently in an unofficial repo) lands—and it won't be in Eden. NVidia's own VDPAU API is used for their desktop hardware, and reportedly works well. XBMC has long had native support for this API; I don't know why you'd use it as a backend to VAAPI. Those building a HTPC with XBMC in mind would be best served with an NVidia card.

It is also implied that VAAPI is used for acceleration on the Raspberry Pi. OpenMAX is the video acceleration API used on the Pi. Is there now an OpenMAX VAAPI backend?

XBMC 11 "Eden"

Posted Feb 13, 2012 16:33 UTC (Mon) by charlieb (guest, #23340) [Link]

> Those building a HTPC with XBMC in mind would be best served with
> an NVidia card.

As long as you are very clever, very lucky, or don't want audio over hdmi

http://www.google.ca/search?q=hdmi+audio+ion

XBMC 11 "Eden"

Posted Feb 15, 2012 17:13 UTC (Wed) by gerv (guest, #3376) [Link]

Not sure how lucky I was, but audio over HDMI now works for me on a Revo R3700. It took a bit of fiddling, and I'm not entirely sure which change did it, but I'm happy to tell people what my current settings are.

Gerv

XBMC 11 "Eden"

Posted Feb 16, 2012 17:56 UTC (Thu) by Rehdon (guest, #45440) [Link]

I wish I had read your comment two weeks ago, because I bought a Sapphire Edge-HD and discovered at once that audio over HDMI doesn't work >_<

Does anybody know if one of the more recent Linux distros have it work out of the box? My Ubuntu 10.10 + XBMC 10 doesn't seem to be able to work...

Rehdon

XBMC 11 "Eden"

Posted Feb 18, 2012 1:30 UTC (Sat) by s0f4r (guest, #52284) [Link]

> "Those building a HTPC with XBMC in mind would be best served with an NVidia card."

Wholly disagree. I've been running xbmc 10.0 since forever on a plain core2duo with Intel GFX, and I have absolutely no problem playing 1080p content - my xbmc hooks into a mythtv backend which records & plays OTA DTV at 710p and 1080p.

Sure, it's not an ATOM, and the cpu takes 12-14% while playing the content, but it definitively does not need more oompf to just play any type of content.

XBMC 11 "Eden"

Posted Feb 9, 2012 11:54 UTC (Thu) by azazel (guest, #4363) [Link]

Actually, Eden beta2 packages for ubuntu with support for PVR services are available from pulse-height at http://packages.pulse-eight.net/UbuntuInstall

XBMC 11 "Eden"

Posted Feb 10, 2012 7:37 UTC (Fri) by wookey (guest, #5501) [Link]

Aha. That's what I want. I've been using mythtv 0.20 for several years now on an aging VIA miniITX box to access DVB-T content. It's great, it works (except that the haupage DVB-T device is fairly unreliable so it loses sync fairly regularly). But the hardware is getting old and flaky and it'd be nice to upgrade the software but the hardware I have can't cope with newer versions (too resource hungry).

XBMC is very nice, and even runs on a nice low-power, totally silent ARM board like the panda I have, or the sexier cubox, and lots of things about it are very cool, but the absence of DVB-T support makes it more-or-less useless to me. So an XBMC version _with_ PVR support would be great. That site doesn't provide arm binaries, but sources are here (odd package layout): http://packages.pulse-eight.net/ubuntu/dists/oneiric/stab...

XBMC 11 "Eden"

Posted Feb 13, 2012 16:42 UTC (Mon) by charlieb (guest, #23340) [Link]

> Sadly, at the moment the Linux builds of the most recent XBMC Eden
> have yet to land: Beta 1 is available for download, but Beta 2 is
> only provided for Windows and Apple systems at the moment.

There looks to be a turnkey xbmcbuntu with XBMC Eden – beta 2 here:

http://www.xbmcfreak.nl/en/

What's the browser like?

Posted Feb 13, 2012 17:02 UTC (Mon) by alex (subscriber, #1355) [Link]

Does XMBC package a web-browser?

I consume most of my media through my freedom hating PS3 which works very well if your video files are of the correct MP4 variety. However my weekly dose of Zero Punctuation is a more turgid affair as the browser struggles with rendering a "Designed for PC Browser" page. Although Sony have improved the browser a little in their latest release I'm anticipating attaching a RasberryPi to the back of my telly as the main video playback device.

What's the browser like?

Posted Feb 13, 2012 22:36 UTC (Mon) by jimparis (guest, #38647) [Link]

> Although Sony have improved the browser a little in their latest release

More than a little -- they replaced NetFront with WebKit.

What's the browser like?

Posted Feb 14, 2012 6:51 UTC (Tue) by alex (subscriber, #1355) [Link]

It's still not great but I guess that is mainly because the browser is all being rendered on a relatively slow PPC core without utilising the processing power in the rest of the Cell.

What's the browser like?

Posted Feb 14, 2012 7:09 UTC (Tue) by raven667 (subscriber, #5198) [Link]

That slow PPC core is the fastest one in the package. I'm not sure how the SPEs could really be used to help, they are slow and resource constrained. While the "Cell" is a futuristic design it's pretty old now and not magic, no matter what the marketing says.

What's the browser like?

Posted Feb 27, 2012 5:10 UTC (Mon) by dirtyepic (guest, #30178) [Link]

With the right UPnP serving app you should be able to stream web video directly to the PS3 without needing a web browser. I've never needed to do so but I'm looking at replacements to Mediatomb right now and I know I've come across a couple that should do what you want with a minimum of fuss. Serviio was one. Mediatomb might be able to do it with some custom javascript but upstream is dead.

I'm currently trying ps3mediaserver, because I just need something that can serve up video files over the network in any format without needing to mess around in XML or write transcoding scripts. It was drop-in and go.

What's the browser like?

Posted Feb 27, 2012 17:56 UTC (Mon) by jimparis (guest, #38647) [Link]

If your files are already in a compatible format (h.264, XviD, etc) minidlna works well as a lightweight UPnP server.

XBMC 11 "Eden"

Posted Feb 16, 2012 19:46 UTC (Thu) by Sho (guest, #8956) [Link]

For me, the big change in Eden is the vastly improved support for controlling it by touch. I recently got a x86-based 11.6" tablet, and XBMC now works beautifully on that for entertainment in bed.


Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds