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


Blu-ray subtitle conversion tool (sub2bd)
Hi everyone,

First of all, thank you for developing this utility since it is very much useful. I wanted to point out a couple of things.


I tried swapping the old VSfilter with the still-in-development version found at https://github.com/pinterf/xy-VSFilter. I do have Avisynth+ (latest version as of today) installed on my system. The rendered file was unexpected.

[Image: Subtitle-Edit-k-W9o3b-Q1-Kb.jpg]

Not only was the image mirrored and flipped, but the alignment was also changed from the bottom to the up top. I don't know why this happened; it is not a problem linked to sub2bd since the behavior was the same using avs2bdnxml CLI.
Is there any way to fix this?


The latest comments on this thread empathyze using https://github.com/cubicibo/ass2bdnxml instead of the old avs2bnxml as it is much faster; however, I noticed it doesn't crop captions properly. Here is an example:

[Image: Subtitle-Edit-g66tsh00-Q1.jpg]
whereas avs2bdx correctly crops the image to perfectly fit the text inside. Note that this does not happen for all captions but only for some.

Finally, I noticed that when using avs2bdnxml (but I think this applies to ass2bdnxml too) the resulting time codes of subtitle entries are off from the original values by 1/2 frames.
Reply
Thanks given by:
Hmm the problem with the flipped text sounds really familiar, I feel like I ran into it at some point. It must be in the VSFilter DLL. Maybe try using an older version to see if there is any change.

Regarding ass2bdnxml, the developer still seems to be somewhat active, perhaps try reporting that issue on Github and hope it gets fixed.

https://github.com/Masaiki/ass2bdnxml/issues
Reply
Thanks given by:
(2026-05-13, 10:02 PM)bronan Wrote: Hmm the problem with the flipped text sounds really familiar, I feel like I ran into it at some point. It must be in the VSFilter DLL. Maybe try using an older version to see if there is any change.

Adding the following line to the .avs file fixed the flipping:

Code:
FlipVertical()

It looks like I didn't read avs2bdnxml documentation carefully enough as it states:

Quote:If you created an RGBA video, do something like this instead:
Code:
AviSource("subtitles_RGBA.avi")
FlipVertical()
Reply
Thanks given by:
Well, I discovered something strange. There is not one, but two different apps using the name ass2bdnxml! The first that was shared earlier in the thread is an app by cubicibo (https://github.com/cubicibo/ass2bdnxml) that produces bdn+xml output, and then requires another app called SUPer to convert that into a .sup (the sub2bd-ava builds were based on this).

But when I was looking for the github for that, I accidentally ran across another ass2bdnxml by Masaiki (https://github.com/Masaiki/ass2bdnxml). This one is actually the old avs2bdnxml that we all know and love, but instead of using Avisynth to render the graphics it uses libass. So theoretically, same behavior and quality but without the need for Avisynth (or VSFilter DLLs)! I've been testing it a bit and seems to work great. There is a new beta 0.04 using this on the original post.

I also added a built-in SRT to ASS converter so if you are lazy like me, no extra app is required now for that. The styling is hard-coded for now, but I will add an options page for it eventually, as well as the old Batch converter back in.
Reply
Thanks given by:


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

Forum Jump:


Users browsing this thread: 2 Guest(s)