|
|
Hey, Sabretooth and I just officially got xvid/everything else supported by Perian working on the Apple TV. I promise you this image is legit and this is an episode of Lost encoded in Xvid (FAKE FAKE RAHGHG FAKE): ![]() We're doing a writeup, but the short of it is... 1. Open it up (4 screws on the bottom, small Torx bit) 2. Put the 2.5" drive into a USB enclosure or whatever you want 3. Mount the HFS filesystem 4. Install Perian in /Library/Quicktime (as you normally would) 5. Install Dropbear (or enable SSH if you know how... we gave up and used Dropbear) 6. Add a startup script to disable the firewall or open up the ports you need for SSH 7. Put the drive back in and boot it, ssh login as frontrow, password frontrow (or add an ssh key for yourself) 8. Use a reference movie (use QT Pro to save a reference movie) to bootstrap your xvid file voila Should see a writeup later today. Edit: digg article is here apparently : http://digg.com/apple/XviD_fully_functional_on_Apple_TV UPDATE kextstat and ps aux on page 3 So has anyone busted out their drive yet? I want to make sure someone else can keep responding to questions here. I'd give you ssh access to ours but it's behind a big fancy VPN. We got SSH up by adding a startup script to disable the firewall and start dropbear: code: Note that the firewall is wide open now so be carefulcode: Also the dropbearkey part is only necessary once to generate the key, so you can delete that after the system has rebooted once. To get dropbear go here: http://matt.ucc.asn.au/dropbear/dropbear.html Compile it on an x86 machine (I used my Macbook Pro) and just transfer those binaries over to the HD yourself using a USB enclosure or whatever you have that can interface with a 2.5" PATA drive. It is likely you can get the system's built-in SSH working correctly. We were in a hurry, and after running into a kink we were like "gently caress it" and threw dropbear up because it was a pretty instant win. To ssh in you use: ssh -p 22222 frontrow@1.2.3.4 To scp stuff to it use: scp -P 22222 /path/to/localfile frontrow@1.2.3.4:/path/to/senditto I know this is still a pretty ugly list of steps, and if you're confused just wait until everything gets a bit more streamlined. I just want to get more hacker folks involved so work can continue as fast as possible. UPDATE 2 Sorry, we should have made this more clear, but 720p XviD *runs smoothly on the device!* Awkward fucked around with this message at Mar 26, 2007 around 13:18
|
| # Mar 23, 2007 13:37 |
|
So far, the way we managed to load the movie on inside of the Apple TV interface was that we had to sync a compatible movie first (I had the Pirates of the Caribbean 3 trailer handy), then replace the movie file (find it somewhere in the Apple TV's /mnt/Media/Media Files tree) with your reference movie. Since the reference movie contains an absolute path, make directories on the hard drive so you can locate your original on the Apple TV wherever it was on your Mac. Next up is mounting my Mac's drive via CIFS, trying the Quicktime MakeRefMovie tool (available at http://developer.apple.com/quicktim...imeintro/tools/) to build the reference movie (dropping, hopefully, the QT Pro requirement), and trying to automate this a little better. I don't think you'll be able to actually sync XVid files to the Apple TV -- only the reference movies -- but this means that the little 40GB drive will have plenty of room for the reference files that point to the real things on your multi-TB movie storage unit (you have one, right?) via CIFS/SMB mount. |
| # Mar 23, 2007 13:46 |
|
The idea now is that we're going to write a little daemon to watch a SMB mount and automatically generate the reference movies and inject them into the Library, so all you have to do is wire up the mounts to your fileserver and you're good to go. This may finally get me to stop using XBMC, since the Xbox can't handle HD content. $300 for an OS X machine with HDMI/Component out/802.11n ain't bad! And while it's not the fastest thing, it'll decode HD video, which is more than enough to seal the deal for me. |
| # Mar 23, 2007 14:55 |
|
This is going to give the SA servers a little workout today. Nice work, guys! This seals the deal. I'm definitely picking one of these up now - before Apple tries to plug this hole. Also, there goes Apple's business model. edit: For what it's worth, I'll give G4 (Attack of the Show) a heads up so you might get some TV coverage from this today. edit: I'll also make sure they mention Something Is Awful. plasticbugs fucked around with this message at Mar 23, 2007 around 15:17
|
| # Mar 23, 2007 15:05 |
|
Any ideas of how to access the file system on the Apple TV without having to crack it open? Would be nice if you could drop an alias in the Movies directory on the Mac and just have it point to the folders you want so you can browse your file system for stuff like you can do to Frontrow instead of using iTunes. |
| # Mar 23, 2007 15:06 |
|
I may buy one of these little buggers yet. That's awesome. |
| # Mar 23, 2007 15:21 |
|
Maybe you could get target disk mode working somehow. Haven't gotten to try that yet, but yeah, part of this adventure is going to be figuring out how to do it without having to go to the USB enclosure. Really all you need to do is acquire SSH access, which might not be too hard |
| # Mar 23, 2007 15:25 |
|
Pfft, not likely. This isn't like an xbox. They aren't selling it at a loss and making it play xvid only makes it a more attractive device. They only reason they didn't make it play xvid and divx from the start is because of the scads of patent issues they'd be violating. See if you can access the USB plug next, there's no way it's just for testing or whatever they said it was for. anotherone fucked around with this message at Mar 23, 2007 around 15:35
|
| # Mar 23, 2007 15:27 |
|
Sorry another question. What happens if you drop an alias to a Network Share into the Movies folder on the AppleTV's OSX Drive? Will it then allow you to connect and browse the file system for stuff to watch from your Server like you can do in Frontrow? Or or If that's not possible could you install Remote Desktop Client on it so you can access the drive remotely after the first cracking it open has been done? Then drop an alias into the Movies folder to a local drive on the AppleTV and see if you can browse the file system. That would allow you to move content on your own and view it on your own without having to use iTunes. I think, man I need one of these to dick around with.... Disciple fucked around with this message at Mar 23, 2007 around 15:52
|
| # Mar 23, 2007 15:34 |
|
Does it decode 720p xvid? Anandtech reported that the system uses a 1GHz Dothan, which is only marginally faster then the CPU used in the Xbox. They speculated that 720p H.264 is handled via GPU acceleration. If so, I'm curious how well an unaccelerated 720p decoder actually works. Could you try a high bitrate (>3 Mbit) 720p Xvid w/ QPEL enabled and report how well it decodes? Assuming it works well, I may be all over this thing ... |
| # Mar 23, 2007 15:57 |
|
remote desktop is for windows and ssh implies we have full remote access to the system (shell and filesystem). |
| # Mar 23, 2007 15:58 |
|
Holy crap. If you can build a nice front end for this that is completely idiot proof, people WILL pay money for it... even if it's just lovely applescript with a mediocre UI chock full of "witty" error messages. *cough* VisualHub* *cough* |
| # Mar 23, 2007 15:59 |
|
yeah, this is DEFINITELY the next thing I want to do, but alas Dan (sabretooth) and I have gone home to sleep for a few hours. I have a birthday party to attend tonight (1 bottle of cheap champagne for each visitor!) so I might not have a lot of time to work on this, but I'm sure either someone will catch up with us or we'll be back really soon to get this rolling further. some dude posted this on gizmodo and said "don't take that victory lap yet." wrong -- it definitely works, though as you have pointed out we are unsure if full HD res is going to work yet. good point. Awkward fucked around with this message at Mar 23, 2007 around 16:03
|
| # Mar 23, 2007 16:00 |
|
Well now this is great. I'm suprised Apple didn't put a little more protection on there, but I guess I'm just so used to the Xbox. If the Apple TV turns out to be pretty easy to modify we're going to see one hell of a homebrew scene crop up around it. I hope this happen so much, because I need an upgrade path from XBMC. |
| # Mar 23, 2007 16:06 |
|
Sorry for the confusion on my part But definetly let us know if you find a way to get the AppleTV Software/Frontrow to put folders and whatnot in the Movies Menu (like an Alias) to allow you to browse for what you want to watch instead of iTunes or ReferenceMovies or anything. Just click and play like MCE2005 (but better) |
| # Mar 23, 2007 16:15 |
|
I assume he meant apple remote desktop, their wrapper around VNC. on OSX it's configured under sharing |
| # Mar 23, 2007 16:18 |
|
Yep, I will try this (and the xvid HD content) when I wake up. I've totally got to sleep or I'm not going to show up for that party and be pissed off I missed it. Oh, and sorry for being a smartass about RDC, I just wanted to be clear we do indeed have full filesystem access even while the thing is running |
| # Mar 23, 2007 16:21 |
|
What reason would Apple have to lock it down? I'm sure they're making some cash on the hardware, the files themselves are already locked down with DRM... so who cares? If playing XViD on the Apple TV is easy as it sounds, bye bye XBOX Media Center. |
| # Mar 23, 2007 16:21 |
|
Well, my hopes are that they speed up the cross-platform efforts on it (they are working on it) and we can get XBMC running on the Apple TV/other devices. I'm not really into the interface on anything offered out there right now (Apple TV, Vista MCE, that $250 Netgear thing that looks like poo poo but supports everything, the new slingbox device), and XBMC has such an awesome skinnable interface that it would be the clear winner if they keep their poo poo together. And I love open-source, so I'm rooting them on and will probably get to contributing code to them soon. |
| # Mar 23, 2007 16:25 |
|
Very good work, you guys. This gives the thing a whole new usefulness, really. I got kinda bummed when I didn't think there would be a way to play xvids because there would be no Perian. |
| # Mar 23, 2007 16:26 |
|
I don't know about XBMC running on it, they use a lot of DirectX-style codecs that were easy to port over because of the XBox SDK. That doesn't mean you can't get some other front-end for MPlayer going. For those of us unfamiliar with all the Mac stuff, what kind of stuff does Perian decode. Can it handle Matroska packs, soft-subs, other uncommon video stuff? Edit, Forgot the most important thing: I love you guys for doing this. I'm super-eager to replace my modded XBox with something that can run HD content. |
| # Mar 23, 2007 16:28 |
|
Actually XBMC is using the mplayer project's DLL loader which works on any x86 machine, so the TV will do just fine with this http://trac.perian.org/wiki/SupportedFormats -- but I suspect we'll have XBMC on it soon enough, which I'd rather be using. Also I think there are more QT components to support the more obscure things like matroska thanks me too
|
| # Mar 23, 2007 16:30 |
|
The Xbox uses a 733MHz PIII. The 1Ghz Dothan is a Pentium M which is a lot more beefy than a ~33% increase in clock speed would make you believe. The instruction set is a lot more efficient, the CPU has a pretty decent 2MB cache compared to ther Xbox's 128k and the FSB is up ~4 times faster. __________________
The bomb only lives as it is falling. |
| # Mar 23, 2007 16:31 |
|
Perian handles just about everything except .mkv and .ogm, some occasional issues with soft-subs but I think they work the majority of the time. I know they plan on adding support for .mkv and .ogm but no idea when that will happen. Be nice to have something with a nice front end that basically uses VLC Player though. |
| # Mar 23, 2007 16:35 |
|
The XBMC is not using a standard mplayer binary. There is a big thread on the XBMC forums about the current MPlayer build and you can tell they have customized it heavily. This is why they can't upgrade to the latest MPlayer checkins on XBMC and lack a lot of the newer MPlayer features (even the most-recent XBMC CVS builds). I'm not saying it can't be done, but it isn't as quick of a jump over as it might seem. |
| # Mar 23, 2007 16:35 |
|
That will probably be tough to do but I also hope that the ATV speeds this up. I've been toying with getting an ATV ($300, why the hell not?!) and opening it up first thing after getting it out of the box. Thanks for doing some of the hard work first.
|
| # Mar 23, 2007 16:37 |
|
It's neat, but Perian still isn't as good as VLC as far as compatibility goes. I do hope that this project will help further Perian development, since VLC has really needed some competition on the Mac for a long time. |
| # Mar 23, 2007 16:37 |
|
Oh, this is hot. I'd love to get a minimal OS X GUI running on the Apple TV. I guess this is how I'll be spending my Friday night...
|
| # Mar 23, 2007 16:48 |
|
Have you guys though about turning on Apple's Remote Desktop feature? I wonder if it would present FrontRow to you or a login box. |
| # Mar 23, 2007 16:51 |
|
Apple TV doesn't support xvid? ![]() Without modding, does it support anything that makes it worth buying? I kind of wanted one and this makes me sad. |
| # Mar 23, 2007 16:57 |
|
Out of the box, it only plays what iPods play. Edit: And that is streamed over iTunes. |
| # Mar 23, 2007 17:00 |
|
Good job guys, it's always cool to see this kind of thing unfolding. Edit: And realistically I'm sure Apple was hoping someone would do this ASAP. You just made me and countless other media fiends 100 times more likely to buy one of these things. |
| # Mar 23, 2007 17:04 |
|
Any chance it plays AC3 audio OK? If so, I may just run out and foolishly buy one of these on a whim. Also, it would be interesting to see if it's got any basic Aqua GUI stuff in there. Check in /System/Library/CoreServices/ and see if Dock.app and Finder.app are chillin there. Would be interesting to see if you could get full Aqua support going and then switch into the Front Row system on the fly, like it is right now with all the Apple Remote'd Macs. |
| # Mar 23, 2007 17:05 |
|
I was expecting this, but not so soon. Now all I need is a new TV. |
| # Mar 23, 2007 17:08 |
|
Next up, upgrading the HDD. Carbon Copy Cloner anyone? No, I don't know the benefits of a larger harddrve at this point. |
| # Mar 23, 2007 17:08 |
|
It looks like they replaced Finder.app with the new modified dash... I need to get on VPN and I'll SSH back in and check on whatever else you guys want before going to sleep. Too exciting! The SMB script is going to be one loving killer app, by the way. |
| # Mar 23, 2007 17:08 |
|
This is really great. I remember talking to someone about the ATV two days ago and he was surprised about the lack of codecs a bit. I said, "I give it at most a week until someone figures out how to get more codecs in there" ..Somethingawful wins! |
| # Mar 23, 2007 17:08 |
|
For the sake of not having another Apple confrontation later, if you do post a full writeup and howto, PLEASE HOST IT ON YOUR OWN HOSTING, not here on the forums. You're free to link to it here, of course, and digg your url all you want. Just don't put the actual content itself here. Thanks. |
| # Mar 23, 2007 17:09 |
|
No kidding. In fact, if there's any way to edit the menu system at all, that will be the tipping point for a lot of people. You could easily integrate a whole crapload of things with this device that way. Man, and here I was thinking this was going to be a POS box that was locked down like Fort Knox
|
| # Mar 23, 2007 17:10 |
|
Actually it appears the menu is easily editable. It has a folder full of these bundle things that look like normal OS X Applications. Quotezzzz in a minute |
| # Mar 23, 2007 17:13 |
