Show MKV in QuickLook

I’ve found a trick allowing me to display Matroska video files in Quicklook without the need of a plugin :

1 / First you need Perian for mkv support in Quicktime : http://perian.org/

2 / Then you need to add a Uniform Type Identifier in Quicktime Player :
- Edit QuickTime Player.app’s /Contents/info.plist
- Add the following code just before the last 2 tags </dict></plist> :
<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>

3 / In Terminal.app
touch /Applications/QuickTime\ Player.app

Leave a Reply

Your email address will not be published. Required fields are marked *

*