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

From AwkwardTV
Revision as of 15:44, 12 July 2007 by Jamsoft (talk | contribs)
Jump to: navigation, search

News & Info

• Organized & cleaned up the discussion area a bit. --jamsoft 17:44, 12 July 2007 (CEST)


Q & A

Q: Is there an applescript available to automate the conversion?
A: Yes, however it's far from ideal (see the Apple TV Fooler discussion below)


Q: Is this process entirely lossless? (i.e. no loss of video/audio quality)
A: ?????


VisualHub

  • I've requested that the methods given on the main page of this article be added to the program VisualHub to easily automate the entire process. Make sure to post your thoughts in this thread if you'd like see this feature added as well.


Description
VisualHub bridges the gap between numerous complicated video formatting standards, and people that just want to get the job done - just what you would expect from the Mac. If you're looking for something a little more flexible, VisualHub's up for that challenge too. An extensive Advanced panel lets you change all pre-set aspects of encoding...and then some.


Automation Tech Preview
Starting with VisualHub 1.24, a Tech Preview of the automation support in VisualHub 2.0 was offered. This allows VisualHub users to create their own automated workflows (or “scripts” as the kids are calling them nowadays) that can do anything from convert a video to another format with a single click, or watch a server for a set of files and launch a distributed Xgrid workflow, burning a disc when complete (and more. People can go absolutely nuts with scripts. I should know...). VisualHub is automatable via the AppleScript language - simple, concise, yet powerful.
Automation Guide
Script Dictionary


External Links
Techspansion Website
Techspansion Support Forums
General Discussion
Knowledge Base
Support
Demands
Automation


Random Talk

• 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.


Quote:
iTunes sends the Apple TV a list of all the video files in its library and the Apple TV copies those it believes it can play. ATV then returns a list of files it can't play to iTunes
  • Instead of mucking with each and every video file, why not spoof this check? Has anyone looked into, say, making iTunes think ATV returns the full list of files as eligible?
-Grinningcat 05:04, 7 July 2007 (CEST)


Apple TV Fooler.zip

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 nothing.mov 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 Fooler.zip
--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)


It doesn't seem to do anything with files that have already been saved to .movs, otherwise it seems to work - good job!

There is a list of properties at the very begining of the script that defines which file formats it should accept. I've added .mov to the list and updated the links.--MNiT 21:06, 19 June 2007 (CEST)
Good Job!, working perfectly

Matroska? Using Perian 1.0b4 and all formats I've tried work except .mkv (added .mkv to allowed file formats in script). Great otherwise! Thanks. -pwbset (6.27.07)

Getting a script error during any batch conversion that crashes QT and ATV Fooler after the final copy process. Appears randomly, but happens very often. Since the final "wrapped" file is copied it's not a big deal, but stops batches, which is annoying. - pwbset (6.28.07) Image