Skip to content

Enable subtitle delay/offset for external SRT in ExoPlayer#1547

Draft
damontecres wants to merge 2 commits into
mainfrom
fea/external-srt-subtitle-delay
Draft

Enable subtitle delay/offset for external SRT in ExoPlayer#1547
damontecres wants to merge 2 commits into
mainfrom
fea/external-srt-subtitle-delay

Conversation

@damontecres

@damontecres damontecres commented Jun 9, 2026

Copy link
Copy Markdown
Owner

Warning

This is still a work-in-progress!

Description

Set subtitle offset for external SRT when playing via ExoPlayer. This should cover the majority of cases that need subtitle adjustments in ExoPlayer since 1) embedded subtitles usually don't need adjustments and 2) most third-party services (ie OpenSubtitles) provide SRT subtitles.

Note: if playing with MPV, you can already set a subtitle offset on any format of subtitles!

TODO

  • Test interactions with transcoding?
  • Improve cue search efficiency
  • Is updating every 100ms fast enough?

Related issues

Related to #12

Testing

Just the basic with the emulator so far

Screenshots

N/A

AI or LLM usage

None

@damontecres damontecres added enhancement New feature or request subtitles labels Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request subtitles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant