Support HLS w/ MP4 subtitles without MIME type info
See original GitHub issueHave you read the FAQ and checked for duplicate open issues? Yes
What version of Shaka Player are you using? 2.5.1-master
Can you reproduce the issue with our latest release version? yes
Can you reproduce the issue with the latest code from master?
Yes
Are you using the demo app or your own custom app? Both
If custom app, can you reproduce the issue using our demo app? Yes
What browser and OS are you using? Windows 10 & Chrome Version 74.0.3729.169
For embedded devices (smart TVs, etc.), what model and firmware version are you using? N/A
What are the manifest and license server URIs? https://irtdashreference-i.akamaihd.net/dash/live/901161/keepixo1/playlistBR2.m3u8 No DRM
What did you do? I want to read the content with the subtitles, they are not working, I don’t understand why.
What did you expect to happen? The subtitles working properly
What actually happened? When the subtitles are activated, I can’t see them on the video.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)

Top Related StackOverflow Question
There is a related bug on Shaka Packager: https://github.com/google/shaka-packager/issues/645.
HLS Authoring Specification for Apple Devices specifies that
So the codec information for WebVTT is optional, but recommended for TTML.
Would it work in the player to properly support TTML codec (
stpp.ttml.im1t) and WebVTT codec (wvtt) if they are present and assume webvtt subtitles if the codec information is missing (since codec information for TTML should be present)?Following this issue also, as I can’t get any of the live streams using HLS and MP4/IMSC1 (ISO 14496 part 30) fragments to render in the Shaka player at all.
Having the same issue with this HLS manifest. We can share some live stream samples as well. I’m asking my team if they can possibly take this PR @joeyparrish
#EXTM3U #EXT-X-VERSION:7 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=“audio”,NAME=“audio”,DEFAULT=YES,CHANNELS=“2”,URI=“QualityLevels(128000)/Manifest(audio,format=m3u8-cmaf)” #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID=“subs”,NAME=“Auto-generated”,LANGUAGE=“en-us”,DEFAULT=YES,AUTOSELECT=YES,CHARACTERISTICS=“public.accessibility.transcribes-spoken-dialog”,URI=“QualityLevels(4800)/Manifest(Auto-generated,format=m3u8-cmaf)” #EXT-X-STREAM-INF:BANDWIDTH=2702136,RESOLUTION=1280x720,CODECS=“avc1.64001f,mp4a.40.5,stpp.ttml.im1t”,AUDIO=“audio”,SUBTITLES=“subs” QualityLevels(2500000)/Manifest(video,format=m3u8-cmaf) #EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=2702136,RESOLUTION=1280x720,CODECS=“avc1.64001f”,URI=“QualityLevels(2500000)/Manifest(video,format=m3u8-cmaf,type=keyframes)” #EXT-X-STREAM-INF:BANDWIDTH=138976,CODECS=“mp4a.40.5”,AUDIO=“audio”,SUBTITLES=“subs” QualityLevels(128000)/Manifest(audio,format=m3u8-cmaf)