jellyfin / jellyfin-androidtv

Android TV Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
2.72k stars 464 forks source link

Chinese ASS subtitles will display square on TV. #2292

Closed Mr-win7 closed 1 year ago

Mr-win7 commented 1 year ago

Describe the bug

Reproduce procedure:

  1. On server side, scan any videos with a Chinese subtitle with ASS format.
  2. On server side, enable fallback font with a valid Chinese font(no need to use the type defined in ASS, others will also work).
  3. Play the video with the caption on TV client.

You will find all the characters will be displayed as a square, while it will be proper characters on HTML5/iOS/Android mobile client.

It is not correlated with the font type we use (whether the one assigned in the ASS file or not assigned one will not be well).

The reasons I guess list below.

  1. both Jellyfin server and TV(In fact maybe all the Jellyfin products) support badly on non-latin subtitle. they didn't contain Chinese fonts for subtitle rendering, which force users to use the fallback font feature.
  2. TV client now could not process the fallback font correctly. It may ignore the font provided by the server.

Maybe we can add support to fallback font and it will correct the problem.

Thank you for your great work and volunteering spirit. I'm not familiar with Android developing so I don't know how to fix it. I'm appreciate for your help.

Logs

Sorry for no log. It is difficult for me to get the log. This question is quite common on Chinese users and maybe other users may have the log with their rooted device.

Application version

v0.15.0-beta.2

Where did you install the app from?

Sideloaded APK

Device information

FFALCON 55S365C (And I think it is not related with device)

Android version

Android 11

Jellyfin server version

10.8.7

iere commented 1 year ago

I had the same problem.We're looking forward to fixing this.

jellyfin-bot commented 1 year ago

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

vianchiel commented 1 year ago

I'm having the same issue. This mostly happens with MKV movies/anime with embedded .ass subtitles for CJK letters.

At first I encountered this issue on the web-client end, I fixed it by adding Noto_Sans_CJK to the fallback font. However the AndroidTV client doesn't seem to utilise the fallback font at the current moment. Jellyfin for iOS and Android also has this problem, surprisingly the third-party application Findroid on Android successfully renders the subtitle and handles playback very well.

If needed I'll try to provide some logs/screenshots if requested.

jellyfin-bot commented 1 year ago

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

Jingru commented 12 months ago

I'm having the same issue with 0.15.12.

tabjy commented 11 months ago

Can we somehow reopen this issue as it's still relevant in recent versions?

nielsvanvelzen commented 11 months ago

The issue description mentions SSA/ASS. Those subtitles are not rendered by the app but are baked in using a transcode by the server. So the issue report should be made at the server repository.

TheLonelinessOfHS commented 3 months ago

The issue description mentions SSA/ASS. Those subtitles are not rendered by the app but are baked in using a transcode by the server. So the issue report should be made at the server repository.

No. The Android TV app is the only one that doesn't work.

xiNeRoar commented 1 month ago

will this ever be considered to fix?

TheLonelinessOfHS commented 1 month ago

will this ever be considered to fix?

Obviously not. I have switched to Emby after trying out the new release. The developer has been denying the presence of the issue. They claimed that they had removed LibVLC so that there is no such problem related to the LibVLC implementation. Actually, the new release once worked but stopped working after a while for some reason that I don't know. It seems that this problem isn't only associated with LibVLC. As a user I don't care about the implementation details and all I know is that the subtitles are still not working and the Android TV version is the only one that doesn't work apart from the Web and the Android. They simply denied that issue without further investigation. I have run out of patience and decided to switch.