Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
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

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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.