<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>.::output &gt;&gt; /dev/null::. : Tag vlc, everything about vlc</title>
    <link>/tag/vlc.rss</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>where otherwise good ideas go to waste</description>
    <item>
      <title>Subtitle Tracks in .mkv files on Mac OS X</title>
      <description>&lt;p&gt;
Summer is the time when I spend way too much time watching &lt;a href="http://en.wikipedia.org/wiki/Anime" title="Anime - Wikipedia, the free encyclopedia"&gt;anime&lt;/a&gt;. And when you are watching that much anime, you really want to make sure that you get the subtitles to display decently or your eyes will just hurt. Usually this is not a problem since most &lt;a href="http://en.wikipedia.org/wiki/Fansub" title="Fansub - Wikipedia, the free encyclopedia"&gt;fansubbed&lt;/a&gt; anime embed the subtitles directly into the movie (.avi, .mp4, etc) file itself. However, nowadays, the &lt;a href="http://www.matroska.org/technical/index.html" title="Matroska Technical Details"&gt;Matroska&lt;/a&gt; .mkv file format has been gaining popularity. In the .mkv format, the subtitles are no longer embedded into the movie track but included as a separate resource that you can enable/disable at will.
&lt;/p&gt;

&lt;p&gt;
Till now, there are two popular applications that can be used to open .mkv files on the mac: &lt;a href="http://www.videolan.org/vlc/" title="VLC media player - Overview"&gt;VLC&lt;/a&gt; and &lt;a href="http://www.mplayerhq.hu/" title="Entering MPlayer homepage"&gt;MPlayer&lt;/a&gt;. I prefer VLC because it has a better interface and is updated more frequently. And VLC seems to be open almost all video file formats. Now, there is a new plug-in called &lt;a href="http://perian.org/" title="Perian - The swiss-army knife of QuickTime&amp;reg; components"&gt;Perian&lt;/a&gt; for QuickTime that has been updated to enable .mkv files to be played inside QuickTime itself. And I must say, the results are fantastic. Here are some comparisons
&lt;/p&gt;



&lt;p&gt;
&lt;strong&gt;&lt;a href="http://www.matroska.org/technical/specs/subtitles/srt.html" title="Matroska SRT Subtitles"&gt;Matroska SRT subtitles&lt;/a&gt;&lt;/strong&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.flickr.com/photos/vazexqi/1142699798/" title="Photo Sharing"&gt;&lt;img src="http://farm2.static.flickr.com/1120/1142699798_066aac2d05.jpg" width="500" height="319" alt="SRT on VLC" /&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;small&gt;Notice how the text is not anti-aliased. The text tends to overlap with one another and this makes them unreadable.&lt;/small&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.flickr.com/photos/vazexqi/1141856729/" title="Photo Sharing"&gt;&lt;img src="http://farm2.static.flickr.com/1254/1141856729_a711476d4b.jpg" width="500" height="357" alt="SRT on QuickTime with Perian" /&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;small&gt;The text in QuickTime is more readable and does not overlap.&lt;/small&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;&lt;a href="http://www.matroska.org/technical/specs/subtitles/ssa.html" title="Matroska SSA Subtitles"&gt;Matroska ASS subtitles&lt;/a&gt;&lt;/strong&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.flickr.com/photos/vazexqi/1142699656/" title="Photo Sharing"&gt;&lt;img src="http://farm2.static.flickr.com/1375/1142699656_efb9251e6c.jpg" width="500" height="319" alt="ASS on VLC" /&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;small&gt;The text is displayed at the right positions (top and bottom) but notice how terrible the fonts look.&lt;/small&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.flickr.com/photos/vazexqi/1142699942/" title="Photo Sharing"&gt;&lt;img src="http://farm2.static.flickr.com/1196/1142699942_748ac8d747.jpg" width="500" height="357" alt="ASS on QuickTime with Perian" /&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;small&gt;The text is being displayed at the right positions (top and bottom) with pretty fonts.&lt;/small&gt;
&lt;/p&gt;

&lt;p&gt;
The images above clearly show how much better Perian handles subtitle for .mkc files and it is now my best choice for viewing anime. Additionally, if you scrutinize the images above, you can see that QuickTime actually has a combo box on the bottom right corner that lets you skip to the various sections in the animation. I have not see a way to do that in VLC. Of course, QuickTime still cannot handle every file format out there. For that I still need VLC around.
&lt;/p&gt;

&lt;p&gt;
So how do subtitles work on QuickTime with Perian? When you open the .mkv file in QuickTime, it first scans the entire file (the position bar actually shows the scanning progress). During this scanning progress, you can play the anime but the subtitles will not show up. Once it is done scanning however, the subtitles will appear. If there are both .ass and .srt subtitle resources, .ass is chosen by default. You can actually see what resources are contained in the .mkv file by going to Window &amp;gt;  Show Movie Properties.
&lt;/p&gt;</description>
      <pubDate>Mon, 20 Aug 2007 22:39:35 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:ebd95186-3cdc-46e5-bc12-efbd698791f0</guid>
      <comments>http://blog.vazexqi.com/2007/08/20/subtitle-tracks-in-mkv-files-on-mac-os-x#comments</comments>
      <category>software</category>
      <category>vlc</category>
      <category>perian</category>
      <category>mkv</category>
      <category>matroska</category>
      <category>anime</category>
      <link>http://blog.vazexqi.com/2007/08/20/subtitle-tracks-in-mkv-files-on-mac-os-x</link>
    </item>
  </channel>
</rss>
