-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.m3u8 subtitle #1722
Comments
There is not enough information in the title for us to know what the issue is. You should also replace the issue template with the information it requires. Please, open a new issue. |
Hi, i read about exoplayer supporting .srt subtitles and found code about how to enable it from here http://emby.media/community/index.php?/topic/3688-hls-streaming-video-supports-subtitles/. But as i was looking more into the topic i found that .m3u8 can have subtitle metadata in it: #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="bipbop_audio",LANGUAGE="eng",NAME="BipBop Audio 1",AUTOSELECT=YES,DEFAULT=YES #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="English",DEFAULT=YES,AUTOSELECT=YES,FORCED=NO,LANGUAGE="en",URI="subtitles/eng/prog_index.m3u8" #EXT-X-STREAM-INF:BANDWIDTH=263851,CODECS="mp4a.40.2, avc1.4d400d",RESOLUTION=416x234,AUDIO="bipbop_audio",SUBTITLES="subs" #EXT-X-STREAM-INF:BANDWIDTH=577610,CODECS="mp4a.40.2, avc1.4d401e",RESOLUTION=640x360,AUDIO="bipbop_audio",SUBTITLES="subs" #EXT-X-STREAM-INF:BANDWIDTH=915905,CODECS="mp4a.40.2, avc1.4d401f",RESOLUTION=960x540,AUDIO="bipbop_audio",SUBTITLES="subs" #EXT-X-STREAM-INF:BANDWIDTH=1030138,CODECS="mp4a.40.2, avc1.4d401f",RESOLUTION=1280x720,AUDIO="bipbop_audio",SUBTITLES="subs" #EXT-X-STREAM-INF:BANDWIDTH=1924009,CODECS="mp4a.40.2, avc1.4d401f",RESOLUTION=1920x1080,AUDIO="bipbop_audio",SUBTITLES="subs" #EXT-X-STREAM-INF:BANDWIDTH=41457,CODECS="mp4a.40.2",AUDIO="bipbop_audio",SUBTITLES="subs" full thread here http://emby.media/community/index.php?/topic/3688-hls-streaming-video-supports-subtitles/. Does android exoplayer support this type of subtitles? |
Yes, this is already supported in exoplayer. You can chose any of the subtitles declared in the master playlist. This same HLS sample is available in the DemoApp, so you can have a look there. |
Hi, thanks for quick reply. Was about to ask where i get the demo app, but On Fri, Aug 5, 2016 at 1:21 PM, Santiago Seifert notifications@github.com
|
Please search the existing issues before filing a new one, including issues that
are closed. When filing a new issue please include all of the following, unless
you're certain that they're not useful for the particular issue being reported.
demo app.
publicly, please submit the issue, then email the link to
dev.exoplayer@gmail.com including the issue number in the subject line.
and how easily it reproduces. If possible, please test on multiple devices and
Android versions.
file. A bug report can be captured using "adb bugreport". Output from "adb
logcat" or a log snippet is not sufficient.
The text was updated successfully, but these errors were encountered: