Skip to content

Subtitles not rendering correctly with both libmpv and exoplayer #36

@lkcv

Description

@lkcv

Describe your issue

Hi,

It seems some fonts specified in .ass files aren't rendered correctly with either player library and fall back to some default font.
Exoplayer renders the subtitle positions correctly, but both it can libmpv don't show the correct font or font colors.

The fonts are attachments in the mkv and other jellyfin clients render them correctly.

In AFinity with libmpv:
Image

With exoplayer:
Image

In another Jellyfin client:
Image

I can try to get logs with logcat if that'll help.

Steps to reproduce

Play a file and see that the font looks different than expected.

Expected behavior

The fonts along with their color and position should render correctly.

Screenshots or screen recording

No response

Player

LibMPV (default)

Issue area

Subtitles

Media information (if applicable)

No response

Logs

Additional context

No response

Device

S21 Ultra

Android version

15

Afinity version

v0.42-beta

Jellyfin server version

10.11.6

Connection type

Both (issue occurs in both scenarios)

Checklist

  • I have searched for similar issues before creating this one
  • I am using the latest version of Afinity
  • This issue is reproducible

Metadata

Metadata

Assignees

Labels

FixedWill be released next updatebugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions