Feeds

Hacking the Apple TV

Adding new file formats

  • alert
  • submit to reddit

Gartner critical capabilities for enterprise endpoint backup

Part 2 Apple’s Apple TV set-top box supports all the audio and video file formats that iTunes, iPods and iPhones can handle. That’s plenty for many folk, but for those who favour less mainstream formats or widespread ones that Apple’s not keen on — DivX, for one — it severely limits the value of the machine.

Fortunately, once the Apple TV’s sealed system has been opened for access — as we detailed last time — it’s surprisingly easy to increase the number of codecs the machine has access to.

Perian Mac OS X Prefs Panel

Perian’s Preferences panel in Mac OS X

The bottom line: if Mac OS X can be loaded with new codecs, so can the hacked Apple TV. It is, after all, an Intel-based Mac in its own right, and almost all of the free tools available to Mac users can be installed on the set-top box.

That naturally favours the Mac as the platform on which to work when modifying the Apple TV’s system software. More than anything, that’s because most codecs are supplied by the now-standard Apple .DMG disk image format. These can be opened on Windows and Linux PCs — see ‘Mac DMGs on Windows’ on the next page — and once that’s achieved, grabbing the necessary files is merely a matter of navigating a directory structure.

Undoubtedly, the best source for Mac-compatible video codecs is Perian, which plugs a host of formats into Apple’s QuickTime infrastructure. You can find a full list of supported codecs and media containers that Perian knows how to deal with on its website, but it’ll handle .FLV, .MKV, .AVI, DivX to name but four.

Perian Mac OS X Prefs Panel internals

The key files in the Perian .prefPane folder structure

Once you’ve downloaded and mounted the Perian .DMG disk image file, the crucial elements are stored in Perian.prefPane, presented by Mac OS X as system preferences panel, but essentially a folder. Inside it, within the /Contents/Resources/Components folder, you’ll find Perian.zip. Copy this, along with the contents of the two accompanying folders, CoreAudio and QuickTime, to the desktop and unzip the files. You’ll end up with

A52Codec.component
AC3MovieImport.component
Perian.component

three files that need to be copied to the Apple TV using your SFTP client then moved to the correct locations on the box and assigned the correct file ownerships:

sudo sudo mv AC3MovieImport.component/ /Library/QuickTime/
sudo mv Perian.component/ /Library/QuickTime/
sudo mv A52Codec.component/ /Library/Audio/Plug-Ins/Components/

Boost IT visibility and business value

More from The Register

next story
Kate Bush: Don't make me HAVE CONTACT with your iPHONE
Can't face sea of wobbling fondle implements. What happened to lighters, eh?
Apple takes blade to 13-inch MacBook Pro with Retina display
Shaves price, not screen on mid-2014 model
iPhone 6 flip tip slips in Aussie's clip: Apple's 'reversible USB' leaks
New plug not compatible with official Type-C, according to fresh rumors
The agony and ecstasy of SteamOS: WHERE ARE MY GAMES?
And yes it does need a fat HDD (or SSD, it's cool with either)
Steve Jobs had BETTER BALLS than Atari, says Apple mouse designer
Xerox? Pff, not even in the same league as His Jobsiness
TV transport tech, part 1: From server to sofa at the touch of a button
You won't believe how much goes into today's telly tech
Apple analyst: fruity firm set to shift 75 million iPhones
We'll have some of whatever he's having please
Apple to build WORLD'S BIGGEST iStore in Dubai
It's not the size of your shiny-shiny...
NVIDIA claims first 64-bit ARMv8 SoC for Androids
Mile-High 'Denver' Tegra K1 successor said to rival PC performance
prev story

Whitepapers

5 things you didn’t know about cloud backup
IT departments are embracing cloud backup, but there’s a lot you need to know before choosing a service provider. Learn all the critical things you need to know.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.
Rethinking backup and recovery in the modern data center
Combining intelligence, operational analytics, and automation to enable efficient, data-driven IT organizations using the HP ABR approach.
Next gen security for virtualised datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.