subtitle partial error coding with vlc

macOS specific usage questions
tency_lyy
New Cone
New Cone
Posts: 4
Joined: 29 Apr 2012 03:36

subtitle partial error coding with vlc

Postby tency_lyy » 29 Apr 2012 03:54

I'm a chinese, so sorry for my poor english.

I usually use vlc to view my video, but with the subtitle, it displayed like below:

Image

how can fix this ? help me, please~

--------------------------------------------------------------------
update : remove download links, sorry.
Last edited by tency_lyy on 29 Apr 2012 11:05, edited 1 time in total.

nkoriyama
Cone that earned his stripes
Cone that earned his stripes
Posts: 338
Joined: 01 Sep 2011 20:50
VLC version: git
Operating System: Windows / Mac OS X
Location: Japan

Re: subtitle partial error coding with vlc

Postby nkoriyama » 29 Apr 2012 04:27

Please don't write the torrent link.
Last edited by nkoriyama on 30 Apr 2012 14:37, edited 2 times in total.
How To Ask Questions The Smart Way http://www.catb.org/~esr/faqs/smart-questions.html
My hack for ISDB-T http://sdrv.ms/126weue

tency_lyy
New Cone
New Cone
Posts: 4
Joined: 29 Apr 2012 03:36

Re: subtitle partial error coding with vlc

Postby tency_lyy » 29 Apr 2012 11:06

remove download links, sorry

nkoriyama
Cone that earned his stripes
Cone that earned his stripes
Posts: 338
Joined: 01 Sep 2011 20:50
VLC version: git
Operating System: Windows / Mac OS X
Location: Japan

Re: subtitle partial error coding with vlc

Postby nkoriyama » 29 Apr 2012 15:09

Thank you for removing the link.

The MKV file doesn't contain some embedded font, right?

I saw the same glyph(square + "字") before I modified freetype renderer.
https://trac.videolan.org/vlc/attachmen ... eerype.png it should be displayed as "音量50%".
I think this issue is the same as ticket 5491.

SSA/ASS subtitles codec seems to use the external fonts only in the /System/Library/Fonts.
How To Ask Questions The Smart Way http://www.catb.org/~esr/faqs/smart-questions.html
My hack for ISDB-T http://sdrv.ms/126weue

tency_lyy
New Cone
New Cone
Posts: 4
Joined: 29 Apr 2012 03:36

Re: subtitle partial error coding with vlc

Postby tency_lyy » 29 Apr 2012 19:53

thank you for answering.

yes, may be the same as ticket 5491. in ticket 5491, the error was "All the text on the video window are garbled.", but my issue is parital text are garbled.

I downloaded all fonts , and installed them by system internal app "font".

My own chinese fonts has been installed in the /Users/user_name/Library/Fonts. If ssa/ass subtitles codec can not use those external fonts, Is it a bug?

nkoriyama
Cone that earned his stripes
Cone that earned his stripes
Posts: 338
Joined: 01 Sep 2011 20:50
VLC version: git
Operating System: Windows / Mac OS X
Location: Japan

Re: subtitle partial error coding with vlc

Postby nkoriyama » 30 Apr 2012 11:44

Normally user fonts are installed to /Users/usename/Library/Fonts.
But because of fontconfig library installation problem, fontconfig searches fonts only under the folder /System/Library/Fonts by default.
At the moment, if you copy the font to /System/Library/Fonts, the subtitles will be shown properly, maybe.

This issue happens only on SSA/ASS codec. It does not happen on other external subtitles (e.g. SubRIp SRT) and OSD, because it has been fixed on freetype renderer long before(ticket 5491).
On the ticket 5491, I provided several solutions and finally the frertype renderer was fixed.
But I didn't notice the same problem hiding on SSA/ASS codec at that time.
Both freetype renderer and SSA/ASS codec use the same fontconfig library.
So, we have to fix this problem on SSA/ASS codec, similarly.
How To Ask Questions The Smart Way http://www.catb.org/~esr/faqs/smart-questions.html
My hack for ISDB-T http://sdrv.ms/126weue

tency_lyy
New Cone
New Cone
Posts: 4
Joined: 29 Apr 2012 03:36

Re: subtitle partial error coding with vlc

Postby tency_lyy » 30 Apr 2012 14:07

Thank you for your great work! I'm waiting for your fix.


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests