Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Subtitles

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd February 2019, 12:20   #1461  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,372
Quote:
Originally Posted by r0lZ View Post
I have had the same problem with ++ and a specific BD (I don't remember which one). However, the Java version doesn't have that problem.

Also, note that the two versions have a CLI option to control the merging of the identical subtitles. It defines the maximum duration between two identical subtitles before they should be considered as two different subtitles. The option is -x <time_in_ms> or --merge-time <time_in_ms> and the default value is 200 ms for both versions. I don't know if that option is available in the GUI.
That's cute, but duplicate subs, in 'real life', so to speak, rarely occur to begin with (like maybe when calling out someone's name, or with other expletives -- which is also the reason, btw, why the CLI method is tricky/unreliable). More importantly, though, why have a CLI that tries and fix errors you made yourself in the first place!? BDSup2Sub++ simply shouldn't duplicate subs on import, period. Just feels like a grave bug to me.

For now, I went with the old 'just download some .SRT from the internet' route, for my Cutie Honey Blu-ray. Problem with those, of course, is that you'll spend the next hour(s) or so repairing all sorts of typos/spelling errors in them, before you can actually use those (which is why I hate OCR). So, in general, I'd rather just use the official .PGS data; and for that a program like BDSup2Sub++ is needed.

Thx for the info, though.
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 3rd February 2019, 13:10   #1462  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,270
I agree that the subtitles *should* be read correctly in the first place, but things are much more complicated. BD subs are really complex, with for example, the possibility to display several subtitles at the same time ("multiple ODS"). It is therefore not easy to distinguish when and why a subtitle appears several times in the source stream. Hence the CLI trick to merge them.

Anyway, unfortunately, BDSup2Sub is not developed any more, and we have to live with its limitations and bugs.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 4th February 2019, 04:41   #1463  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,372
Quote:
Originally Posted by r0lZ View Post
I agree that the subtitles *should* be read correctly in the first place, but things are much more complicated. BD subs are really complex, with for example, the possibility to display several subtitles at the same time ("multiple ODS"). It is therefore not easy to distinguish when and why a subtitle appears several times in the source stream.
Identical subtitles, appearing within miliseconds after each other, at the same screen location, I think anyone writing a subtitle program could safely merge those. But anyway, like you say, the point is moot, as BDSup2Sub++ is apparently no longer maintained.

P.S. Nice write-up on all the bugs. It's appreciated.
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 20th March 2019, 13:14   #1464  |  Link
LeXXuz
16 years and counting...
 
LeXXuz's Avatar
 
Join Date: Oct 2002
Location: Germany
Posts: 231
I usually just use BDSup2Sub to shift PGS subtitles into bounds of the movie after black bars have been cropped in a recode.

I noticed the exported PGS always increase in file size, roughly around 10%, compared to the source PGS. Any reason for this?

