[Home] [Blog] [Contact] - [Talks] [Bio] [Customers]
twitter linkedin youtube github rss

Patrick Debois

Adding Avi, MKV, Xvid ... to iTunes. It works!

Let me start by saying that Itunes is probably not the best media management project. BUT! It is the one best integrated on the MacOSX: if you have iphone, appletv or ipod it still is a no brainer application.
Still the world does not revolve around Mac's alone or for that matter on MOV or MP4 files. In the wild, it's avi, xvid or mkv that rule! While you can use Perian to get these files to play by the default Quicktime, Itunes by default refuses this formats to be imported in Itunes. But a little searching turns up the solution...
Say you have file my-super-movie.xvid, then you can easily get Itunes to accept this by opening a terminal and setting the filetype to 'MooV' and creator to 'TVOD'. $ SetFile -t "MooV" -c "TVOD" my-super-movie.xvid
Thats all: Now you can drag it to your Itunes and have it accept it! But also frontrow will also play this. Note: appletv will not play them automatically in streaming. If you copy your files to the appletv and install the perian plugin for it that they will get synched aswell.
So where do I get this 'SetFile'?
If you have a history of updates, changes might be that this Setfile does already exist on your disk. Otherwise you can get it by installing the Apple Developers Tools. Or extracting it with pacifist from the Apple Developers package without installing the complete toolset.
Another approach is to install the excellent VideoDrive application that will do the same trick but will also add metadata in your Itunes.

Related postings: