Feeds

Hacking the Apple TV

Adding new file formats

  • alert
  • submit to reddit

Reducing security risks from open source software

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.

Securing Web Applications Made Simple and Scalable

More from The Register

next story
Child diagnosed as allergic to iPad
Apple's fondleslab is the tablet dermatitis sufferers won't want to take
Microsoft takes on Chromebook with low-cost Windows laptops
Redmond's chief salesman: We're taking 'hard' decisions
For Lenovo US, 8-inch Windows tablets are DEAD – long live 8-inch Windows tablets
Reports it's killing off smaller slabs are greatly exaggerated
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Seventh-gen SPARC silicon will accelerate Oracle databases
Uncle Larry's mutually-optimised stack to become clearer in August
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
prev story

Whitepapers

Reducing security risks from open source software
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.