1. No user installed addons are supported, python or otherwise.
2. No, they really are not supported.
3. They are not coming back
4. Read from 1. again

Any mention of illegal streaming sites, addons or any pirated material will not be tolerated. This is not democracy and any offenders will be banned and posts deleted immediately without warning.

Other than that, we hope you enjoy MrMC so far and we welcome any input and feedback you might have.

Team MrMC.

Play some asian languages ASS subtitle will hang

tvOS Video playback support subforum
Post Reply
JeremyPeng
Posts: 8
Joined: 22 Mar 2018, 15:54

Play some asian languages ASS subtitle will hang

Post by JeremyPeng » 24 Mar 2018, 05:28

Sorry friends, it's me again.

My EVN:
Apple TV 4K - tvOS 11.2.6
Frame rate matching - turn on
Dynamic range matching - turn on
MrMC 3.5.0
Some video file, use ASS subtitles, will be causing MrMC to hang...
At the end of the post I will attach a sample.

This Photo by MrMC
Image

This Photo by Infuse Pro 5
Image

The first time I tried to call the subtitles that caused the problem, but when I switched subtitles MrMC crashed and the second call succeeded, let me to reproduce the issue mentioned in the post title.

Here is a log when use ASS subtitle cause MrMC hanged :
https://www.dropbox.com/s/px9rlytn7y6tl ... 8.txt?dl=0

Here is a MrMc old log of MrMC crash after calling "Settings - Audio and subtitle settings" to switch subtitles in the player UI:
(Because the MCMC needs to be restarted after a crash, only the old log can be output)
https://www.dropbox.com/s/yao1liuo0e7vd ... 8.txt?dl=0


Here is sample video file download link:
https://www.dropbox.com/s/7ld031s7cyqy2 ... 3.mkv?dl=0

-------------------------------------------------------------------------

I noticed that MrMC can call tvOS's system font.
If the tvOS system font can be used in the subtitle font selection, and the outline style can be 1/2 thinner to this now, this will greatly improve the rendering effect of the SRT subtitles.

Netflix:
Image

Infuse Pro 5:
Image

MrMC and Kodi:
Image

This change has greatly improved user experience.
We will get close to the rendering of the subtitles in the Netflix/Infuse app.

JeremyPeng
Posts: 8
Joined: 22 Mar 2018, 15:54

Re: Play some asian languages ASS subtitle will hang

Post by JeremyPeng » 26 Mar 2018, 15:28

