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 9th November 2012, 08:12   #1221  |  Link
mjuhasz
Registered User
 
Join Date: Aug 2011
Posts: 23
Not in the near future.

The subtitle data on a Blu-Ray consists of images with a color/alpha palette of up to 256 entries. To make things worse, each subpicture frame can have a separate palette, i.e. you'd have to edit potentially hundreds of thousands of palettes with 256 entry each.

Most blu-rays I came across did not use all 256 palette entries and had the same palette for all images but this is not true in general.

This is not the first time this feature has been requested so I created an issue for it on github and time permitting I'll investigate whether I could come up with a simple editor.

Quote:
Originally Posted by cyberbeing View Post
Any chance of adding the ability to change the colors/palette of SUP(BD) subtitles in a future version?

If not, is there any other program which can modify and export SUP(BD) with custom colors?
mjuhasz is offline   Reply With Quote
Old 9th November 2012, 23:23   #1222  |  Link
cyberbeing
Broadband Junkie
 
Join Date: Oct 2005
Posts: 1,859
Could you throw together some code more quickly which only changes the palette of the first subpicture to 100% Red or 100% Green or 100% Blue. In my case, I just need I way to create colored PGS samples for renderer testing purposes. I unfortunately don't own any Blu-rays with PGS subtitles other than light-gray, so it's a bit of a problem. I assume the PGS file actually needs to be parsed, and it wouldn't be trivial to identify and hack at the palette in a hex editor?

Alternatively, if anybody would send me small samples (only a single PGS subpicture is fine) of colored PGS subtitles from their Blu-rays, I would be grateful.
cyberbeing is offline   Reply With Quote
Old 9th November 2012, 23:25   #1223  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
I don't have samples at hand but you could easily create those yourself with avs2bdnxml, I guess.
sneaker_ger is offline   Reply With Quote
Old 10th November 2012, 02:47   #1224  |  Link
cyberbeing
Broadband Junkie
 
Join Date: Oct 2005
Posts: 1,859
Thanks sneaker_ger, avs2bdnxml seems to work well for doing what I needed.

Last edited by cyberbeing; 10th November 2012 at 02:54.
cyberbeing is offline   Reply With Quote
Old 10th November 2012, 13:09   #1225  |  Link
mjuhasz
Registered User
 
Join Date: Aug 2011
Posts: 23
You can create one as follows:

- load a blu-ray sup file
- export it as SUP/IDX
- load the exported sup/idx file
- change the palette mode to 'Create new'
- check the colors in use under 'Edit DVD Frame Palette'
- edit the palette under 'Edit imported DVD palette'
- export it back as SUP(BD).


Quote:
Originally Posted by cyberbeing View Post
In my case, I just need I way to create colored PGS samples for renderer testing purposes.
mjuhasz is offline   Reply With Quote
Old 15th November 2012, 17:43   #1226  |  Link
theonlyone
Registered User
 
Join Date: Nov 2012
Posts: 2
Java error

