Hello guest, if you like this forum, why don't you register? https://fanrestore.com/member.php?action=register (December 14, 2021) x


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Blu-ray subtitle conversion tool (sub2bd)
yes, when i replace the two files you said, sub2bd can convert successfully, but i'm wonder the EP09 here is modified, can you send me the original EP09 which i send you before to test?
Reply
Thanks given by:
(2021-07-24, 12:24 AM)ssdde Wrote: yes, when i replace the two files you said, sub2bd can convert successfully, but i'm wonder the EP09 here is modified, can you send me the original EP09 which i send you before to test?

Cool, sent
Reply
Thanks given by:
thank you, after testing, the EP09 ass file you sent me is now can convert by sub2bd, after replace the two files, avs2bdnxml.exe and VSfilter.dll

i sent you the two files, and you can replace to try.
Reply
Thanks given by:
@bronan, I'd like to give an update on the issue I first reported in post #113.

Apparently it was a combination of some lines being too big in length and duration with no gap inbetween them. It was messing up the whole sub somehow, but giving them some room to breathe was enough to fix it. So the problem was with the .ass file, as you suspected.

Thanks once again for the tool and the assistance.
Reply
Thanks given by: bronan
Great! I've been thinking about that no gap problem as it struck me on the Super Mario Bros animated movie we've been messing with. I think it should be possible to add an option to sub2bd to pre-process the ASS to detect that and add appropriate gaps. Did you find what gap length worked well? I can make that adjustable of course.
Reply
Thanks given by:
(2021-08-07, 03:59 PM)bronan Wrote: Great! I've been thinking about that no gap problem as it struck me on the Super Mario Bros animated movie we've been messing with. I think it should be possible to add an option to sub2bd to pre-process the ASS to detect that and add appropriate gaps. Did you find what gap length worked well? I can make that adjustable of course.

The gaps I used vary from as little as 150ms to as much as 3s. I think is just a matter of separating lines that are too long, by any length.

For what its worth, SubtitleEdit has a "fix common errors" function to manage gaps, but it seemed to only improve existing gaps rather than adding new ones. It does warn to shorten long lines, which I ignored because I was captioning long on-screen texts (a star wars crawl, to be specific), and considered solely that it wouldn't affect the viewing experience.

So few people should run into this. Its actually better practice to skip a few frames between lines, so that's a mistake I wont repeat in the future.
Reply
Thanks given by:
Hmm, I came across some subtitles that caused the program (or maybe avs2bdnxml.exe) to hang, looks like it might be due to emoji being included, like the following pictogram sometimes used in Japanese captions to show when a line is coming from a phone or speaker:
📢
(also attached a test file that includes these)
Would it be too difficult to add support for these?  It's a pretty niche use case and I can always use a text editor to quickly replace them, so no big deal if it's too much trouble or if it's due to avs2bdnxml.exe.


.zip   testBigBangBravern01.zip (Size: 1.29 KB / Downloads: 1)
Reply
Thanks given by:
(2024-08-25, 03:32 PM)BusterD Wrote: Hmm, I came across some subtitles that caused the program (or maybe avs2bdnxml.exe) to hang, looks like it might be due to emoji being included, like the following pictogram sometimes used in Japanese captions to show when a line is coming from a phone or speaker:
📢
(also attached a test file that includes these)
Would it be too difficult to add support for these?  It's a pretty niche use case and I can always use a text editor to quickly replace them, so no big deal if it's too much trouble or if it's due to avs2bdnxml.exe.

Hm interesting... Do you have that font "MS Pゴシック" installed on your system? Avisynth could possibly be falling back to a font that doesn't include the character. I'd suggest trying to run the .avs script that is created by sub2bd (located in same folder as the .exe) and see what it looks like in AVS. Interested to know if its rendering correctly at all there. avs2bdnxml takes the frame rendered by AVS and breaks it down into image chunks, so I don't think it really cares what's on the screen per se.
Reply
Thanks given by: BusterD
Thanks for the response Bronan. Yeah, that's a pretty common Japanese font from Microsoft, I believe. The emoji seems to render OK in AegiSub, also tried a different font, but still getting hangs.

I only get an error when I try to load the script in VirtualDub, but I also get an error for an .ass file that does work, so I'm probably missing something. Re-installed AviSynth, but same issue.

I attached the script and .ass temp file if you'd like to take a look, but no big deal either way.
.zip   sub2bd0.93.zip (Size: 1.59 KB / Downloads: 1)
Reply
Thanks given by:
(2024-08-25, 11:41 PM)BusterD Wrote: Thanks for the response Bronan. Yeah, that's a pretty common Japanese font from Microsoft, I believe. The emoji seems to render OK in AegiSub, also tried a different font, but still getting hangs.

I only get an error when I try to load the script in VirtualDub, but I also get an error for an .ass file that does work, so I'm probably missing something. Re-installed AviSynth, but same issue.

I attached the script and .ass temp file if you'd like to take a look, but no big deal either way.

Tried opening the script you sent and AVS was hanging forever trying to loading it. As soon as I removed the emojis, it loaded right up. It's possible this is a VSFilter.dll issue, it's what loads and displays the subtitle in AVS. I was actually thinking of swapping it out with something newer since the latest build is over 10 years old at this point. Will do some more research soon.
Reply
Thanks given by: BusterD


Possibly Related Threads…
Thread Author Replies Views Last Post
  DDVT Tool Mismatched Lengths? X5gb 7 2,698 2023-06-07, 08:47 PM
Last Post: axeyou
  Is there any tool to edit and resynchronize Blu-ray PGS SUP subtitles? Onti 2 2,367 2021-07-18, 06:48 AM
Last Post: BusterD
  [Help] Correct Bad Frame Rate Conversion CSchmidlapp 29 24,946 2019-05-24, 10:17 PM
Last Post: zoidberg
  Subtitle Conversion professorwho 7 6,403 2019-04-28, 05:39 PM
Last Post: bronan
  Lossless conversion from MOV? Serums 2 3,121 2018-12-20, 05:14 AM
Last Post: Serums
  Tool for processing LD DTS: "wav2dts" schorman 0 2,937 2018-08-12, 12:46 PM
Last Post: schorman
  Best option for this conversion ..... Jetrell Fo 9 11,064 2015-12-24, 10:18 PM
Last Post: Jetrell Fo

Forum Jump:


Users browsing this thread: 1 Guest(s)