-
Notifications
You must be signed in to change notification settings - Fork 524
Allow applications to modify subtitle offsets during playback #1976
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
Comments
The sync part of this question is a duplicate of google/ExoPlayer#854. I'm going to close that one and leave this one open as it's on our new issue tracker.
I'm not sure I understand this question - surely the language a subtitle file is in depends on the file itself, not the user's selected device language. If you don't know what language a subtitle file is in, you can leave |
@pawaom Did you mange to find a way to delay the subtitles? Im trying to do the same thing. Edit: I understand there is no SubtitleConfiguration option to do that, so I tried using merging and clipping sources to separate video from subtitle media sources. but this adds an issue with unsupported srt files in the new pipeline from what i can tell. |
Also chiming in on @sheepster1 's behalf since I'm very interested in doing the same thing. I think its a crucial feature in many many use cases, as I'm finding myself using subtitle offsets nearly every time I load up a video stream. |
How can we sync subtitles for Delay
Suppose we have a video and subtitles in Srt format
Now the video plays with the subtitle but the subtitles are delayed by say 30 second to the actual video how can we adjust the subtitles to sync with the actual video
We have used the following code to display the subtitles
Also int the above code we have the language set to english how can we set it to the "Default" language of the device or one selected by the user for the App.
The text was updated successfully, but these errors were encountered: