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 |
23rd May 2009, 00:53 | #421 | Link |
Registered User
Join Date: Sep 2003
Location: On The Beach
Posts: 714
|
OK, I'm prepared to be scared again: here is another TS sample with sub which can be extracted and the subtitle can be viewed in VLC.
After I extracted the DVB Subtitle with ProjectX and loaded the IDX file, for SUP conversion I have strange grey colors and I don't know how to modify these coloros to look the same way if I want IDX+SUB. For this subtitle is nice to see how the filters are acting. I don't know how are working the colors for SUP subtitles but can be made some option to have some colors like: white subtitle, dark grey antialias and black outline? I think the most used subttiles are white with black borders, and sometimes yellow instead of white. Of course, the white to be a little grey. enjoy, Mtz |
24th May 2009, 17:48 | #423 | Link |
Author of BDSup2Sub
Join Date: Jun 2003
Posts: 478
|
Yeah, I'm aware of this issue. Indeed I noticed it last Friday shortly before or after releasing 3.8.1, but I had no time to investigate this - maybe later today, but it's definitely the next thing on my list.
My impression was that this happened only on VobSubs though, not on BD-SUPs and HD-DVD-SUPs. My guess is that this is a problem that was introduced with cropping images - if so it would also exist for XML BDN, but not for SUPs. Then again, this is only a guess at this moment. [EDIT] As I assumed, this is a problem of cropping. So I know the problem and I think I know how to fix it, but this will not happen today and maybe not even tomorrow. If this is a blocking point right now, you could export VobSub to VobSub, then re-import the cropped VobSub and use "move captions" on it. Last edited by 0xdeadbeef; 24th May 2009 at 20:36. |
24th May 2009, 18:20 | #424 | Link | |
Author of BDSup2Sub
Join Date: Jun 2003
Posts: 478
|
Quote:
Palette: 0, 1, 4, 5 Alpha: 0, 2, 9, 13 The colors 1,4,5 in the palette from the IDX are all 1f1f1f, which is some kind of dark grey. Even worse, the transparency values seem to be wrong as well. E.g. "2" is nearly completely transparent, "9" is only about 56% opaque. So the only nearly opaque entry is the forth one. Now even if I could somehow patch this frame to look ok, the next frame would need a completely different handling: Palette: 0, 1, 3, 4 Alpha: 0, 2, 4, 9 And so on and so on. In a nutshell: I don't really feel responsible to work around the bugs in other tools. Besides, it's not as easy as it might seem to you as the color information is simply lost and can't be easily restored if at all. I'd strongly suggest to ask the authors of ProjectX to simply fix the VobSub export. |
|
25th May 2009, 19:04 | #425 | Link |
Author of BDSup2Sub
Join Date: Jun 2003
Posts: 478
|
25.05.2009 3.8.1 -> 3.8.2
|
25th May 2009, 20:19 | #426 | Link |
Registered User
Join Date: Jan 2008
Posts: 16
|
Hi I just tried your app to create a new .srt file to work with my Popcorn hour. I need to go from Sup to Srt. Your app worked great to make the sub/idx files but when I convert your sub to srt with SubResync to make the srt file there are space gaps in between the letters. Other srt files made with other programs do not do this so I think it has something to do with your program is there a way to adjust this so it doesnt happen?
Great tool, thanks for the hard work. |
25th May 2009, 21:06 | #427 | Link | |
Author of BDSup2Sub
Join Date: Jun 2003
Posts: 478
|
Quote:
Anyway: as I already pointed out before, it's generally a bad idea to OCR a scaled down version of the bitmap. I'd suggest (and not the first time in this thread) to use SupRip on the BD-SUP directly or to persuade someone to write a script/tool/whatever that uses a real OCR approach on the PNGs exported by BDSup2Sub. |
|
25th May 2009, 21:58 | #428 | Link | |
Registered User
Join Date: Jan 2009
Location: Paris, France
Posts: 21
|
Quote:
I would even suggest (if it's not already done) that you go the NMT Forums and find the thread that asks for PGS support in m2ts file and add your vote (as I've already done myself ) so that we could all (PCH users) enjoy that functionnality on the PCH. Peas |
|
27th May 2009, 23:59 | #430 | Link | |
Registered User
Join Date: Jan 2009
Location: Paris, France
Posts: 21
|
Quote:
Well, you can wait for 0xdeadbeef answer, but I'd bet on a negative one. There are other tools that do it more or less (read posts just above) ... but don't forget we're talking about OCR ... not an instant and automatic process ... Peas. |
|
28th May 2009, 01:15 | #432 | Link | |
Registered User
Join Date: Sep 2003
Location: On The Beach
Posts: 714
|
Quote:
- if I'm using the IDX and create new palette the result is in white (grey) subtitles outlined with black - if using the SUP setting, the subtitles are grey So if I want SUP white subtitles outlined with black, first I'm exporting to SUB, then load again the resulted SUB and now is possible to convert it to SUP as desired: white with black outline. Can be this done in one step? I found the workaround but maybe for other users will be hard to make it. Regarding the changing of colors maybe I'm dumb, but I don't understand how is working. Maybe I need to learn more. But I saw in DVDSubEdit changing the colors is easy and I understand from the first time how to change the colors. I know the SUPs are more complex. enjoy, Mtz |
|
28th May 2009, 11:25 | #433 | Link |
Author of BDSup2Sub
Join Date: Jun 2003
Posts: 478
|
As I already explained, the color and alpha values exported by ProjectX are plain wrong in this case. When either converting to BD-SUP/BDN-XML or when converting to SUP/IDX in "keep existing" palette mode , BDSup2Sub will keep the original (wrong) colors and alpha settings.
In SUB/IDX "create new" mode, BDSup2Sub creates a new 4 color frame palette as explained in the online help. Indeed only 2 colors are really chosen while two are predefined, as are the 4 alpha values per frame. While this might lead to correct colors in this case, this is more or less coincidental here as it's not the intention of the algorithm to fix wrong colors, but to find a primary text color and chose the other colors to get a bit of anti-aliasing, a black border and a transparent background. |
28th May 2009, 15:54 | #434 | Link |
Registered User
Join Date: May 2008
Posts: 1,840
|
Are exporting dvd sup's off the table?
If so, could support for exporting 1 of 2 types of pgcedit palettes be a possibility at least? It would save me and whoever else is doing BD to DVD quite a bit of hassle trying to find the correct colors to use in the palette when doing . I can manage doing bdsup -> vobsub -> dvdsup with subtosup fairly easily just a little loss in quality and one extra step. Last edited by turbojet; 28th May 2009 at 16:04. |
28th May 2009, 18:26 | #435 | Link | ||
Author of BDSup2Sub
Join Date: Jun 2003
Posts: 478
|
This was actually never on my list and chances are very, very low that I will ever add support for DVD SUPs.
Quote:
Quote:
|
||
28th May 2009, 19:44 | #436 | Link | ||
Registered User
Join Date: May 2008
Posts: 1,840
|
Quote:
Quote:
Nevermind about the dvd sup vs vobsub quality. I'm used to using MPC-HC evr/directvobsub for rendering vobsubs and powerdvd/tmt3/standalone players for sups. The latter generally renders subs at noticably higher quality. Under the same renderer they look pretty much identical. |
||
28th May 2009, 22:31 | #437 | Link | ||
Author of BDSup2Sub
Join Date: Jun 2003
Posts: 478
|
Quote:
What would you think? This is actually what I wrote BDSup2Sub for in the first place. As I'm doing the conversion only for family and friends which don't share my high quality demands , I'm using ConvertXtoDVD for creating the DVD. Quote:
|
||
28th May 2009, 23:33 | #438 | Link | |||
Registered User
Join Date: May 2008
Posts: 1,840
|
Quote:
If you were ever to add dvd sup export with pgcedit color palette it would be very useful for some and it could open the possibility of exporting other dvd author software that supports external color palettes if any exist. Quote:
I really don't have much experience with dvd authoring/encoding outside of muxman, ifoedit, cce, hcenc and their frontends like DVD-RB and AVStoDVD. Quote:
|
|||
29th May 2009, 12:41 | #439 | Link | |||
Author of BDSup2Sub
Join Date: Jun 2003
Posts: 478
|
Well, for a DVD-SUP, the info missing in the SUP is usually stored in/read from the IFO (as the IDX files is used for SUB/IDX). I would suppose that this includes not only the palette, but also the video size. At least info about the video stream is part of the IFO.
Quote:
Quote:
Quote:
Anyway, I had a quick look at the IFO format and it might be easier to implement writing a fake IFO and reading colors/fps/resolution from the IFO then I originally thought. So let's say I consider importing/exporting SUP/IFO. This doesn't mean that you can expect it to be implemented any time soon, but it's kinda likely that this will be the next (and probably) last major feature that I will add. Might take a while though. |
|||
29th May 2009, 17:04 | #440 | Link | |||
Registered User
Join Date: May 2008
Posts: 1,840
|
Quote:
Quote:
Quote:
|
|||
|
|