Talk:How to get iTunes to sync other video formats to Apple TV

From AwkwardTV
Revision as of 10:41, 12 June 2007 by MNiT (talk | contribs) (added note about file deletion)
Jump to: navigation, search

An applescript to do the conversion would be nice.

This is perhaps the most interesting development on ATV so far. An automated way of altering and getting the media into itunes would be great.

you dont need the "" Open your avi film in Quicktime Pro and do a Save As...

...but using "Save As..." to recode a video to a format that iTunes will sync to your AppleTV will take (a long) time, and will degrade its quality.

Hello all
I've modified one of Apple's demo applescripts, that originally allowed conversion of movies/pictures into .mov format, to do what is described in this how to. It functions as a droplet, so you just drag stuff onto the icon and it does it's stuff. The only thing I can't make it do is re-scale to the proportions of the new file, but this doesn't seem to cause any problems, as on appleTV you can't play the movie in anything other than fullscreen anyway - so if anything it'll only look ugly in iTunes.
This can batch convert items as well as do one at a time, and uses the extensions listed as working on this site to filter what it can convert. Of course you'll need to make sure you've got the relevant codecs and stuff installed before you run it, as currently it doesn't check.
I'd like to make it add converted files to iTunes automatically after processing them, but I can't seem to make it work; it tells me "iTunes got an error: Can't make some data into the expected type." I don't know if this is because the methods I'm using to try to add the files to iTunes are reserved for audio files.. I've left my current iTunes code in the version I've updated commented out, so feel free to take a look.
It puts a temp folder on the desktop as part of the process. I had the folder hidden for a while, but then realised that the various failed attempts at running before I got it sorted left loads of hidden folders lurking when it crashed before deleting them. Theres probably a smoother way to do this but this will do for now.
This needs TESTING really. I've not hacked my apple tv as of yet, so I've only tried it with a couple of mpeg files that apparently AppleTV can handle without hacking. I've also not tried it with batches.
Anyway, check it out: Apple TV
--MNiT 11:40, 12 June 2007 (CEST)

Oh, should mention: Currently this deletes the file you're processing after it's done. YOu can stop it doing that by commenting out the two lines in the script. I've put a comment in highlighting where they are so they should be easily found.
--MNiT 12:41, 12 June 2007 (CEST)