I'm not talking about PGS with multiple PDS/ODS which may explain the increase. It happens even with simple PGS I created with SubtitleEdit.
LeXXuz is offline   Reply With Quote
Old 20th March 2019, 13:29   #1465  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,270
I have noticed the same thing, and me too, I wonder why. Since the bitmaps of the PGS subtitles are compressed, the compression ratio may be less efficient when BDSup2Sub saves the stream, but modifying only the Y position should not require to recompress the bitmap (except if the subtitle is in a full-screen mainly transparent bitmap that must be cropped, but it's rarely the case). I guess BDSup2Sub recompresses it anyway.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 20th March 2019, 13:41   #1466  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,410
Maybe the increase isn't due to the bitmaps themselves but other parts of the bitstream? What format are the bitmaps? Does it make a difference if you only move by mod4 or mod2?

Can you upload source+output as example?
sneaker_ger is offline   Reply With Quote
Old 20th March 2019, 13:45   #1467  |  Link
LeXXuz
16 years and counting...
 
LeXXuz's Avatar
 
Join Date: Oct 2002
Location: Germany
Posts: 231
I think r0lZ thoughts about different compression efficiency may be correct.

Even if you don't touch the stream at all, meaning simply load and export again, you'll get a bigger file with almost any PGS.

EDIT: Okay I'm not sure about the compression anymore. As the export of an export gets even bigger in file size. Something seems to produce an overhead. But what?

Last edited by LeXXuz; 20th March 2019 at 14:12.
LeXXuz is offline   Reply With Quote
Old 20th March 2019, 14:14   #1468  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,270
Quote:
Originally Posted by sneaker_ger View Post
Can you upload source+output as example?
I don't have the source.

My program BD3D2MK3D uses BDSup2Sub to convert the subtitles to 3D, and it saves also a 2D version of the same stream, without real modifications, and usually it is around 10% larger than the original file, extracted from the BD with tsMuxeR 3D.

I think (but I'm not sure) that the PGS bitmaps are compressed with the LZH algorithm, like the PNG images. LZH can compress very well, but that requires much time. Maybe BDSup2Sub compresses faster, and therefore less.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 20th March 2019, 14:16   #1469  |  Link
LeXXuz
16 years and counting...
 
LeXXuz's Avatar
 
Join Date: Oct 2002
Location: Germany
Posts: 231
See my edited post. Shouldn't the resulting file size stay the same in that scenario?
LeXXuz is offline   Reply With Quote
Old 20th March 2019, 14:20   #1470  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,270
Quote:
Originally Posted by LeXXuz View Post
EDIT: Okay I'm not sure about the compression anymore. As the export of an export gets even bigger in file size. Something seems to produce an overhead. But what?
Just did the test, and indeed, when BDSup2Sub++ re-saves the same stream, there is an additional increase of the file size. But that doesn't happen with the Java version.
So, it seems that the ++ version has an additional bug... :-(

[EDIT] I've added that little bug as bug #10 in the bugs list here.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV

Last edited by r0lZ; 20th March 2019 at 14:31.
r0lZ is offline   Reply With Quote
Old 20th March 2019, 23:20   #1471  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,049
Many thanks for finding this bug. I know what you both mean and I thought this is OK, but now I know it is a bug.
The Java versions seams to be the better one.
hubblec4 is offline   Reply With Quote
Old 29th May 2019, 10:53   #1472  |  Link
Ditleg
Registered User
 
Join Date: Jan 2013
Posts: 8
Quote:
Originally Posted by SquallMX View Post
Yes, some Bluray titles don't have subtitles that the DVD versión does have, and sometimes de DVD version is better placed or have better font (Warner BR subtitles are placed in the black bars if the movie is 2.35, some of us hate that, and right now there's no way to change the position, the DVD subtitles can be placed inside the 2.35 image itself).

Another petition, an option to resize BR subs from 1080p to 720p, currently it's not possible to have BD5 at 720 with subtitles because no program exist that converts the subs from 1080p to 720p.

Yes, you can't convert the subs from 1080p to 720p, cuz it's none of video resolution business.
Ditleg is offline   Reply With Quote
Old 12th August 2019, 01:47   #1473  |  Link
Arbie
Registered User
 
Join Date: Jul 2011
Posts: 9
I'm sure this has been asked and answered, but the forum doesn't seem to let me search only one thread and it's 73 pages now...

--> Is there a Windows version?

Thx
Arbie is offline   Reply With Quote
Old 12th August 2019, 07:35   #1474  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,880
This is a Java application. If you install a Java Runtime Environment to your Windows, it runs under Windows.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 16th August 2019, 09:06   #1475  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,270
There is also a Windows version written in C++ that doesn't require Java: BDSup2Sub++. It has some bugs, but no more than the Java version.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 16th August 2019, 10:29   #1476  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 899
Quote:
Originally Posted by r0lZ View Post
There is also a Windows version written in C++ that doesn't require Java: BDSup2Sub++. It has some bugs, but no more than the Java version.
It looks like he's created a new account and has more updates here:
https://github.com/amichaeltm/BDSup2SubPlusPlus
This branch is 78 commits ahead of amichaelt:master.

https://github.com/amichaeltm/BDSup2...sPlus/releases
1.0.3
513f6c4
amichaeltm released this on May 9, 2018
__________________
Win10 (x64) build 17134 | GPU Caps Viewer 1.40.1.0
NVIDIA GeForce GT 1030 (GP108) 2047MB/GDDR5 | (R417.22)
NTSC | DVD: R1 | BD: A
Sparktank is offline   Reply With Quote
Old 16th August 2019, 15:30   #1477  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,880
@Arbie: My mistake, sorry didn't notice that the VideoHelp software list leads to the same page for both editions, and read "requires Java runtime" on both...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 15:42.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.