I`m getting this error when I open an SUP file. It does not happen with a SUB file.

I downloaded the latest version of BDSup2Sub and also re-installed the JVM with no luck.

Any help would be greatly appreciated.

Thanks.
Attached Images
 

Last edited by theonlyone; 16th November 2012 at 16:11.
theonlyone is offline   Reply With Quote
Old 17th November 2012, 15:09   #1227  |  Link
theonlyone
Registered User
 
Join Date: Nov 2012
Posts: 2
I found a workaround.

The problem only happened with SUPs from a specific BD (U2: Rattle and Hum). Those SUPs crash all versions of BDSup2Sub, including the latest beta (https://github.com/mjuhasz/BDSup2Sub/wiki/Download) and even the C++ port (http://forum.doom9.org/showthread.php?t=165416). Nasty!

I used SUPRead (http://forum.doom9.org/showthread.php?t=121535) to read the SUP file and export it to another BD-SUP file and then used BDSup2Sub to do its thing.
theonlyone is offline   Reply With Quote
Old 17th November 2012, 20:26   #1228  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Please upload those subtitles, so the devs can fix the crash.
sneaker_ger is offline   Reply With Quote
Old 18th November 2012, 03:50   #1229  |  Link
frencher
French Love
 
Join Date: Oct 2008
Location: France
Posts: 456
Last updates is here BDSup2Sub-5.1-SNAPSHOT.jar
__________________
2013-11-29 MVC Player Free v0.0.2.6 BD & 3D BD's Player, Demuxer v0.0.0.8b, Recoder. Tutorial
Demo for MVC Player Free: Trailer 3D

3DBD's Free - v0.0.0.0005.exe Old

Programing free for all.
frencher is offline   Reply With Quote
Old 2nd December 2012, 20:59   #1230  |  Link
DivX220
Registered User
 
Join Date: Dec 2002
Location: France
Posts: 2
Hello,

I get this error ''Offset 66847570 out of bounds for file <path to file>" each time I try to open a SUP file extracted with Project-X from an European DVB .m2ts file.

The first time I thought it was because of a crop of the beginning of the .m2ts file, but I tried two more times with no crop, and I get the same error.

Any help would be greatly appreciated.

Thanks.
DivX220 is offline   Reply With Quote
Old 3rd December 2012, 07:38   #1231  |  Link
mjuhasz
Registered User
 
Join Date: Aug 2011
Posts: 23
It's hard to tell what the problem is without seeing the actual sup file. Please share it with me so that I can have a look.

Some explanation about why these kind of error happen (extracted from the wiki):

Reading/writing data from/to transport streams is quite a hassle since the formats are usually not well documented and you will always stumble over a stream that either contains authoring errors or uses features so uncommon that they are not documented anywhere. Indeed, most of the time it is impossible to tell if some weird stream is only on the edge of what is allowed or simply faulty. So often enough, programs that read or write transport streams will only support a certain amount of commonly used (and known) sub-features. Therefore it is likely that BDSup2Sub will stumble over the streams created by other programs or other programs will have problems reading the streams created by BDSup2Sub and it's generally hard to tell whose fault it is.

Quote:
Originally Posted by DivX220 View Post
Hello,

I get this error ''Offset 66847570 out of bounds for file <path to file>" each time I try to open a SUP file extracted with Project-X from an European DVB .m2ts file.

The first time I thought it was because of a crop of the beginning of the .m2ts file, but I tried two more times with no crop, and I get the same error.

Any help would be greatly appreciated.

Thanks.
mjuhasz is offline   Reply With Quote
Old 5th December 2012, 16:53   #1232  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Quote:
a SUP file extracted with Project-X from an European DVB .m2ts file.
afaik only BD-SUP = SUP streams like they are on a Blu-ray and not DVB-SUPs are supported by BDSup2Sub
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 9th January 2013, 22:51   #1233  |  Link
mood
Registered User
 
Join Date: May 2012
Posts: 92
What is the last update? 5.1.1 or 5.2 SNAPSHOT out before 5.1.1??
mood is offline   Reply With Quote
Old 10th January 2013, 00:39   #1234  |  Link
Superb
Registered User
 
Join Date: Feb 2010
Posts: 364
Looks like a nice release. Thanks. The only reason I keep using BDSup2Sub++ is its support for multi-language IDX/SUB files.
I can easily switch the language w/ the combo-box they added. Very useful.
Superb is offline   Reply With Quote
Old 10th January 2013, 10:14   #1235  |  Link
mjuhasz
Registered User
 
Join Date: Aug 2011
Posts: 23
Quote:
Originally Posted by mood View Post
What is the last update? 5.1.1 or 5.2 SNAPSHOT out before 5.1.1??
As you can see on the Download page the latest version is 5.1.1

The SNAPSHOT version is a build made from the latest source code. It may not be stable at certain times since it's a work in progress. Those running it can provide me with valuable feedback by creating issues on GitHub. Those who don't want to test but need a stable version should run the latest stable version instead.

5.1.0 had the convert resolution feature broken and it was well worth making a bugfix release for it, that is 5.1.1. There was not enough change to bump the version to 5.2.0 since it only fixes a couple of bugs. Of course 5.2.0 will have the fixes as well.
To recap, 5.1.0 was followed by 5.1.1 and we can have more 5.1.x releases and eventually we'll have 5.2.0. I hope this answers your question.
mjuhasz is offline   Reply With Quote
Old 10th January 2013, 15:26   #1236  |  Link
mood
Registered User
 
Join Date: May 2012
Posts: 92
Quote:
Originally Posted by mjuhasz View Post
As you can see on the Download page the latest version is 5.1.1

The SNAPSHOT version is a build made from the latest source code. It may not be stable at certain times since it's a work in progress. Those running it can provide me with valuable feedback by creating issues on GitHub. Those who don't want to test but need a stable version should run the latest stable version instead.

5.1.0 had the convert resolution feature broken and it was well worth making a bugfix release for it, that is 5.1.1. There was not enough change to bump the version to 5.2.0 since it only fixes a couple of bugs. Of course 5.2.0 will have the fixes as well.
To recap, 5.1.0 was followed by 5.1.1 and we can have more 5.1.x releases and eventually we'll have 5.2.0. I hope this answers your question.
Thanks for answers
mood is offline   Reply With Quote
Old 7th February 2013, 09:17   #1237  |  Link
QUEENFAN
Registered User
 
Join Date: May 2003
Posts: 106
Hello,

I get the following error using BDSup2Sub (5.1.1) with multiAVCHD:

!!! Error converting subtitles! (java?)

My system is a Windows 8 Pro x64.

Same installed software on a XP system (Virtualbox) runs without any error.

Java is installed on both systems.

Any clue?


Thanks a lot in advance for your help.
__________________
Bye

QUEENFAN

Last edited by QUEENFAN; 7th February 2013 at 10:10.
QUEENFAN is offline   Reply With Quote
Old 7th February 2013, 16:32   #1238  |  Link
paradoxical
Guest
 
Posts: n/a
With such vague information I doubt you can be helped. What was the file being processed by BDSup2Sub? Is there a log with more info?
  Reply With Quote
Old 8th February 2013, 07:36   #1239  |  Link
QUEENFAN
Registered User
 
Join Date: May 2003
Posts: 106
@paradoxical

Thanks a lot for your quick answer.

How can I provide you with the requested detailed information?

BDSup2Sub runs in multiAVCHD so I haven't detailed logs regarding BDSup2Sub.

The part of the log concerning BDSup2Sub is:

[07:29:04] Processing 3 titles...
[07:29:04] Processing (DVD (01) D:\Deadwood TEST_\VIDEO_TS\)...
[07:29:04] Pre-processing DVD input (D:\Deadwood TEST_\VIDEO_TS\)...
[07:29:04] *** Detected duration: 00:10:30
[07:29:04] *** Subtitles: 720x576 25.000 ID#1 (deu)...
[07:29:04] *** Extracting subtitles ID#1 (mencoder)...
[07:29:19] *** Converting DVD subtitles to Blu-ray format (java:BDSup2Sub)...
[07:29:19] !!! Error converting subtitles! (java?)
[07:29:19] *** Extracting audio (mplayer)...
[07:29:19] *** Extracting ac3 track #128 (deu)...
[07:29:20] *** Extracting ac3 track #129 (eng)...
[07:29:21] *** Extracting video (mplayer)...
[07:29:32] Pre-processing completed!
__________________
Bye

QUEENFAN
QUEENFAN is offline   Reply With Quote
Old 8th February 2013, 10:12   #1240  |  Link
QUEENFAN
Registered User
 
Join Date: May 2003
Posts: 106
@paradoxical

I did some research and mencoder (the process before encoding the subtiltes) has a problem with Windows 8 Pro x64.

I don't know if this is a general problem or only affects me but I'll try to find this out.
__________________
Bye

QUEENFAN
QUEENFAN 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 01:30.


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