<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>hendrik.kaju.pri.ee &#187; quicktime</title>
	<atom:link href="http://hendrik.kaju.pri.ee/tag/quicktime/feed/" rel="self" type="application/rss+xml" />
	<link>http://hendrik.kaju.pri.ee</link>
	<description>Hendrik Kaju's weblog</description>
	<lastBuildDate>Fri, 21 Aug 2009 18:28:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Quicktime subtitles revealed</title>
		<link>http://hendrik.kaju.pri.ee/2008/08/24/quicktime-subtitles-revealed/</link>
		<comments>http://hendrik.kaju.pri.ee/2008/08/24/quicktime-subtitles-revealed/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 15:07:47 +0000</pubDate>
		<dc:creator>Hendrik</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[ipod]]></category>
		<category><![CDATA[quicktime]]></category>

		<guid isPermaLink="false">http://hendrik.kaju.pri.ee/?p=7</guid>
		<description><![CDATA[During the Macworld 2008 keynote in January, Steve Jobs introduced iTunes movie rentals that supported multiple audio tracks and subtitles. It has been over two months now and although subtitle support has already been implemented in iTunes, Quicktime and all of the current-generation video-capable iPods, subtitled movies have yet to appear in iTunes Store. Luckily, [...]]]></description>
			<content:encoded><![CDATA[<p>During the Macworld 2008 keynote in January, Steve Jobs introduced iTunes movie rentals that supported multiple audio tracks and subtitles. It has been over two months now and although subtitle support has already been implemented in iTunes, Quicktime and all of the current-generation video-capable iPods, subtitled movies have yet to appear in iTunes Store. Luckily, a few very clever hackers have figured out this undocumented new feature.</p>
<p><img src="http://hendrik.kaju.pri.ee/failid/subs/sga1.jpg" alt="" /><br />
<span id="more-7"></span><br />
The subtitle track is actually a 3gpp timed text track with the subtype atom set to &#8217;sbtl&#8217;. It will work with all current-generation video-capable iPods (Classic, Nano, Touch and iPhone) as well as iTunes, Quicktime and even AppleTV (Take 2). Creating subtitled videos might be a bit complicated but it is tremendously easier than trying to create Closed Captions. This tutorial will help you to add any subtitles (as long as they are in SRT format) to your MP4 movies. It is tested with Quicktime 7.4.1, iTunes 7.6.1 and on an iPod Touch with firmware 1.1.4.</p>
<p>Note: I did not discover any of these features. All credits must go to entropic from the Handbrake forum and audiovizual from Doom9. This tutorial is written based on the following materials:</p>
<ul>
<li>http://forum.doom9.org/showthread.php?t=136170</li>
<li>http://forum.handbrake.fr/viewtopic.php?f=14&amp;t=5520&amp;p=31577</li>
<li>http://forum.handbrake.fr/viewtopic.php?f=4&amp;p=31698</li>
</ul>
<p>You will need:</p>
<ul>
<li>MP4Box (&#8217;sudo apt-get install gpac&#8217; for Ubuntu or http://www.videohelp.com/tools/mp4box for Windows)</li>
<li>Dumpster (http://developer.apple.com/quicktime/quicktimeintro/tools/)</li>
</ul>
<p>First off, convert your .srt file to a .ttext file.<br />
<code>MP4Box -ttxt <em>path_to_srt_file</em></code><br />
You can edit the resulting ttext file to fit your needs. When you are done, add the track to your movie.<br />
<code>MP4Box -add <em>path_to_converted_text_track</em>:lang=<em>language_code</em> <em>path_to_movie_file</em></code><br />
Now your movie contains the 3gpp timed text track. Next step is to use Dumpster to set the correct atoms in the movie so that iPods and Quicktime will recognize it as a subtitle track.<br />
Drag your movie file over the dumpster.exe to open it. Navigate to &#8216;moov -&gt; trak -&gt; mdia -&gt; hdlr&#8217; (make sure you choose the last &#8216;trak&#8217; in the list). Click on &#8216;Component subtype&#8217; and replace everything after the last $ sign in the text box in the bottom of the window with &#8216;7362746c&#8217; (minus the quotes).<br />
The result should look something like this:<br />
<img src="http://hendrik.kaju.pri.ee/failid/subs/dumpster1.jpg" alt="" /><br />
Now Quicktime and iTunes will be able to display your newly-created subtitles. To be able to select the track on an iPod, an extra step is necessary.<br />
Open the movie file in Dumpster again. Go to &#8216;moov -&gt; trak -&gt; tkhd&#8217; and replace the &#8216;Alternate Group&#8217; atom&#8217;s last zero with a 2 (see the screenshot below), apply th changes and close Dumpster.<br />
<img src="http://hendrik.kaju.pri.ee/failid/subs/dumpster2.jpg" alt="" /><br />
Congratulations! Your subtitled movie is now ready. All you have to do now is enjoy <img src='http://hendrik.kaju.pri.ee/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
If you have any questions or problems, post them in the comments section, I&#8217;ll try to reply as soon as possible.<br />
<img src="http://hendrik.kaju.pri.ee/failid/subs/sga2.jpg" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://hendrik.kaju.pri.ee/2008/08/24/quicktime-subtitles-revealed/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>
