Luke 37096 Posted June 11, 2014 Share Posted June 11, 2014 This will be in the next dev build. In one sentence, this means Subtitles without transcoding. Which is obviously a very good thing. The api is very easy to use. First, there is a new property added to MediaStream: IsTextSubtitleStream Then, there are two api endpoints: /Videos/{Id}/{MediaSourceId}/Subtitles/{Index}/Stream.srt /Videos/{Id}/{MediaSourceId}/Subtitles/{Index}/Stream.vtt Any text stream supports this - meaning they can be converted to either srt or vtt, depending on what you need. If resuming or seeking, you can also supply StartPositionTicks. 6 Link to comment Share on other sites More sharing options...
darwindeeds 356 Posted June 21, 2014 Share Posted June 21, 2014 Nice, does the web client use this? I would like to try it out. Link to comment Share on other sites More sharing options...
Luke 37096 Posted June 21, 2014 Author Share Posted June 21, 2014 in the dev server yes Link to comment Share on other sites More sharing options...
Redshirt 1487 Posted June 24, 2014 Share Posted June 24, 2014 Are you planning on expanding the StreamBuilder class to generate this url as a companion to the video url if subtitles are requested? Or should we handle that logic separately? Link to comment Share on other sites More sharing options...
Luke 37096 Posted June 24, 2014 Author Share Posted June 24, 2014 yes, i will be doing that soon, because subtitle delivery method will affect the decision making of direct stream vs transcode Link to comment Share on other sites More sharing options...
darwindeeds 356 Posted July 2, 2014 Share Posted July 2, 2014 Luke, looks like the subtitle stream has to be a part of the m3u8 playlist for iOS to be able to use it without burning/transcoding. Is it something that is possible? Link to comment Share on other sites More sharing options...
Luke 37096 Posted July 2, 2014 Author Share Posted July 2, 2014 At some point yea. You'll just have to burn it in for now. Link to comment Share on other sites More sharing options...
Luke 37096 Posted July 2, 2014 Author Share Posted July 2, 2014 But with direct stream you can still use this. Link to comment Share on other sites More sharing options...
darwindeeds 356 Posted July 2, 2014 Share Posted July 2, 2014 Ok cool. Thanks. Link to comment Share on other sites More sharing options...
Luke 37096 Posted July 4, 2014 Author Share Posted July 4, 2014 This now documented here: https://github.com/MediaBrowser/MediaBrowser/wiki/Subtitles Nothing new, just getting it on github. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now