ExoMedia
ExoMedia copied to clipboard
Subtitle support
Hi @brianwernick , Do you support srt subtitle rendering?
Not currently, though this is something that should probably be slated for the 3.x track
Any time frame when this will be released?
Sadly no. I've been pretty busy with work lately and since this will be after the 3.0 release I can't say for certain.
An initial implementation has been added in https://github.com/brianwernick/ExoMedia/tree/issue-115_subtitle_callbacks however I would like to to 2 things before it is merged:
- Abstract the listener away from the ExoPlayer implementation of
Cue - Add support for
TimedTextListenerfor the MediaPlayer instances (only for API 16+)
Adding something like subtitle support is quite a large task but I hope to get it implemented (at least with a basic level) for the 3.1 release
Hi Brian. Do you support subtitle in 3.0.5 release ?
Any news on this? Would love to have this functionality.
I haven't had time to work on ExoMedia much lately so this will most likely be in a post 4.0 release
can't wait!! i'd love to have it too :)
I'm testing with a HLS with integrated subtitles, firstly i did not get any callback onCues, but currently i'm able to get text from the onCues implementation (the listeners are all right ☺). What i've got to do the trick is at the constructor of EmExoplayer, by modifyng as follows:
player.setSelectedTrack(RENDER_TIMED_METADATA, RENDER_TIMED_METADATA);
I'd like more info about the way to get the subtitle track of a available language to keep developing on it. Thanks for this branch!!
Any news on that Brian ? :)
Thank you!!
@brianwernick does the video support closed caption/subtitle now?
Do you have news of subtitle support srt / closed caption? The work you are doing is fantastic.
Sadly I have no additional news on the progress of sub/cc (or 5.0 in general) :(
Is there a chance that we can donate for this request to have priority?
Thanks!
There is now a sample in the demo app on how to get closed captions for video playback. See Commit c0f4bc3