October 4, 2009
How to make QuickTime X play mkv files
I found a compatibility issue of perian playing mkv on QuickTime X. A lot of posts suggested re-installing QT 7. I happened to find this article introducing a very simple way to make quicktime X play MKV.
Here is how.
Edit QuickTime Player.app’s /Contents/info.plist with a plain text editor like textmate or textwrangler. At the end of the file, before </dict></plist>, add the following code
<key>UTExportedTypeDeclarations</key> <array> <dict> <key>UTTypeConformsTo</key> <array> <string>public.movie</string> </array> <key>UTTypeDescription</key> <string>Matroska Video File</string> <key>UTTypeIconName</key> <string>generic</string> <key>UTTypeIdentifier</key> <string>com.apple.quicktime.mkv</string> <key>UTTypeReferenceURL</key> <string>http://www.matroska.org/</string> <key>UTTypeTagSpecification</key> <dict> <key>public.filename-extension</key> <array> <string>mkv</string> </array> </dict> </dict> </array>
Open Terminal.app, run command
sudo touch /Applications/QuickTime\ Player.app
That’s all!
I have tested on my quicktime X on snow leopard.