The problem seems to be ignored.. let's look directly at the log with problems!
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (黑体, 700, 0) -> /System/Library/Fonts/Core/Helvetica.ttc, -1, Helvetica-Bold
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Glyph 0x4ECE not found, selecting one more font for (黑体, 700, 0)
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (黑体, 700, 0) -> /System/Library/Fonts/LanguageSupport/PingFang.ttc, -1, PingFangSC-Semibold
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Error opening font: '/System/Library/Fonts/LanguageSupport/PingFang.ttc', 1
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Glyph 0x963F not found, selecting one more font for (黑体, 700, 0)
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (黑体, 700, 0) -> /System/Library/Fonts/LanguageSupport/PingFang.ttc, -1, PingFangSC-Semibold
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Error opening font: '/System/Library/Fonts/LanguageSupport/PingFang.ttc', 1
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Glyph 0x5E03 not found, selecting one more font for (黑体, 700, 0)
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (黑体, 700, 0) -> /System/Library/Fonts/LanguageSupport/PingFang.ttc, -1, PingFangSC-Semibold
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Error opening font: '/System/Library/Fonts/LanguageSupport/PingFang.ttc', 1
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Glyph 0x8F9B not found, selecting one more font for (黑体, 700, 0)
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (黑体, 700, 0) -> /System/Library/Fonts/LanguageSupport/PingFang.ttc, -1, PingFangSC-Semibold
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Error opening font: '/System/Library/Fonts/LanguageSupport/PingFang.ttc', 1
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Glyph 0x8D1D not found, selecting one more font for (黑体, 700, 0)
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (黑体, 700, 0) -> /System/Library/Fonts/LanguageSupport/PingFang.ttc, -1, PingFangSC-Semibold
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Error opening font: '/System/Library/Fonts/LanguageSupport/PingFang.ttc', 1
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Glyph 0x5230 not found, selecting one more font for (黑体, 700, 0)
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (黑体, 700, 0) -> /System/Library/Fonts/LanguageSupport/PingFang.ttc, -1, PingFangSC-Semibold
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Error opening font: '/System/Library/Fonts/LanguageSupport/PingFang.ttc', 1
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Glyph 0x83F2 not found, selecting one more font for (黑体, 700, 0)
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (黑体, 700, 0) -> /System/Library/Fonts/LanguageSupport/PingFang.ttc, -1, PingFangSC-Semibold
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Error opening font: '/System/Library/Fonts/LanguageSupport/PingFang.ttc', 1
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Glyph 0x83B1 not found, selecting one more font for (黑体, 700, 0)
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (黑体, 700, 0) -> /System/Library/Fonts/LanguageSupport/PingFang.ttc, -1, PingFangSC-Semibold
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Error opening font: '/System/Library/Fonts/LanguageSupport/PingFang.ttc', 1
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Glyph 0x7684 not found, selecting one more font for (黑体, 700, 0)
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (黑体, 700, 0) -> /System/Library/Fonts/LanguageSupport/PingFang.ttc, -1, PingFangSC-Semibold
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Error opening font: '/System/Library/Fonts/LanguageSupport/PingFang.ttc', 1
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Glyph 0x52AA not found, selecting one more font for (黑体, 700, 0)
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (黑体, 700, 0) -> /System/Library/Fonts/LanguageSupport/PingFang.ttc, -1, PingFangSC-Semibold
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Error opening font: '/System/Library/Fonts/LanguageSupport/PingFang.ttc', 1
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Glyph 0x6BD4 not found, selecting one more font for (黑体, 700, 0)
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (黑体, 700, 0) -> /System/Library/Fonts/LanguageSupport/PingFang.ttc, -1, PingFangSC-Semibold
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Error opening font: '/System/Library/Fonts/LanguageSupport/PingFang.ttc', 1
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Glyph 0x4E9A not found, selecting one more font for (黑体, 700, 0)
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (黑体, 700, 0) -> /System/Library/Fonts/LanguageSupport/PingFang.ttc, -1, PingFangSC-Semibold
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Error opening font: '/System/Library/Fonts/LanguageSupport/PingFang.ttc', 1
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Glyph 0x9057 not found, selecting one more font for (黑体, 700, 0)
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (黑体, 700, 0) -> /System/Library/Fonts/LanguageSupport/PingFang.ttc, -1, PingFangSC-Semibold
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Error opening font: '/System/Library/Fonts/LanguageSupport/PingFang.ttc', 1
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Glyph 0x5740 not found, selecting one more font for (黑体, 700, 0)
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (黑体, 700, 0) -> /System/Library/Fonts/LanguageSupport/PingFang.ttc, -1, PingFangSC-Semibold
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Error opening font: '/System/Library/Fonts/LanguageSupport/PingFang.ttc', 1
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Glyph 0xFF08 not found, selecting one more font for (黑体, 700, 0)
11:55:51 T:6122729472 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (黑体, 700, 0) -> /System/Library/Fonts/LanguageSupport/PingFang.ttc, -1, PingFangSC-Semibold
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Error opening font: '/System/Library/Fonts/LanguageSupport/PingFang.ttc', 1
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Glyph 0x57C3 not found, selecting one more font for (黑体, 700, 0)
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (黑体, 700, 0) -> /System/Library/Fonts/LanguageSupport/PingFang.ttc, -1, PingFangSC-Semibold
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Error opening font: '/System/Library/Fonts/LanguageSupport/PingFang.ttc', 1
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Glyph 0x53CA not found, selecting one more font for (黑体, 700, 0)
11:55:51 T:6122729472 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (黑体, 700, 0) -> /System/Library/Fonts/LanguageSupport/PingFang.ttc, -1, PingFangSC-Semibold
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Error opening font: '/System/Library/Fonts/LanguageSupport/PingFang.ttc', 1
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Glyph 0xFF09 not found, selecting one more font for (黑体, 700, 0)
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (黑体, 700, 0) -> /System/Library/Fonts/LanguageSupport/PingFang.ttc, -1, PingFangSC-Semibold
11:55:51 T:6107443200   DEBUG: CDVDSubtitlesLibass: [ass] Error opening font: '/System/Library/Fonts/LanguageSupport/PingFang.ttc', 1
11:55:51 T:6122729472 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer

