klaus001
Channel Surfer

dash stream with webvtt not show subtitle

I try to show subtitle in dash stream with webvtt, but failed.

I have set captionMode to "On" and  can get available subtitle by availableSubtitleTracks field.

But, No matter I set by subtitleTrack field, or by remote controller(according to https://developer.roku.com/en-gb/docs/developer-program/media-playback/closed-caption.md), subtitle not shown.

Below is test stream I used from dash.js(http://reference.dashif.org/dash.js/latest/samples/captioning/multi-track-captions.html) :

https://dash.akamaized.net/akamai/test/caption_test/ElephantsDream/elephants_dream_480p_heaac5_1_htt...

Below are fields I got from player node:

availableSubtitleTracks: [{"Description":"","Language":"en","TrackName":"dash/c~WEBVTT~en~main~"}]
currentSubtitleTrack: dash/c~WEBVTT~en~main~
globalCaptionMode: On
 
Is there anything I need to do except for setting captionMode and subtitleTrack?
 

Thanks,

Klaus

Tags (1)
0 Kudos
3 REPLIES 3
renojim
Community Streaming Expert

Re: dash stream with webvtt not show subtitle

I tried that stream and just enabled captions using the remote while the stream was playing and I got captions.  Are you getting captions on any videos in any channels?

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
klaus001
Channel Surfer

Re: dash stream with webvtt not show subtitle

Yes, I can see and control caption by merely changing streamFormat to hls and using url below.

 

0 Kudos
klaus001
Channel Surfer

Re: dash stream with webvtt not show subtitle

I know why this stream not show subtitle.

Subtitle content only exist on the front part of stream.

I have another question, If the subtitle content can't get from server(for example, baseUrl in mpd is not right or resource on server is remove). Would it show any error message?

0 Kudos
Community is Temporarily in Read-Only Mode!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

Thanks for your patience — we’re excited to share what’s next!