title: Encoding Video for HTTP Live Streaming with Subtitles
body: <p>I've been following Apple's guide for <a href="http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/UsingHTTPLiveStreaming/UsingHTTPLiveStreaming.html" rel="nofollow">HTTP Live Streaming</a> and have it working nicely in my app but I'd like to embed subtitles in the video. <a href="http://www.quora.com/Are-subtitles-closed-captions-supported-for-HTTP-Live-Stream-videos-on-Apple-iOS-devices" rel="nofollow">This thread on Quora</a> suggests that Netflix have done it.</p>
  
  <p>My source videos have subtitles embedded via a .srt file using QuickTime Pro and the subtitles can be seen when playing the video in QuickTime and in my iOS app. Once I split the video into smaller .ts files using mediafilesegmenter (as required for HLS), the subtitles disappear. I'm using <a href="http://developer.apple.com/library/ios/#documentation/mediaplayer/reference/MPMoviePlayerController_Class/Reference/Reference.html" rel="nofollow">MPMoviePlayerController</a>.</p>
  
  <p>Is there a special way to encode the source video or to use mediafilesegmenter for subtitling to work? </p>