Skip to content

Add an advanced subtitle rendering setting - #2146

Open
anilbeesetti wants to merge 1 commit into
mainfrom
chore/issue-2128
Open

anilbeesetti wants to merge 1 commit into
mainfrom
chore/issue-2128

Conversation

@anilbeesetti

Copy link
Copy Markdown
Owner

Summary

Adds Advanced subtitle rendering under Settings → Subtitles, below Embedded styles. The setting defaults to on. Turning it off uses Media3 subtitle rendering for newly opened videos that use Media3 extraction.

Advanced subtitle rendering
  On  → FFmpeg and libass for supported advanced subtitles
  Off → Media3 subtitle rendering on Media3 sources

HW+ and automatic FFmpeg extraction fallback still use native subtitle rendering with Nextlib 0.19. Their integration depends on a published Nextlib version containing Nextlib #242. Related to Next Player #2128.

Verification

  • ./gradlew assembleDebug test ktlintCheck :app:assembleDebugAndroidTest passed.
  • FfmpegSubtitlePlaybackTest and CompatibilityServiceTest passed on the V660p_like Android 15 (API 35) emulator. The new regression verified Media3 text cues for embedded, local sidecar, and authenticated HTTP ASS with advanced rendering disabled.
  • The Device panel failed to capture the settings screen on that emulator, so a screenshot is unavailable.

Merge risk

Low. The preference defaults to the existing rendering behavior.

Created with GPT-6.2 Sol in Codex through T3 Code.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant