You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wangbin edited this page Oct 12, 2026
·
3 revisions
libass is required, it can be found in sdk(libass.dll, libass.so, libass.dylib), remove it if you don't need it. For iOS, download and add ass.framework to your xcode project. For linux, system libass can be used, you may have to install manually via system package manager.
If a required subtitle font is not found in the system(e.g. android), you can add assets/subfont.ttf in your app and SetGlobalOption("subtitle.fonts.file", font_path). On android font file can be an asset, then the path is assets://font_path.
Custom Style
See subtitle options for player, including subtitle.delay (seconds; positive = later) and style/size options.
Switching embedded subtitle tracks seeks to the current position by default; disable with SetGlobalOption("subtitle.seek_on_switch", 0).