anashish
Newbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2017
09:27 PM
WebVTT Roku
Just wondering is there a way of setting a webvtt url as subtitle instead of embed it in the HLS stream?
3 REPLIES 3
balbant
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2017
06:50 AM
Re: WebVTT Roku
You can use SubtitleUrl for external caption file.
follow this code:-
follow this code:-
function setVideo() as void
videoContent = createObject("RoSGNode", "ContentNode")
videoContent.url = "http://yt-dash-mse-test.commondatastorage.googleapis.com/media/motion-20120802-manifest.mpd"
videoContent.title = ""
videoContent.streamformat = "dash"
videoContent.SubtitleUrl = "pkg:/ttml/ttml.xml"
m.video = m.top.findNode("musicvideos")
m.video.content = videoContent
m.video.control = "play"
m.video.setFocus(true)
end function
anashish
Newbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2017
03:36 AM
Re: WebVTT Roku
Thanks for the answer.
Please clarify one more thing can I pass url in SubtitleUrl?
Please clarify one more thing can I pass url in SubtitleUrl?
videoContent.SubtitleUrl = "http://cpansearch.perl.org/src/MIYAGAWA/Video-Subtitle-SRT-0.01/t/sample.srt"
hoovermr
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2018
07:30 AM
Re: WebVTT Roku
According to this doc, using external captions is not supported with WebVTT (only in manifest): https://sdkdocs.roku.com/display/sdkdoc ... on+Support
Using the method you have outlined in the posts prior, is it possible that loading these captions by the sidecar method could lead to captions drifting out of sync?
Using the method you have outlined in the posts prior, is it possible that loading these captions by the sidecar method could lead to captions drifting out of sync?