This is a bug and it will make the MrMC stuck, please fix this.
I didn't ask developers to add fonts that require authorization...

User avatar
davilla
Team MrMC
Posts: 3466
Joined: 26 Oct 2015, 17:01

Re: Play some asian languages ASS subtitle will hang

Post by davilla » 26 Mar 2018, 15:43

'/System/Library/Fonts/LanguageSupport/PingFang.ttc' is not accessible via any App as Apps are sandboxed. You are not permitted to directly assess xxx.ttf files.

Plus PingFang.ttc is the combined series of PingFangXX.ttf files. I'm not quite sure where it even gets this reference.

JeremyPeng
Posts: 8
Joined: 22 Mar 2018, 15:54

Re: Play some asian languages ASS subtitle will hang

Post by JeremyPeng » 26 Mar 2018, 18:08

Infuse also controlled by the apple's rules, but it's can play this video well. I'm also very curious, according to my observation it just replaced unkown fonts with its built-in font.

I suggest, if the ASS/SSA subtitles don’t have the font found in MrMC. Replace them with user selected font in subtitle options. (For now, MrMC’s built-in Arial font is the only choice for Asian language users. :|

This at least ensures that the video can be played normally and the subtitle content can be displayed. This compromise will be widely accepted.

Hope the development team consider this solution.

------------------------------------------------------------
Just a wish:
If you can, plus PingFangXX.ttf and provide the option of font outline adjustment, which will be a great news for me :D

JeremyPeng
Posts: 8
Joined: 22 Mar 2018, 15:54

Re: Play some asian languages ASS subtitle will hang

Post by JeremyPeng » 30 Mar 2018, 14:54

davilla wrote:
26 Mar 2018, 15:43
'/System/Library/Fonts/LanguageSupport/PingFang.ttc' is not accessible via any App as Apps are sandboxed. You are not permitted to directly assess xxx.ttf files.

Plus PingFang.ttc is the combined series of PingFangXX.ttf files. I'm not quite sure where it even gets this reference.
I have updated 3.6.0, Plex for MrMC is great!
However, this bug still exists. I hope the development team can consider my suggestion
I suggest, if the ASS/SSA subtitles don’t have the font found in MrMC. Replace them with user selected font in subtitle options.
to fix this problem.

User avatar
davilla
Team MrMC
Posts: 3466
Joined: 26 Oct 2015, 17:01

Re: Play some asian languages ASS subtitle will hang

Post by davilla » 01 Apr 2018, 00:04


JeremyPeng
Posts: 8
Joined: 22 Mar 2018, 15:54

Re: Play some asian languages ASS subtitle will hang

Post by JeremyPeng » 01 Apr 2018, 17:09

That’s great, thanks to the development team for paying attention to this problem. Very much looking forward to the completion.

leonardzhang
Posts: 1
Joined: 15 Jul 2018, 14:02

Re: Play some asian languages ASS subtitle will hang

Post by leonardzhang » 15 Jul 2018, 14:05

Has this issue been resolved? I'm using 3.6.2 on Apple TV and still experience the same issue. The subtitle which contains Asian texts with missing fonts freezes the playback.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests