Feeds

Hacking the Apple TV

Adding new file formats

  • alert
  • submit to reddit

High performance access to file storage

More Codecs to Add

Perian isn’t entirely comprehensive — it lack some key codecs, such as WMV and Ogg. Apple doesn’t support WMV directly, but developer Telestream — formerly Flip4Mac — does and it offers a free QuickTime component sponsored by Microsoft. You can download it here.

Installing WMV and Ogg

Again, you’ll get a DMG file which needs to be mounted on a Mac so you can run the installer to extract the files. The one you want is Flip4Mac WMV Import.component (note the spaces in the filename) and this needs to be copied across to the Apple TV then placed in the correct location using the following Terminal command:

sudo mv "Flip4Mac WMV Import.component" /Library/QuickTime/

Ogg fans can download the Xiph QuickTime component here. You’ll get another DMG, but this time the file you need is right there in the mounted volume. Get the XiphQT (decoders).component file and copy it to your Apple TV.

sudo mv "XiphQT (decoders).component" /Library/Components/

ATVFiles is pre-configured to display WMV files, but it’s not Ogg-aware out of the box, so you’ll need to tweak its settings manually. You’ll have to log in using a terminal app and then the standard defaults command to make the change.

ATVFiles maintains two lists of the file extensions it can recognise, one for video, the other for audio, and it’s the latter we need to add Ogg too:

defaults write net.ericiii.ATVFiles AudioExtensions -array m4b, m4a, mp3, wma, wav, aif, aiff, flac, alac, m3u, mp2, ogg

That’s the standard list of extensions — note that there’s no ‘.’ before any of them — with ogg added at the end. Add any other audio filetypes you want to access.

Apple TV ATVFiles

Once ATVFiles ‘knows’ about Ogg files, it’ll show them

You adjust the list of supported video file types in the same way — just used the VideoExtensions ID instead of AudioExtensions. The video extensions already recognised by ATVFiles are: m4v, 3gp, m3u, pls, divx, xvid, avi, mov, wmv, asx, asf, ogm, mpg, mpeg, mp4, mkv, avc, flv, dv, fli, m2v and ts.

Blast the other formats, just give me H.264!

There’s no doubt that adding codecs is the easiest way of getting the Apple TV to play ‘non-standard’ media, but it’s not the most elegant solution. Arguably, the most seamless way to enjoy content is to convert it into a native Apple TV format. For video, that’s H.264, and while a powerful machine will churn through files and output them as .MP4s, you can speed the process up a bit.

Elgato’s Turbo.264 application

Elgato’s Turbo.264 application

Mac users should check out Elgato’s Turbo.264, a small USB dongle that, combined with the company’s bundled conversion software, punches out H.264 copies of any file format that QuickTime recognises — including, if you install Perian, a whole heap more than the default QuickTime installation provided for.

Even if you don’t own an Apple TV, Turbo.264’s a great tool for iPod and iPhone users with ‘non-standard’ video files they want to play on their portable players.

For Windows users, ADS offers what is essentially the same hardware but bundled with a more suitable conversion utility. ADS calls its version Instant Video To Go.

High performance access to file storage

More from The Register

next story
Video games make you NASTY AND VIOLENT
Especially if you are bad at them and keep losing
Report: Apple seeking to raise iPhone 6 price by a HUNDRED BUCKS
'Well, that 5c experiment didn't go so well – let's try the other direction'
Microsoft lobs pre-release Windows Phone 8.1 at devs who dare
App makers can load it before anyone else, but if they do they're stuck with it
Nvidia gamers hit trifecta with driver, optimizer, and mobile upgrades
Li'l Shield moves up to Android 4.4.2 KitKat, GameStream comes to notebooks
Gimme a high S5: Samsung Galaxy S5 puts substance over style
Biometrics and kid-friendly mode in back-to-basics blockbuster
Dell Wyse Cloud Connect: Pocket Android desktop
Ultrathin client with a lot of baggage. The upside? It's a rogue sysadmin's delight
AMD unveils Godzilla's graphics card – 'the world's fastest, period'
The Radeon R9 295X2: Water-cooled, 5,632 stream processors, 11.5TFLOPS
Zucker punched: Google gobbles Facebook-wooed Titan Aerospace
Up, up and away in my beautiful balloon flying broadband-bot
Sony battery recall as VAIO goes out with a bang, not a whimper
The perils of having Panasonic as a partner
prev story

Whitepapers

Mainstay ROI - Does application security pay?
In this whitepaper learn how you and your enterprise might benefit from better software security.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Mobile application security study
Download this report to see the alarming realities regarding the sheer number of applications vulnerable to attack, as well as the most common and easily addressable vulnerability errors.