Skip to content

Add optional text-to-speech reading of subtitles - #3343

Open
hoanganh2208 wants to merge 1 commit into
recloudstream:masterfrom
hoanganh2208:subtitle-tts
Open

hoanganh2208 wants to merge 1 commit into
recloudstream:masterfrom
hoanganh2208:subtitle-tts

Conversation

@hoanganh2208

@hoanganh2208 hoanganh2208 commented Nov 22, 2026 •

Copy link
Copy Markdown

Adds an optional feature that reads the on-screen subtitles aloud with the device text-to-speech engine.

Settings > Player > Subtitle settings > Read subtitles aloud:

  • switch, reading language, voice
  • option to show or hide the on-screen subtitle while it is read
  • original video volume (%) while a line is being read
  • reading speed
  • auto speed-up when the voice falls behind (with a max speed)
  • skip lines that are too late
  • optional mode that pauses the video until the line is read

AI usage: this change was written with AI assistance (Claude).

Testing: [Samsung S24 Ultra, Android 16, it works very well. It can read video with Substitle downloaded from Internet)
using Google Text-to-Speech. I watched movies with Vietnamese subtitles and checked the switch, language, voice, original volume, speed, auto speed-up and pause mode.
Help me no need to pay attention a lot to screen, help protected my eyes. And enjoy the Movies,, video,...)
Hope this features bring to everyone, not only myself.
Screenshot_20261122_082520_CloudStream Beta
Screenshot_20261122_082524_CloudStream Beta
Screenshot_20261122_082533_CloudStream Beta
Screenshot_20261122_082541_CloudStream Beta

@fire-light42 fire-light42 added Review needed The pull request contains no obvious blockers. It just needs a review before merging. AI Assisted This pull request was AI assisted (or generated). labels Nov 22, 2026
Reads the subtitle line that is currently on screen out loud with the
device text-to-speech engine. Adds a "Read subtitles aloud" group at the
top of Settings > Player > Subtitle settings with:

- on/off switch, reading language and voice selection
- option to show or hide the on-screen subtitle while it is read
- original video volume (%) while a line is being read
- reading speed
- auto speed-up when the voice falls behind, with a maximum speed
- skip lines that wait longer than a chosen time
- an optional mode that pauses the video until the line is read

AI disclosure: this change was written with AI assistance (Claude).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@hoanganh2208

Copy link
Copy Markdown
Author

Update option to show or hide the on-screen subtitle while it is read.
Test work ok in S24ultra android 16

@fire-light42

Copy link
Copy Markdown
Collaborator

Please keep all comments in English

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Assisted This pull request was AI assisted (or generated). Review needed The pull request contains no obvious blockers. It just needs a review before merging.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants