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. |
|
|
Thread Tools | Search this Thread | Display Modes |
3rd February 2019, 14:10 | #1461 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
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 |
4th February 2019, 05:41 | #1462 | Link | |
Registered User
Join Date: May 2005
Posts: 1,462
|
Quote:
P.S. Nice write-up on all the bugs. It's appreciated.
__________________
Gorgeous, delicious, deculture! |
|
20th March 2019, 14:14 | #1463 | Link |
21 years and counting...
Join Date: Oct 2002
Location: Germany
Posts: 716
|
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. |
20th March 2019, 14:29 | #1464 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
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 |
20th March 2019, 14:41 | #1465 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
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? |
20th March 2019, 14:45 | #1466 | Link |
21 years and counting...
Join Date: Oct 2002
Location: Germany
Posts: 716
|
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 15:12. |
20th March 2019, 15:14 | #1467 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
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 |
20th March 2019, 15:20 | #1469 | Link | |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
Quote:
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 15:31. |
|
29th May 2019, 10:53 | #1471 | Link | |
Registered User
Join Date: Jan 2013
Posts: 8
|
Quote:
|
|
16th August 2019, 09:06 | #1474 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
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 |
16th August 2019, 10:29 | #1475 | Link | |
47.952fps@71.928Hz
Join Date: Mar 2011
Posts: 940
|
Quote:
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 19041 NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4) NTSC | DVD: R1 | BD: A AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)
|
|
10th February 2020, 23:09 | #1479 | Link |
Registered User
Join Date: Jul 2016
Location: Mansfield, Ohio (formerly San Jose, California)
Posts: 280
|
BDSup2Sub++ 1.0.3 appears to work well. The problem I'm having is with creation of the SUP file(s) for BDSup2Sub and hence, import into MKVToolNix GUI 41.0.0 64-bit. I seek help/advice here because I don't know of anywhere else I can ask. :-(
The problem is that beginning at 1:13:21 of the video, and thereafter, the subtitles are displayed 10 seconds early. The following is from DVDSubEdit: Code:
Subpic# | StreamID | LBA | V/CID | PTS | Duration | TimeCode 1494 (735 in stream) | 0x20 | 375776 | 1/20 | 395840034 | 1.968s | 01:13:13,633 --> 01:13:15,601 1496 (736 in stream) | 0x20 | 376538 | 1/20 | 396026220 | 3.236s | 01:13:15,699 --> 01:13:18,936 1498 (737 in stream) | 0x20 | 380791 | 2/1 | 17607 | 0.033s | 01:13:15,500 --> 01:13:15,533 1502 (738 in stream) | 0x20 | 380792 | 2/1 | 110700 | 3.703s | 01:13:16,533 --> 01:13:20,236 Bottom Line: I assume Subpic# 1498 is at a layer change that is throwing PTS off. Does anyone know of a SUP subtitle exporter that will handle it? SubRip 1.57.1: SubRip will save SUP subtitles, but it has no setting to select only the widescreen (16:9) subtitles. It has a "Enable this box if time restarts in the middle of the DVD" check box, but the extra (letterbox) subtitles are screwing up the export. DVDSubEdit 1.52: This will save SUP subtitles, but it has no setting to fix the errors at the layer change. It can retime individual subtitles, and it can retime entire streams, but it apparently can't retime a subtitle and than propagate that delta-time to the remainder of the stream (least not for SUP subtitles). SRT textual subtitles are out of the question. Thanks for any help you can provide, and again, I appologize for posting this here. Regards, Mark. |
2nd July 2020, 13:06 | #1480 | Link | |
Registered User
Join Date: Feb 2014
Posts: 23
|
Quote:
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|