ARIB subtitles drcs issue

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
PRIPARA_PLAYER
New Cone
New Cone
Posts: 2
Joined: 09 May 2021 06:58

ARIB subtitles drcs issue

Postby PRIPARA_PLAYER » 09 May 2021 07:15

When watching recordings with arib subtitles, drcs characters will always show up as 〓

The arib plugin allowed for placing a drcs_conv.ini file in the %APPDATA%\vlc\arib folder which would then read the hash for these characters and then convert them to an assigned unicode character. To assist with this, the plugin would also output image files of the drcs characters to the %APPDATA%\vlc\arib\data folder. This is all documented here https://github.com/nkoriyama/vlc-aribsub with an example file https://github.com/nkoriyama/vlc-aribsu ... s_conv.ini

With the built-in arib support in vlc, the characters do still appear to be getting saved as png files to the %APPDATA%\vlc\arib\data folder, but I can't seem to get it to read the ini file that will place the correct character in the subtitles.

Do you have any advice for how to get this functionality working natively in VLC?

PRIPARA_PLAYER
New Cone
New Cone
Posts: 2
Joined: 09 May 2021 06:58

Re: ARIB subtitles drcs issue

Postby PRIPARA_PLAYER » 09 May 2021 09:45

Sorry to solve my own issue, I managed to get this working. Would it be possible to include the drcs_conv.ini in vlc installs by default?

Here is the contents the file would need to handle for full coverage https://pastebin.com/T8ZUvpTp converted from this file used in a commonly used program for watching live TV https://raw.githubusercontent.com/xtne6 ... pebank.txt

EDIT: Upon looking further I've found a file where the replacement is working on some lines but not on others. I've tried all variations of case in the hash.

For more detail or the error, playing the file in tvtest does display the drcs characters correctly. I'm not sure how to directly view the data in the ts files, but using an extractor I get these results for the relevant lines

Code: Select all

Dialogue: 0,0:12:24.48,0:12:31.49,Default,,0000,0000,0000,,{\pos(340,718)}[外:37F6ECF37A0A3EF8DFF083CCC8754F81]「はじめての世界が待ってたの」\N Dialogue: 0,0:12:31.49,0:12:38.01,Default,,0000,0000,0000,,{\pos(340,538)}[外:37F6ECF37A0A3EF8DFF083CCC8754F81]「パステルもビビッドも\N Dialogue: 0,0:12:31.49,0:12:38.01,Rubi,,0000,0000,0000,,{\pos(660,598)}すてき\N Dialogue: 0,0:12:31.49,0:12:38.01,Default,,0000,0000,0000,,{\pos(620,718)}素敵だもん なやんじゃう」\N Dialogue: 0,0:12:38.01,0:12:43.98,Rubi,,0000,0000,0000,,{\pos(700,598)}ふう\N Dialogue: 0,0:12:38.01,0:12:43.98,Default,,0000,0000,0000,,{\pos(340,718)}[外:37F6ECF37A0A3EF8DFF083CCC8754F81]「どんな風にココロ カタチにしよう」\N Dialogue: 0,0:12:43.98,0:12:46.47,Rubi,,0000,0000,0000,,{\pos(860,598)}シンク\N Dialogue: 0,0:12:43.98,0:12:46.47,Rubi,,0000,0000,0000,,{\pos(1060,598)}アバウト\N Dialogue: 0,0:12:43.98,0:12:46.47,Default,,0000,0000,0000,,{\pos(340,718)}[外:37F6ECF37A0A3EF8DFF083CCC8754F81]「あふれる Think About」\N Dialogue: 0,0:12:46.47,0:12:51.49,Default,,0000,0000,0000,,{\pos(340,718)}[外:37F6ECF37A0A3EF8DFF083CCC8754F81]「それぞれ とりどりのハピネス」\N Dialogue: 0,0:12:51.49,0:12:58.15,Rubi,,0000,0000,0000,,{\pos(460,418)}かさ\N Dialogue: 0,0:12:51.49,0:12:58.15,Default,,0000,0000,0000,,{\pos(340,538)}[外:37F6ECF37A0A3EF8DFF083CCC8754F81]「重なったら\N Dialogue: 0,0:12:51.49,0:12:58.15,Rubi,,0000,0000,0000,,{\pos(780,598)}お\N Dialogue: 0,0:12:51.49,0:12:58.15,Default,,0000,0000,0000,,{\pos(740,718)}起きるキセキがあるの?」\N Dialogue: 0,0:12:58.15,0:13:01.65,Rubi,,0000,0000,0000,,{\pos(460,598)}メイキング\N Dialogue: 0,0:12:58.15,0:13:01.65,Rubi,,0000,0000,0000,,{\pos(740,598)}メイキング\N Dialogue: 0,0:12:58.15,0:13:01.65,Rubi,,0000,0000,0000,,{\pos(1340,598)}ゆめ\N Dialogue: 0,0:12:58.15,0:13:01.65,Default,,0000,0000,0000,,{\pos(340,718)}[外:37F6ECF37A0A3EF8DFF083CCC8754F81]「Making Making ブランニューな夢が」\N Dialogue: 0,0:13:01.65,0:13:04.99,Rubi,,0000,0000,0000,,{\pos(500,418)}ポッピン\N Dialogue: 0,0:13:01.65,0:13:04.99,Rubi,,0000,0000,0000,,{\pos(820,418)}ポッピン\N Dialogue: 0,0:13:01.65,0:13:04.99,Default,,0000,0000,0000,,{\pos(340,538)}[外:37F6ECF37A0A3EF8DFF083CCC8754F81]「Poppin' Poppin'\N Dialogue: 0,0:13:01.65,0:13:04.99,Rubi,,0000,0000,0000,,{\pos(980,598)}おど\N Dialogue: 0,0:13:01.65,0:13:04.99,Default,,0000,0000,0000,,{\pos(980,718)}踊りだすみたい」\N
Which does correctly mark each drcs character as 37F6ECF37A0A3EF8DFF083CCC8754F81. VLC does also write the correct image out from these lines, so it does seem to be detecting the 37F6ECF37A0A3EF8DFF083CCC8754F81 hash but then only sometimes displaying it.

EDIT 2: I found the log function in VLC, here's a full log
https://pastebin.com/k6tCUvWN

For relevant lines:
289, 302, 316 have the character displaying correctly, although it is shown as a ? in the log
252, 468, 477 have the character displaying incorrectly, which does come through as a 〓 in the log


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 12 guests