View Full Version : BDSup2Sub - convert and tweak bitmap subtitle streams (VobSub,BD-SUP,BDN XML,HD-SUP)
causemen
26th August 2010, 23:56
http://javaforge.com/displayDocument/icon_128.png?doc_id=76805
BDSup2Sub is a tool I wrote initially to convert captions...
Hi! First of all, thank you for the software. It's been the only tool that could do what I needed (framerate conversion). Really appreciated. However, the result could be better. The target titles become blue and difficult to read:
http://img706.imageshack.us/img706/2439/snapshotdvd004852201008.th.jpg (http://img706.imageshack.us/i/snapshotdvd004852201008.jpg/)
Any suggestions on what can be wrong?
Many thanks!
DoctorM
27th August 2010, 00:57
Hi! First of all, thank you for the software. It's been the only tool that could do what I needed (framerate conversion). Really appreciated. However, the result could be better. The target titles become blue and difficult to read:
http://img706.imageshack.us/img706/2439/snapshotdvd004852201008.th.jpg (http://img706.imageshack.us/i/snapshotdvd004852201008.jpg/)
Any suggestions on what can be wrong?
Many thanks!
I don't know from what to what you are converting, but are you setting Palette to "Keep Existing"? It's not the default.
http://img713.imageshack.us/img713/9162/bdsup2sub2.jpg
causemen
27th August 2010, 19:46
I don't know from what to what you are converting, but are you setting Palette to "Keep Existing"? It's not the default.
http://img713.imageshack.us/img713/9162/bdsup2sub2.jpg
Now everything's lovely! Many thanks!
shh
31st August 2010, 14:06
Could you please add support for DVD-SUPs without an IFO-file?
When I extract subtitles from a DVD with eac3to, it just saves .sup files without an .ifo.
SUPRead can cope with these DVD-SUPs (see attached log), but BDSup2Sub just shows "Unexpected command 0 at index 12".
Is an IFO-file really needed?
Example-sup: http://www.multiupload.com/XLX663QEM1
DoctorM
31st August 2010, 20:18
Could you please add support for DVD-SUPs without an IFO-file?
When I extract subtitles from a DVD with eac3to, it just saves .sup files without an .ifo.
SUPRead can cope with these DVD-SUPs (see attached log), but BDSup2Sub just shows "Unexpected command 0 at index 12".
Is an IFO-file really needed?
Example-sup: http://www.multiupload.com/XLX663QEM1
:search:
shh
31st August 2010, 22:58
Very intelligent comment!
Are you just checking out how to full-quote posts? Your post seem to lack any significant information. No time to type some additional characters I could use?!
> use search
On what keywords?
Do you really think I phrase out an answer here including further info on other programs, without checking FAQs?
But, I must beg your pardon, I haven't read all pages of this thread - perhaps you could point to the relevant message.
DoctorM
1st September 2010, 07:04
You're right. It would have been more helpful is I said: RTFM, but there's no emoticon for that.
Notes on SUP/IFO
The SUP/IFO format as defined by IfoEdit/VobEdit is supported since version 3.9.0 due to public demand. Internally (e.g. regarding RLE encoding, palette definitions etc.) it's virtually the same as SUB/IDX. Note that there are some limitations to this format though.
Firstly, the palette and the screen size are stored inside an IFO file. BDSup2Sub needs a valid IFO file for each SUP file and both have to share the same file name (except the extension of course). If you e.g. exported a file "english.sup" from a "VTS_02_1.VOB" and the according IFO is "VTS_02_0.IFO", then you need to copy the IFO and rename it to "english.ifo" to make BDSup2Sub accept it as input.
Note that BDSup2Sub recognizes the extension "IFO" for SUP/IFO, but not "SUP". The reason is that BDSup2Sub can differ between BD-SUP and HD-DVD-SUP during import only because both format have different packet identifiers. Unfortunately, HD-DVD-SUP and DVD-SUP use the same (outer) package structure so they can only be distinguished between during parsing of the command buffer. At this time, BDSup2Sub already decided to treat a SUP with that package header as "HD-DVD-SUP" and will throw an error.
shh
1st September 2010, 15:04
Hi!
I've built a fixed version, which works for me: http://www.multiupload.com/GEC5B91HYW
Actually I have just checked PAL-SUPs, so I can't tell if it works for NTSC-SUPs, too (BDSup2Sub defaults to 720x576).
Remaining Issue: Without an IFO BDSup2Sub uses the default DVD-palette, but that doesn't match most streams (my sub8.sup teststream has got green subtitles), so you need to edit the colors to some grey-values before exporting.
The missing language-detection from the IFOs isn't tragic, because BDSup2Sub just uses the language code of the first subtitle, what's English in most cases. Most people who use subs want a different language - that's why they actually need (forced) subs - so this procedure of BDSup2Sup is a little bit useless. But still the language-detection from the filename works, if you include e.g. German/English/French/Italian/Spanish/... in the filename.
Changes in Core.java:...
line 717 case READSUP:
try {
readSup(fileName);
} catch (Exception ex) {
Core.print("WARNING: Doesn't seem to be a HD-SUP. Trying to load as DVD-SUP...\n");
readSupIfo(fileName);
}
break;
case READVOBSUB:
...
line 1368 if (!fnS.endsWith(fnI)) // We've got SUPwithoutIFO: Don't del prev filename language detection
languageIdx = substreamDVD.getLanguageIdx();
...
Changes in SupDVD.java:...
line 93 delayGlob = 0;
languageIdx = 0;
srcPalette = new Palette (Core.getDefaultDVDPalette());
subPictures = new ArrayList<SubPictureDVD>();
try {
readIFO(fnIfo);
} catch(Exception ex){
Core.print("WARNING: Cannot find IFO-file.\n");
Core.print("WARNING: Using default resolution 720x576 and default DVD-palette.\n");
}
try {
...
DoctorM
3rd September 2010, 04:16
I'm not sure what the problem is, maybe the resize filters are just not very good, but no matter what filter I use to convert DVD subs from 576 to 480, the top and bottoms of the letters seem to flatten.
Would a Spline resizer work better or is the problem somewhere else?
Btw, has it been pointed out that the conversion should be between 478 for NTSC and 574 for PAL (not 480 and 576) (or has this already been accounted for elsewhere)?
Inspector.Gadget
28th September 2010, 03:08
Hey 0xdeadbeef, it appears to the casual observer that a certain shady software company might be ripping you off (http://forum.doom9.org/showthread.php?t=157070).
I am unable to find any license or copyright information relating to BDSup2Sub packed in the relevant installer or in the program itself, and this is consistent with their practice of ripping off libav* stuff as well. They mention following a U.S. standard for user data transfers from E.U. residents, though I believe that they are a Chinese corporation.
Deepanshu
1st October 2010, 08:25
any plans to open the source of the tool?
asarian
4th October 2010, 19:37
Any plans to compile this as a 64-bit AviSynth plugin? That would be awesome.
rernst
4th October 2010, 19:39
Avarian,
it's Java, it doesn't work that way.
asarian
4th October 2010, 19:45
Avarian,
it's Java, it doesn't work that way.
Sorry, my bad; I see I posted this in the BDSup2Sub forum; meant to go to the SupTitle thread, of course. :o
DoctorM
11th October 2010, 23:39
Anyone else finding that titles reduced in size, regardless of resize filter used, occasionally gets a jitter (like it's shuddering between scan lines)?
I recommend that Lanczos should be used preferentially, it is still the best resize filter.
Also, if you are converting something like PAL to NTSC, add a resize value (X and Y) of 1.2.
Otherwise the resizing distorts the text quite badly and effects legibility.
Does anyone know if this program is still being developed? There hasn't been an update in quite a while.
DoctorM
13th October 2010, 22:14
Hmm. Okay so the issue is weirder than I thought.
I found a thread that recommended moving the subtitles up 1 line if there is a jitter... this did not fix the issue, but revealed another problem.
Normally, when using DVDSubEdit to move subtitles, the pop-up preview is unaltered by an adjustment to the subpicture vertical position.
This is not true of titles resized with BDSup2Sub. The title will actually shake up and down by 1 pixel in the preview box as you adjust the position. Any odd pixel move causes the top of the subtitle to be cut off (and it may appear in many as random lines at the bottom of the subpicture's area on DVD playback).
Something is seriously wrong. I suspect overcropping around the subs might be the problem.
The top and bottom are cropped flat to the top most/bottom most pixels of the titles.
I'm not sure that explains jittering when I play back on standalone DVD players, or why the jitter can actually be duplicated manually in DVDSubEdit.
I could really use a suggestion here, because this is a deal breaker. If BDSup2Sub can't generate subtitles stable for all conditions, it's useless.
Scott R
16th October 2010, 21:35
I'm new to using BDSup2Sub and I ran into a problem on my first try. First, I used MakeMKV to rip Avatar from my Blu-ray disc. Then I used mkvtoolnix's mkvextract to extract the PGS subtitle track to a .sup file. That appeared to complete successfully. But when I try to read in that file using BDSup2Sub, the status bar zooms along and in a second or two, at about the halfway point, it bombs out with an error referring to "IndexOutOfBoundsException".
Any ideas? I tried re-extracting the PGS subtitle track twice (in case something got corrupted the first time), and tried BDSup2Sub on two different computers, but I still got the same results. I can confirm that the embedded subtitle track in my MKV file works when I play it via XBMC Dharma under Windows 7 (except for an XBMC bug which leaves the subtitles on-screen too long).
Killroy™
16th October 2010, 21:53
Use eac3to to extract the sup file.
Scott R
16th October 2010, 21:56
Use eac3to to extract the sup file.Can eac3to extract the track *from* an MKV file, or will I need to re-rip my movie again (using something like AnyDVD HD)? I don't currently have a license for AnyDVD HD, so I've been hoping to survive just using MakeMKV.
Killroy™
16th October 2010, 21:58
Can eac3to extract the track *from* an MKV file, or will I need to re-rip my movie again (using something like AnyDVD HD)? I don't currently have a license for AnyDVD HD, so I've been hoping to survive just using MakeMKV.
It can but I missed the MKV part... for MKV's I prefer to use MKVcleaver_v0500
DoctorM
16th October 2010, 22:03
Can eac3to extract the track *from* an MKV file, or will I need to re-rip my movie again (using something like AnyDVD HD)? I don't currently have a license for AnyDVD HD, so I've been hoping to survive just using MakeMKV.
If you extracted with MKV Extract... that's the file. BDSup2Sub's inability to load it is BDSup2Sub's bug.
Scott R
16th October 2010, 22:08
Based on a quick Google search, it sounds like MKVcleaver is just a GUI skin for mkvextract which, per my original post, is the tool I previously used to extract the .sup file, but which BDSup2Sub bombed out on. I'll try out eac3to later today, unless someone has other recommendations. At this point I don't know if my problem is that mkvextract is failing to properly extract the file, or BDSup2Sub is not working properly. It's also possible that whatever version of MakeMKV I was using at the time I originally ripped this movie didn't do something quite right with the subtitle data. Yesterday I did a lot of Googling on the subject, but didn't find anyone else reporting getting this IndexOutOfBoundsException error with this movie's subtitle track, so I'm not sure what could be wrong.
DoctorM
16th October 2010, 22:23
Hmm. It is possible MakeMKV is doing something weird to your subtitles, but I don't know, this is the first I've heard of it.
If you are willing to post the SUP file, I'll take a look at it (I can't guarantee I'll know what I'm doing though.)
Scott R
16th October 2010, 23:26
DoctorM, thanks for the offer. I figured I'd give eac3to a try first, but according to their wiki, I don't even see any claim that it's capable of extracting PGS/.sup subtitle data. If it can definitely do this, can someone provide me with the proper command line options for this, or point me to a web page that provides that info?
Edit: Nevermind, I figured it out. Trying it now. Will report back.
kevotinh
24th October 2010, 02:26
I used BDSup2Sub to change sub color, but after i save the idex sub. and play it with VLC, it have a transparents black box on it. ANyone know what i can do to not have that transparents box?
DoctorM
25th October 2010, 23:29
Since it doesn't look like there's any help coming, can anyone tell me if any older versions of S2S doesn't crop the subtitles so closely on import?
Edit: For that matter, is anything older than 3.9.6 even available anywhere?
a451guy451
30th October 2010, 02:49
Hello. Love this tool. Would it be very difficult to add Final Cut Pro formatted XML as an output option?
asarian
30th October 2010, 13:29
Can eac3to extract the track *from* an MKV file, or will I need to re-rip my movie again (using something like AnyDVD HD)? I don't currently have a license for AnyDVD HD, so I've been hoping to survive just using MakeMKV.
What you're saying doesn't make a whole lot of sense. If you were originally able to extract the main feauture + SUP track from your Blu-Ray, then it *must* have already been decrypted (run thru AnyDVD HD). Otherwise you couldn't play the resultant .mkv at all. If you had AnyDVD HD installed on another OS/computer, and now don't have it any more, they will resend you the license key.
If the .SUP track inside the .mkv is fubarred by MakeMKV (quite possible; not every program gets it right; and even somewhat older versions of eac3to sometimes screwed up the timings), then you could try and restore the timings, but you're really just better off re-ripping your Blu-Ray.
setarip_old
31st October 2010, 19:32
@asarian
Hi! If you were originally able to extract the main feauture + SUP track from your Blu-Ray, then it *must* have already been decrypted (run thru AnyDVD HD).You appear to be under a misconception.
Both (presently freeware) MakeMKV and (presently freeware) DVDFab Passkey are also capable of ripping/decrypting "Full Disc" Blu-ray discs...
asarian
31st October 2010, 22:09
@asarian
Hi! You appear to be under a misconception.
Both (presently freeware) MakeMKV and (presently freeware) DVDFab Passkey are also capable of ripping/decrypting "Full Disc" Blu-ray discs...
Yes, that appears to be a misconception on my end. I thought to date only AnyDVD HD could do that. My bad.
macjedi
6th November 2010, 17:27
Hi! I'm only able to get it to work when the in/out path is the same directory as BDSup2Sub.jar. Is this a limitation of Java/Mac or am I missing something? I'd like to have the in/out directory be on another volume than the one I keep BDSup2Sub on.
CORRECTION: I can get it to work if I "cd" into the directory first, but if I try to set the path it doesn't see the file. Is there a different syntax for sending path arguments to a java app?
mrr19121970
8th November 2010, 17:59
@0xdeadbeef
I'm trying to use ffmpeg to mux in Blu-Ray subs to an MPEG2 file. I used BDSup2Sub to convert the PGS to 25fps/PAL SUB/IDX. However ffmpeg gives me a strange message. I've Googled it and it implies a non conforming type perhaps.
Convert To PAL DVD
FFmpeg version SVN-r25679, Copyright (c) 2000-2010 the FFmpeg developers
built on Nov 5 2010 04:07:19 with gcc 4.4.2
configuration: --enable-gpl --enable-version3 --enable-libgsm --enable-pthread
s --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libmp3lame --
enable-libopenjpeg --enable-libschroedinger --enable-libopencore_amrwb --enable-
libopencore_amrnb --enable-libvpx --disable-decoder=libvpx --arch=x86 --enable-r
untime-cpudetect --enable-libxvid --enable-libx264 --extra-libs='-lx264 -lpthrea
d' --enable-librtmp --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm' --target-o
s=mingw32 --enable-avisynth --cross-prefix=i686-mingw32- --cc='ccache i686-mingw
32-gcc' --enable-memalign-hack
libavutil 50.32. 6 / 50.32. 6
libavcore 0.12. 0 / 0.12. 0
libavcodec 52.94. 3 / 52.94. 3
libavformat 52.84. 0 / 52.84. 0
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.56. 0 / 1.56. 0
libswscale 0.12. 0 / 0.12. 0
[mpeg @ 015efe60] max_analyze_duration reached
Input #0, mpeg, from 'F:\Chitty_DVD9.mpg':
Duration: 02:25:30.75, start: 1.000000, bitrate: 6975 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9]
, 9000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0x80]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
Stream #0.2[0x81]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
Input #1, mpeg, from 'E:\DEMUX\CCBB\Subtitles_23_German_FORCED_exp.sub':
Duration: 02:18:36.08, start: 54.720000, bitrate: 0 kb/s
Stream #1.0[0x20]: Subtitle: dvdsub
Output #0, mpeg, to 'E:\Chitty.mpg':
Metadata:
encoder : Lavf52.84.0
Stream #0.0: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], q=2-3
1, 9000 kb/s, 90k tbn, 25 tbc
Stream #0.1: Audio: ac3, 48000 Hz, 5.1, 448 kb/s
Stream #0.2: Subtitle: dvdsub
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Stream #1.0 -> #0.2
Press [q] to stop encoding
[mpeg @ 036688c0] st:2 error, non monotone timestamps 165600 >= 165600
av_interleaved_write_frame(): Operation not permitted
I've attached the SUB/IDX (12kb) for you to try yourself. http://www.clownbd.com/CCBB.zip
ffmpeg -i "F:\Chitty_DVD9.mpg" -i "E:\DEMUX\CCBB\Subtitles_23_German_FORCED_exp.sub" -map 0:0 -map 0:1 -map 1:0 -vcodec copy -acodec copy -scodec dvdsub "E:\Chitty.mpg"
Can you help here?
mrr19121970
10th November 2010, 13:39
Perhap's I've found an alternative solution?
http://dvdauthor.sourceforge.net/doc/spumux.html
What is the chance that you can offer XML/PNG output compatible for spumux (the subtitle element of DVDAuthor)?
Here's a sample configuration file:
<subpictures>
<stream>
<spu start="start-time" [ end="end-time" ] [ image="picture.png" ]
[ highlight="picture.png" ] [ select="picture.png" ]
[ transparent="color-code" ] [ force="yes" ]
[ autooutline="infer" [ outlinewidth="width" ]
[ autoorder="rows" | autoorder="columns" ] ]
[ xoffset="x-coord" yoffset="y-coord" ] >
<button [ name="name" ] [ x0="x0" ] [ y0="y0" ] [ x1="x1" ]
[ y1="y1" ] [ up="name" ] [ down="name" ]
[ left="name" ] [ right="name" ] />
<action [ name="name" ] />
</spu>
</stream>
</subpictures>
Each subtitle image is described by an <spu> tag. The start and optional end attributes describe when the subtitle will be displayed on the screen, in "HR:MM:SS.HU". The image attribute describes the main subtitle image, which can either be a PNG or BMP file. If your image is not a full screen image, you can use xoffset and yoffset to move the picture around. In the advent that the author is unable to use a graphics format with an alpha channel, then the transparent attribute can be used to describe which color should become fully transparent. The color is in hexadecimal as "RRGGBB". If you want to force the display of the subtitle, regardless of whether the user has enabled subtitles or not, you can use the force tag. When you are making menus, the force tag is required.
The remaining attributes and tags are related to menu creation. The highlight attribute shows what all the buttons look like when they are highlighted (i.e. when you are using the arrows in the menu), and the select attribute shows what all the buttons look like when the are selected (i.e. for the 1-2 seconds after you press enter in the menu). If either of these (or the image attribute) are omitted, then spumux creates a blank (totally transparent) image. Obviously at least one tag should be specified.
To aid in button creation, the autooutline attribute instructs spumux to infer where the buttons are located. It does this by attempting to draw rectangles around a composition of the highlight and select images which do not intersect any opaque or semi-opaque pixels. In order to support textual buttons, the attribute outlinewidth allows you to specify the width of the rectangle which is tested. Wider rectangles won't be able to squeeze between the letters. Finally, autoorder describes which way to order the automatically detected buttons, which is important for numerically selected buttons and for mapping buttons to button names or to the implied names.
The button and action tags describe the buttons (visibly selectable objects on the screen) and actions (commands that are executed as soon as the associated key is pressed on the remote). If you are using the autooutline feature, just designing buttons, are happy with the inferred button navigation, and can deal with the simplistic naming system, then you actually do not even need to specify any buttons or actions. Otherwise, read on.
The name attribute is used to give a button or action an easy to refer to name. By default they are numbered sequentially starting with "1". The up, down, left, and right names describe which button or action should be tied to the corresponding key when the current button is highlighted, though if omitted spumux will use a reasonably intelligent algorithm to determine which buttons to move to.
The (x0,y0) coordinates describe the upper left hand corner inclusively, while the (x1,y1) coordinates describe the lower right hand corner EXclusively. The coordinates start at 0,0 for the upper left hand corner. Ideally, the y0 and y1 coordinates should both be even, so the button edges fully empasses two interlaced scanlines, even if there is no data in the extra scanline. Some DVD players will fill in the extra scanline if it is not specified; spumux makes an effort to ensure that will be transparent but there is no guarantee.
mrr19121970
10th November 2010, 16:31
I tried manually creating the XML, but it seems the generated palette has 254 colours and this application wants only 4:
<subpictures>
<stream>
<spu start="00:00:00:01" end="00:01:01:10" xoffset="148" yoffset="281" image="E:\DEMUX\CCBB\XML\Subtitles_23_German_FORCED_exp_0001.png" >
</spu>
</stream>
</subpictures>
DVDAuthor::spumux, version 0.6.18.
Build options: gnugetopt iconv freetype fribidi
Send bugs to <dvdauthor-users@lists.sourceforge.net>
INFO: PNG had 254 colors
Assertion failed: s->numpal < 16, file subgen.c, line 294
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
see here (http://osdir.com/ml/multimedia.dvdauthor.user/2005-10/msg00026.html) and here (http://osdir.com/ml/multimedia.dvdauthor.user/2005-10/msg00027.html).
Lincoln Burrows
11th November 2010, 01:55
I am having problems with a demuxed subtitle from a m2ts file. Watching the m2ts file I can see the subtitle working until the end, but when I use TsMuxer to demux the stream and try to create a MKV file with Mkvtoolnix the subtitle only works for 2 minutes.
Using BDSup2Sub there was a warning:
ERROR: PG missing at index 0x000d1607
This is the file:
http://www.easy-share.com/1912927248/00020.track_4632.sup
It's a chinese subtitle. One more thing: MakeMKV reported the original m2ts file (from the movie) was somehow corrupted. The message was:
The source file '/BDMV/STREAM/00020.m2ts' is corrupt or invalid at offset 466944, attempting to work around
It usually means a bad rip or faulty disc. But I can't see any errors playing 00020.m2ts which is the file from the movie. All demuxed subtitles I have selected are working. This is the only one that have a problem.
If this is really a problem as stated above why I am capable of using that subtitle without demuxing? Can you at least explain what "PG missing at index" means?
This issue was solved following those steps:
The "attempting to work around" message got my attention so I decided to convert the original m2ts file from the movie into MKV using MakeMKV instead of TsMuxer. But only selecting the chinese subtitle in the options. I was under the impression that TSMuxer didn't do a very good job and that's why the subtitle was incomplete, even though the m2ts file was somehow corrupted as pointed out by MakeMKV. I figured "perhaps MakeMKV can do better".
And that was exactly what happened: later I used MKVMergeGUI2 to extract the chinese subtitle (sup file) and then inserted in the MKV file as I planned from the start.
The new subtitle is complete, while the one extracted by TSMuxer has 2 minutes (instead of almost 2 hours).
You can see the new here, and compare both using BDSup2Sub:
http://www.easy-share.com/1912928049/title03_track2.sup
kevbo
19th November 2010, 16:18
I'm having some weirdness with the new Avatar Collector's Edition. I'm trying to get just the Na'vi text as subtitles. I'm using the USA release, and working with the Extended edition.
I've copied the movie using AnyDVD and I used CloneBD to extract the subtitles. As the disk uses seamless branching, CloneBD needs to do some timing adjustment. That could be the problem (and I'll ask there).
Basically, I get the 83 subtitle frames, conveniently located as Subtitle track 15. The problem is, the timing is all off.
Notice:
timestamp: 00:15:02:693, filepos: 000000000
timestamp: 00:04:40:530, filepos: 000002000
timestamp: 00:04:42:741, filepos: 000004000
timestamp: 00:04:47:120, filepos: 000006800
timestamp: 00:04:49:414, filepos: 000008800
The first timestamp there is actually right: the first subtitle should be at 15:02. Then, it timewarps back in time, and stays "wrong" for the rest of the file.
The subtitle track with _all_ the subtitles, track 10, doesn't show this. In fact, I can find the "correct" timestamps for all of the Na'vi text in the conversion of the full track...and I mean to do so, by hand, to make the .idx file for just the Na'vi (forced) track.
BDSup2Sub says things like this when it does the conversion:
#> 1 (00:15:02.693)
WARNING: multiple PDS/ODS definitions: result may be erratic
#< 2 (00:04:40.530)
#< 3 (00:04:42.741)
#> 4 (00:04:47.120)
WARNING: multiple PDS/ODS definitions: result may be erratic
#< 5 (00:04:49.414)
#> 6 (00:38:11.080)
#> 7 (00:38:19.714)
#> 8 (00:38:25.011)
#> 9 (00:38:28.723)
WARNING: multiple PDS/ODS definitions: result may be erratic
#< 10 (00:38:31.059)
I don't know if there's something weird about this stream that BDSup2Sub hadn't seen before, or if this file really is corrupt somehow. I've tried the entire process twice, with the same result.
Thanks,
Kevin
rernst
19th November 2010, 16:26
For what it's worth - I did the same BD with YAMF (I wrote) which uses BDSup2Sub internally (I just call it from my Java code) and didn't have issues.
Maybe this is a clue to what the deal is, maybe not. I just thought I'd mention it.
Killroy™
19th November 2010, 16:28
I'm having some weirdness with the new Avatar Collector's Edition. I'm trying to get just the Na'vi text as subtitles. I'm using the USA release, and working with the Extended edition.
I've copied the movie using AnyDVD and I used CloneBD to extract the subtitles. As the disk uses seamless branching, CloneBD needs to do some timing adjustment. That could be the problem (and I'll ask there).
Does CloneBD use eac3to (in the background) to demux? It seems that eac3to is having problems with some titles lately.
rernst
19th November 2010, 16:36
Yes, I believe it does.
kevbo
19th November 2010, 18:32
Can I use YAMF to get a correct .idx file?
I'm going to take a look at it...just downloaded it. I've never used it before.
And to answer the other question: yes, ClownBD uses eac3to. That's pretty much all I use it for...spilt with ClownBD, and mux by hand using MKVMerge. I'm just making MKV files for my own use, so I'm not recompressing or anything.
Thanks,
Kevin
Killroy™
19th November 2010, 18:42
Can I use YAMF to get a correct .idx file?
I'm going to take a look at it...just downloaded it. I've never used it before.
And to answer the other question: yes, ClownBD uses eac3to. That's pretty much all I use it for...spilt with ClownBD, and mux by hand using MKVMerge. I'm just making MKV files for my own use, so I'm not recompressing or anything.
Thanks,
Kevin
Try demuxing (extracting) the subs (.sup) with tsMuxeR and you should get a proper sub file with the proper timeline. You can go back and use mkvmerge like usual to get a proper MKV.
kevbo
19th November 2010, 18:45
The problem is, the source movie isn't a single file. It is multiple parts, using seamless branching. Can I use TSRemux like that? It only seems to want a single file. Should I combine the files by hand?
Edited: looks like TSMuxer can do this for me, by reading the playlist file. Experimenting now.
Thanks,
Kevin
rernst
19th November 2010, 19:10
Can I use YAMF to get a correct .idx file?
I'm going to take a look at it...just downloaded it. I've never used it before.
And to answer the other question: yes, ClownBD uses eac3to. That's pretty much all I use it for...spilt with ClownBD, and mux by hand using MKVMerge. I'm just making MKV files for my own use, so I'm not recompressing or anything.
Thanks,
Kevin
Yes, it converts it under the covers and multiplexes it into the .mkv file. It uses BDSup2Sup to do this.
As for the other question - yes, YAMF actually takes the .TS file (if you give it that) and demultiplexes it into the elementary streams using tsmuxer. So the method described above should work. ClownBD has already done the hard work of combining the various MTS files according to playlist into a single .ts file.
kevbo
19th November 2010, 19:55
The problem is, ClownBD/eac3to is causing the extracted .sub file to be wrong, somehow...so I can't use that combo in the workflow for this movie.
Using TXMuxerGUI, setting it to demux, and pulling the .sub files from there _worked_. I fed the resulting .sub file to BDSup2Sub, and while it still showed the same warnings ("WARNING: multiple PDS/ODS definitions: result may be erratic"), the timestamps were correct. I fed the exported file to mkvmerge and have a nice, working .mkv file with the subs in the right location, timewise.
Thanks for the help, and pointing out tools I didn't know about. The problem, in this case, is clearly not BDSup2Sub's, and is most likely eac3to's.
Killroy™
19th November 2010, 20:02
Thanks for the help, and pointing out tools I didn't know about. The problem, in this case, is clearly not BDSup2Sub's, and is most likely eac3to's.
Like I said, eac3to seems to have problems with a few new titles recently like Avatar EE, and some of the Lethal Weapon titles. Not sure why but using tsMuxeR for some of the demuxing seems to fix the issues as a quick fix.
kevbo
19th November 2010, 20:03
Thanks Killroy: I just wanted to confirm what you said and that it had worked, in case anyone else finds this thread.
Then, I went to the eac3 thread and found exactly the same thing there. Guess I should have gone there first. :)
Thanks again everyone,
Kevin
Chug a Bug
23rd November 2010, 13:22
I used MakeMKV for Avatar EE and the sup's demuxed from that are ok too, timewise.
Arshad07
10th December 2010, 14:51
After I've converted the SUP to idx/sub, how can i convert it to srt?
thanks.
cavediver
11th December 2010, 01:21
After I've converted the SUP to idx/sub, how can i convert it to srt?
thanks.
I use suprip to go straight from sup to srt.
DoctorM
11th December 2010, 05:55
I'm not sure why you would ever need to use BDSup2Sub before using OCR software (which BDSup2Sub does not do).
DMD
12th December 2010, 11:41
Unfortunately I'm noticing that many DVD titles
there are subforced integrated into the main stream that is not possible to extrapolate, so we need to do it manually. :(
Currently, proceed as follows:
1 - Load the stream with BDSup2Sub, then open simultaneously DVDSubEdit, using it as monitor, with the cursor and scan the entire movie looking for subForced.
2 - Once found, it must mark them with a flag in BDSup2Sub, then save the entire stream.
3 - Open the stream with BDSup2Sub "flagged" at this stage there is indicated the presence of forced, we will have to export as I said in the guide.
There is no other better way to do this?
THANKS
rernst
6th January 2011, 16:11
As it says: Reading the subtitle file (there is only one on the BD) bdsup2sub issues an error messages:
Loading W:\BDCLown\The girl with the dragon tatto\Subtitles_5_Undetermined.sup
#> 1 (00:02:21.808)
#> 2 (-3:-13:-5.-180)
#> 3 (-3:-12:-23.-763)
#> 4 (-3:-12:-19.-551)
WARNING: multiple PDS/ODS definitions: result may be erratic
#< 5 (-3:-12:-14.0-4)
#> 6 (-3:-12:-11.-84)
#> 7 (-3:-12:-6.-997)
#> 8 (-3:-12:-1.-741)
WARNING: multiple PDS/ODS definitions: result may be erratic
#< 9 (-3:-11:-58.-947)
#> 10 (-3:-11:-54.-734)
#> 11 (-3:-11:-50.-730)
WARNING: multiple PDS/ODS definitions: result may be erratic
#< 12 (-3:-11:-47.-978)
#> 13 (-3:-11:-45.-266)
#> 14 (-3:-11:-38.-969)
#> 15 (-3:-11:-35.-882)
#> 16 (-3:-11:-29.-501)
#> 17 (-3:-11:-25.-413)
#> 18 (-3:-11:-13.-109)
#> 19 (-3:-11:-9.-940)
#> 20 (-3:-11:-2.-641)
#> 21 (-3:-10:-59.-387)
#> 22 (-3:-10:-56.0-9)
#> 23 (-3:-10:-52.-923)
#> 24 (-3:-10:-47.-459)
#> 25 (-3:-10:-43.-371)
#> 26 (-3:-10:-39.-868)
#> 27 (-3:-10:-35.-906)
#> 28 (-3:-10:-32.-694)
#> 29 (-3:-10:-27.-439)
#> 30 (-3:-10:-23.-894)
#> 31 (-3:-10:-19.-97)
#> 32 (-3:-10:-16.-219)
#> 33 (-3:-10:-11.-506)
#> 34 (-3:-10:-2.-622)
#> 35 (-3:-9:-55.-574)
#> 36 (-3:-9:-52.-904)
#> 37 (-3:-9:-49.-25)
etc ....
The subtitle display correctly in the application. Exporting them doesn't seem to create error messages but when I try to multiplex the result matroska tells me there is something wrong with the format.
Would you like the file and have a look at it?
setarip_old
6th January 2011, 20:01
@DMD
Hi! There is no other better way to do this?Sure there is. In DVDSubedit, simply tick "Forced subs only"...
ptr727
27th January 2011, 23:19
Hi, when I load a sup file I get an indexoutofbounds exception.
Process:
Avatar BD, converted to MKV using MakeMKV.
MakeMKV included normal and forced subs streams.
Extract SUP file from MKV using eac3to and HdBrStreamExtractor.
I can open the normal sup file ok.
When I open the forced subs sup file I get the crash.
Sample file is here:
http://dl.dropbox.com/u/2182768/1_5_subtitle.sup
Is this a problem with MakeMKV, or a bug?
P.
ianken
4th February 2011, 03:17
I'm seeing the same thing.
AVATAR BRD-> MKV via MakeMKV
Extract subs using mkvextract (from mkvtoolnix)
The full sub set work (IE: the regular dialog and descriptive text)
The other track, which is just the na'avi, causes a thrown exception.
kws53
9th February 2011, 23:08
As it says: Reading the subtitle file (there is only one on the BD) bdsup2sub issues an error messages:
Loading W:\BDCLown\The girl with the dragon tatto\Subtitles_5_Undetermined.sup
#> 1 (00:02:21.808)
#> 2 (-3:-13:-5.-180)
#> 3 (-3:-12:-23.-763)
#> 4 (-3:-12:-19.-551)
WARNING: multiple PDS/ODS definitions: result may be erratic
#< 5 (-3:-12:-14.0-4)
#> 6 (-3:-12:-11.-84)
#> 7 (-3:-12:-6.-997)
#> 8 (-3:-12:-1.-741)
WARNING: multiple PDS/ODS definitions: result may be erratic
#< 9 (-3:-11:-58.-947)
#> 10 (-3:-11:-54.-734)
#> 11 (-3:-11:-50.-730)
WARNING: multiple PDS/ODS definitions: result may be erratic
#< 12 (-3:-11:-47.-978)
#> 13 (-3:-11:-45.-266)
#> 14 (-3:-11:-38.-969)
#> 15 (-3:-11:-35.-882)
#> 16 (-3:-11:-29.-501)
#> 17 (-3:-11:-25.-413)
#> 18 (-3:-11:-13.-109)
#> 19 (-3:-11:-9.-940)
#> 20 (-3:-11:-2.-641)
#> 21 (-3:-10:-59.-387)
#> 22 (-3:-10:-56.0-9)
#> 23 (-3:-10:-52.-923)
#> 24 (-3:-10:-47.-459)
#> 25 (-3:-10:-43.-371)
#> 26 (-3:-10:-39.-868)
#> 27 (-3:-10:-35.-906)
#> 28 (-3:-10:-32.-694)
#> 29 (-3:-10:-27.-439)
#> 30 (-3:-10:-23.-894)
#> 31 (-3:-10:-19.-97)
#> 32 (-3:-10:-16.-219)
#> 33 (-3:-10:-11.-506)
#> 34 (-3:-10:-2.-622)
#> 35 (-3:-9:-55.-574)
#> 36 (-3:-9:-52.-904)
#> 37 (-3:-9:-49.-25)
etc ....
The subtitle display correctly in the application. Exporting them doesn't seem to create error messages but when I try to multiplex the result matroska tells me there is something wrong with the format.
Would you like the file and have a look at it?
Interestingly, the same problem exists for "The Girl Who played with Fire". I demuxed using EAC3TO [CLI] and used the subtitle SUP stream produced.
Loading W:\GIRL WHO PLAYED WITH FIRE\00001 - 5 - Subtitle (PGS), 838 captions.sup
#> 1 (00:01:06.733)
#> 2 (-3:-14:-15.-959)
#> 3 (-3:-14:-12.-330)
#> 4 (-3:-14:-6.-741)
#> 5 (-3:-14:-3.-613)
#> 6 (-3:-13:-58.-942)
#> 7 (-3:-12:-54.-711)
<snipped>
#> 168 (-2:-50:-43.-840)
#> 169 (-2:-50:-41.-713)
#> 170 (-2:-50:-37.-41)
#> 171 (-2:-50:-30.-910)
#> 172 (-2:-50:-26.-30)
WARNING: multiple PDS/ODS definitions: result may be erratic
#< 173 (-2:-50:-21.-776)
#< 174 (-2:-50:-16.-979)
#> 175 (-2:-50:-12.-433)
#> 176 (-2:-50:-8.-805)
<snipped>
#> 231 (-2:-43:-35.-287)
#> 232 (-2:-43:-30.-490)
#> 233 (-2:-43:-26.-278)
WARNING: multiple PDS/ODS definitions: result may be erratic
#< 234 (-2:-43:-24.-25)
#> 235 (-2:-43:-19.-20)
#> 236 (-2:-43:-11.-221)
#> 237 (-2:-43:-5.-799)
#> 238 (-2:-42:-59.-167)
#> 239 (-2:-42:-54.-996)
<snipped>
#> 290 (-2:-36:-46.-44)
#> 291 (-2:-36:-30.-654)
#> 292 (-2:-36:-25.-148)
WARNING: multiple PDS/ODS definitions: result may be erratic
#< 293 (-2:-36:-22.-771)
#> 294 (-2:-36:-15.-514)
#> 295 (-2:-36:-12.-886)
#> 296 (-2:-36:-10.0-8)
<snipped>
#> 835 (-1:-11:-56.-293)
#> 836 (-1:-11:-52.-289)
#> 837 (-1:-11:-42.-780)
#> 838 (-1:-11:-24.-720)
Detected 0 forced captions.
WARNING: end time of frame 1 < start time -> fixed
WARNING: duration of frame 1 is shorter than 500.5ms
WARNING: start time of frame 2 < end of last frame -> fixed
Decoding frame 1/838 at offset 0x00000559
No problem with display but the subtitle stream is useless to hardcode into a 720p recode for streaming via a MKV container.
Ideas on resolving are certainly welcomed, since this and Dragon Tattoo are subtitled movies I regularly watch.
Kurt
kws53
12th February 2011, 15:45
Using the current version of EAC3TO [3.24] produces a faulty demux to .sup for both "Girl with Dragon Tattoo" and "Girl who Played with Fire" BluRay disks. This results in the RIGHT timing code for the first subtitle but craps out for the remaining ones - see my previous post for details.
The solution requires these steps:
1) Demux with tsMuxer to .sup
2) Demux with EAC3TO to .sup
3) Compare start time for first subtitle - if different [they were for "Girl who Played with Fire"] calculate the difference in ms [EAC3TO was correct]
4) Convert the tsmuxer .sup file using BDSup2Sub to .idx/sub using the DELAY from Step 3). My delay was almost 10SECONDS [9958ms].
Now the idx file can be hardcoded using Avisynth with VSfilter.dll and x264.
I was able to produce a superb 720p recode with hardcoded subtitles using this method.
Kurt
laserfan
12th February 2011, 17:39
You are saying in effect that the eac3to .sup was corrupt, and the tsmuxer .sup was not, but had a wrong start time which you corrected with BDSup2Sub? I'm curious of the tsmuxer demuxed .sup threw any errors when loaded by BDSup2Sub (apparently not)?
Sakura-chan
14th February 2011, 03:16
Hi!
I'm using this for the first time and I have one doubt. Where is the so-called "log" located? (is there any in the first place?). When I load certain BD SUP files it throws me 2 or 3 warnings and it tells me to see the "log". But I can't find it anywhere, only the .ini file with the program settings. Apparently the sub images are fine (haven't check 1 by 1, there are like 2000), but it worries me what the "warnings" could be or how can affect the subs. Great program btw, I have to use this to convert BD SUP files because SupRip is SERIOUSLY flawed, almost every SUP I try to open crashes the program at some point :(
Edit: Silly me, the log is the box on the left-bottom :P. The warnings always are: "multiple PDS/ODS definitions: result may be erratic". Should I worry? (I don't have the video here to test, but the lines that show the warning seem to be ok).
Edit 2: Well, that "PDS/ODS" thingy causes the next line to appear on top, where it should be on the bottom. Manually editing the frame (copying the "Y offset" from the next or previous frame) puts the frame back where it should be. Nothing too bad of a bug. I get two or three of these per SUP file (and not always). What's weird is that none of the lines has any weird effect or anything. They are all supposed to be plain lines appearing on the bottom of the screen. Screenies:
http://img37.imageshack.us/img37/7492/asdio.th.jpg (http://img37.imageshack.us/i/asdio.jpg/) http://img714.imageshack.us/img714/9136/asd2ru.th.jpg (http://img714.imageshack.us/i/asd2ru.jpg/) http://img821.imageshack.us/img821/4035/asd3o.th.jpg (http://img821.imageshack.us/i/asd3o.jpg/)
Also, what filter is the best? I'm converting the SUP subs to IDX/SUB (keeping everything intact) and all filters appear to have the same quality >.<
Honeyko
21st February 2011, 23:35
Maybe I'm missing something right in front of me, but can BD handle multiple subs simultaneously?
(I am chiefly interested in retiming entire swaths of "tinny" PAL DVD subtitles to 23.976; and would really love an app would could demux anything DVDdecrypt generates.)
setarip_old
22nd February 2011, 01:14
Settings>>Conversion>>Change framerate - and, if needed, Convert resolution
Honeyko
22nd February 2011, 08:29
My sequence:
1. DVDdecrypt PAL DVD
2. VOBsub to extract idx and sub files.
3. Drag either idx or sub into BD ... while opening, get error "There were 25 warnings" (and only the first subtitle displays or saves).
Log (parts of it):
BDSup2Sub 4.0.0 - a converter from Blu-Ray/HD-DVD SUP to DVD SUB/IDX and more
0xdeadbeef 02-12/2009
Official thread at Doom9: http://forum.doom9.org/showthread.php?t=145277
Loading C:\Download\VTS_01_0.sub
WARNING: Language id fr(index:1) inactive -> ignored
WARNING: Language id de(index:2) inactive -> ignored
WARNING: Language id it(index:3) inactive -> ignored
WARNING: Language id es(index:4) inactive -> ignored
WARNING: Language id nl(index:5) inactive -> ignored
WARNING: Language id ar(index:6) inactive -> ignored
WARNING: Language id cs(index:7) inactive -> ignored
WARNING: Language id da(index:8) inactive -> ignored
WARNING: Language id fi(index:9) inactive -> ignored
WARNING: Language id el(index:10) inactive -> ignored
WARNING: Illegal language id: iw
WARNING: Language id iw(index:11) inactive -> ignored
WARNING: Language id hi(index:12) inactive -> ignored
WARNING: Language id hu(index:13) inactive -> ignored
WARNING: Language id no(index:14) inactive -> ignored
WARNING: Language id pl(index:15) inactive -> ignored
WARNING: Language id pt(index:16) inactive -> ignored
WARNING: Language id sv(index:17) inactive -> ignored
WARNING: Language id tr(index:18) inactive -> ignored
WARNING: Language id fr(index:19) inactive -> ignored
WARNING: Language id de(index:20) inactive -> ignored
WARNING: Language id it(index:21) inactive -> ignored
WARNING: Language id es(index:22) inactive -> ignored
WARNING: Language id nl(index:23) inactive -> ignored
# 1
# 2
# 3
...
# 521
# 522
WARNING: Invalid end sequence offset -> no end time
# 523
# 524
# 1108
# 1109
....
Detected 0 forced captions.
WARNING: end time of frame 522 < start time -> fixed
WARNING: duration of frame 522 is shorter than 520ms
Decoding frame 1/1109 at offset 0x0002e000
WARNING: duration of frame 522 is shorter than 500.5ms
Decoding frame 1/1109 at offset 0x0002e000
WARNING: duration of frame 522 is shorter than 500.5ms
Decoding frame 1/1109 at offset 0x0002e000
Writing C:\Download\VTS_01_0_exp.sub
Decoding frame 1/1109 at offset 0x0002e000
Decoding frame 2/1109 at offset 0x00042800
Decoding frame 3/1109 at offset 0x0005e800
...
Decoding frame 1108/1109 at offset 0x05c19800
Decoding frame 1109/1109 at offset 0x05c42800
Honeyko
22nd February 2011, 22:36
...does anyone have a solution for the problem indicated above?
Thanks....
Lighto
24th February 2011, 11:56
Hi there, I am kind of new at this and I am seeking help regarding the colour codes.
This is the current .sub I have.
http://i52.tinypic.com/2mq9993.jpg
I am aiming to change the colour to white with black shadow instead of the current black with light blue shadow.
I have found out that Edit > Edit DVD Frame Palette can change the colours.
But I could not figure out how to get my desired colours.
http://i56.tinypic.com/axffqb.jpg
The closest I got was this.
http://i54.tinypic.com/5mwgmo.jpg
I have also read the help documentation at javaforge but could not find any information that was specific to the colour codes.
Any help or comments regarding this issue will be deeply appreciated.:)
kws53
28th February 2011, 00:15
You are saying in effect that the eac3to .sup was corrupt, and the tsmuxer .sup was not, but had a wrong start time which you corrected with BDSup2Sub? I'm curious of the tsmuxer demuxed .sup threw any errors when loaded by BDSup2Sub (apparently not)?
No errors. Only reason I noticed the delay was that I remuxed and viewed the film with the subtitles. Obviously they didn't line up and I realized that the delay was identical to the difference between the EAC and Ts start times.
Kurt
TheProfosist
10th April 2011, 17:17
i know this is purely a conversion tool bnut since it reads both DVD and BD subs nearly perfectly i think it would be a good idea to integrate OCR support right into it. main reason being suprip has problems and misses lines this catches everything and i actually use it to get the missing lines manually. also when cvting to sub the resulting sub it rather hard to ocr (using subrip) as compared say normal dvd subs.
DoctorM
10th April 2011, 19:05
Hi there, I am kind of new at this and I am seeking help regarding the colour codes.
This is the current .sub I have.
I am aiming to change the colour to white with black shadow instead of the current black with light blue shadow.
I have found out that Edit > Edit DVD Frame Palette can change the colours.
But I could not figure out how to get my desired colours.
The closest I got was this.
I have also read the help documentation at javaforge but could not find any information that was specific to the colour codes.
Any help or comments regarding this issue will be deeply appreciated.:)
Just to be clear, are you looking to change the colors from their original style, or is the problem that when you loaded the subtitles into BDSup2Sub they came out looking wrong?
I ask because I see that your black subtitles are already using a custom palette.
If the original source's subtitles are the color you want, then go to that drop box along that top that says "Palette" and change it from 'create new' to 'keep existing'.
Lighto
11th April 2011, 02:29
Just to be clear, are you looking to change the colors from their original style, or is the problem that when you loaded the subtitles into BDSup2Sub they came out looking wrong?
I ask because I see that your black subtitles are already using a custom palette.
If the original source's subtitles are the color you want, then go to that drop box along that top that says "Palette" and change it from 'create new' to 'keep existing'.
The source .sub is actually white with black shadow, the problem is that vobsub somehow extracted it off with the wrong colour(black).
I am looking to change it to the colour it is suppose to be.
Chetwood
11th April 2011, 05:46
You can do this in Subtitle Creator.
pomaranc
21st April 2011, 16:47
is it possible to set the language of the output file with command line to the same language as the source file? something like /lang:keep does'nt work.
crackinhedz
7th May 2011, 16:09
3) Compare start time for first subtitle - if different [they were for "Girl who Played with Fire"] calculate the difference in ms [EAC3TO was correct]
4) Convert the tsmuxer .sup file using BDSup2Sub to .idx/sub using the DELAY from Step 3). My delay was almost 10SECONDS [9958ms].
This absolutely F'n worked!!! :goodpost:
But I used the 9958ms delay for "Girl With The Dragon Tattoo" [USA Bluray] and it synced perfectly!
I skipped the eac3to step entirely, and instead just added the delay using tsMuxeR.
Brilliant. This movie was giving me fits! I am so thankful you had the answer.
EDIT: I also used for "Girl who played with fire", and the timing is perfect! Thanks again
jmone
14th May 2011, 11:34
Out of interest what is the difference in SUP format used by HD-DVD compared to Blu-ray?
MilesAhead
15th May 2011, 22:19
Hmmmmmmm, I wonder if anyone would consider bundling BDSup2Sub in a java wrapper to facilitate use from batch mode on Windows systems that don't have a jre installed? I know there are some that claim to allow bundling a jre inside the executable. I do similar stuff with AHK and AutoIt3 scripts. But I'm not Java adept. I'm suggesting it because I don't see other command line tools for Windows that will take a PGS and output an idx/sub pair with resolution adjustment and language string.
SpaceAgeHero
22nd May 2011, 08:36
Hey guys,
when exporting forced subtitles from SUB/IDX to the same format is filtering (e.g. bilinear) applied,
thus actually changing subtitle quality?
If so, which filtering is default / recommended for SUB/IDX?
Thanks!
Hello. While I think BDsup2sub is a great tool for Vobsub-based stuff, i am going insane here with the SUP output: When i mux BDsup2sub (4.0.0) generated SUP files with TSmuxer into an Mpeg-TS container (can't use MKV, since there's this ugly bug with it not being able to handle 1080i at the correct framerate!), i have the problem that subtitles show for one frame and then disappear (using VLC 1.10 or 1.09). This is definately caused by BDsup2sub (and all the tools that use it, i tried easySUP and 3D Subtitler - the latter being the original source of the image files!), cause i demuxed a SUP subtitle that TSmuxer generated from a SRT and remuxed it as PGS with TSmuxer and it worked okay. But when i took that SUP file and put it through BDsup2sub (and remuxed that again with TSmuxer), the flickering started.
Can't be a VLC issue, since it shows the TSmuxer-made SUPs just fine...
According to some (one!) forum thread that I found, the problem seems to be that BDsup2sub clears the screen after each subtitle, and these screen clears are timed incorrectly.
I tried everything, went through IDX/SUB and BDN as an intermediate format (XML looked just fine), all to no avail, it still keeps flickering....
How can it be that nobody ever noticed this? Am I the only one using BDsup2sub in conjunction with TSmuxer? Or am I just doing something horribly wrong? :-) I did read all the help in BDsup2sub, but couldn't find anything about the clearing aspect...
I haven't been able to find any other free tool that generates SUP files, is there any? There's only the commercial DualSUP and SupConverter from Defsoft, but I have no idea if they can fix this, since BDN (xml/png) import does not work in the free version...
Edit: I did try playing it on the Boxee now. The Boxee does show the BDsup2sub-generated PGS subtitles (longer than one frame), but it's still somewhat b0rked: Every now and then the outlines or a semi-transparent version of the subtitle remain on the screen, or they get displaced somewhere, when this happens it also skips the following subs for a few seconds. TSmuxer-made PGS subs work perfect OTOH!
MilesAhead
10th June 2011, 00:41
Try playing in WMP 12. It will display PGS subs. At least it's another test to verify the fault location.
edit: if you're on Windows platform. You don't specify.
kaid
10th June 2011, 11:43
I'm usually not on Windows, no, though I do have to use it for 3D Subtitler. And it's not so much a matter of playing the file, but more that there seems to be something wrong with BDsup2sub-made SUP files...
P.S: I did try WMP Classic with all codecs installed, but It wouldn't play any PGS subs in a TS stream... Though it did show the time, which in turn VLC doesn't!
MilesAhead
12th June 2011, 23:43
It's difficult for me to tell if PGS subs are acting up in VLC since every version 1.0 and later seems to want to disappear as soon as I touch it. Even sometimes I start a video and don't even mouse over, but when the subs come on, it goes away. Too flaky for me to use since they put in the PGS and XSubs support. Don't understand why. It used to be rock solid. I even tried to clean everything off and put on an old version that used to work. Still no dice.
soneca
17th June 2011, 13:54
This is an indication of an error authoring blu-ray?
Cause subtitles are not corrupt ...:confused:
http://i131.photobucket.com/albums/p305/soneca1/Forum/bdsup2sub.jpg
Loading D:\DEMUX\00000.track_4608.sup
#> 1 (00:00:55.138)
#> 2 (00:01:07.985)
#> 3 (00:01:10.946)
#> 4 (00:01:15.492)
WARNING: multiple PDS/ODS definitions: result may be erratic
#< 5 (00:01:18.620)
#> 6 (00:01:24.001)
#> 7 (00:01:57.868)
#> 8 (00:02:00.245)
#> 9 (00:02:04.124)
#> 10 (00:02:07.169)
#> 11 (00:02:11.465)
#> 12 (00:02:17.846)
#> 13 (00:02:21.975)
#> 14 (00:02:25.354)
#> 15 (00:02:32.986)
#> 16 (00:02:36.990)
#> 17 (00:02:41.495)
#> 18 (00:02:45.582)
#> 19 (00:02:51.630)
WARNING: multiple PDS/ODS definitions: result may be erratic
#< 20 (00:02:55.258)
#> 21 (00:03:05.852)
#> 22 (00:03:09.356)
#> 23 (00:03:28.041)
#> 24 (00:03:32.129)
#> 25 (00:03:35.048)
WARNING: multiple PDS/ODS definitions: result may be erratic
crackinhedz
18th June 2011, 23:52
Soneca, try demuxing your subtitle (.sup) file using tsMuxeR ...Im assuming you are using eac3to? It gave me same problem, so running through tsMuxeR fixed.
Not sure why though?
soneca
20th June 2011, 15:20
Thanks crackinhedz.
TSmuxer has a bug when resizing some subtitles to 720.
Using bdsup2sub the problem was solved.
jd213
27th June 2011, 13:59
Is there a way to prevent subtitles from disappearing and then reappearing when a subtitle with overlapping times appears on the screen (like when a person offscreen is talking at the same time as the main dialogue)? I guess this is due to BDsup2sub clearing the screen after each subtitle like kaid mentioned.
Ice009
18th July 2011, 15:36
Hey guys, someone suggested I use this program in another forum.
I am trying to back up my HD-DVDs to .MKV files, but I can't seem to get the subtitles to work.
I have made an .MKV file with MakeMKV that includes the main movie, audio and english subtitles then encoded that with handbrake. The subs don't work in Mpc-HC or VLC even though I have them enabled. I was told I had to convert them to another format as they are extended vobsub (whatever that means).
I was told to get MKVtoolnix and extract the subs, which I did with MKVExtractGUI2 and that gave me .idx and .sub files. I tried to load up the .sub file with BDSupto2sub and I keep getting an error saying "Invalid control buffer size". I've tried this with two different movies and it keeps giving the same error.
Am I doing it completely wrong?
jd213
19th July 2011, 06:29
I never had any problems converting HD DVD .sub files with BDSup2Sub after I demuxed the HD DVD using eac3to, see if you can try that.
Ice009
19th July 2011, 15:14
I never had any problems converting HD DVD .sub files with BDSup2Sub after I demuxed the HD DVD using eac3to, see if you can try that.
Thanks for the reply. How do you Demux it with eac3to? Does eac3to have a GUI?
I've only just started doing all this stuff about a week ago.
Killroy™
19th July 2011, 15:22
Thanks for the reply. How do you Demux it with eac3to? Does eac3to have a GUI?
I've only just started doing all this stuff about a week ago.
GUIs will create you more problems than they solve. Stay with command line for perfect function.
eac3to {disc location} {disk destination} -demux
Ice009
19th July 2011, 16:54
GUIs will create you more problems than they solve. Stay with command line for perfect function.
eac3to {disc location} {disk destination} -demux
So am I demuxing directly from the HD-DVD itself? Do I need to run anything like AnyDVD?
Also, what you wrote is kinda foreign to me. What is the disk location? The HD-DVD drive?
Killroy™
19th July 2011, 17:02
So am I demuxing directly from the HD-DVD itself? Do I need to run anything like AnyDVD?
You will need AnyDVD-HD if you haven't decrypted (ripped) the disc to your hard drive. I prefer to do it directly from the disc since it eliminates an extra step (ripping to hard drive) although it is a little slower.
Ice009
19th July 2011, 17:05
You will need AnyDVD-HD if you haven't decrypted (ripped) the disc to your hard drive. I prefer to do it directly from the disc since it eliminates an extra step (ripping to hard drive) although it is a little slower.
Well I've used MakeMKV to extract it to the HDD in the .Mkv container. Can you demux that or should I be doing it directly from the HD-DVD.
I'll have to install AnyDVD-HD.
Edit : If you have time to explain it step by step that would be appreciated as I have no idea how to do it.
Killroy™
19th July 2011, 17:10
Well I've used MakeMKV to extract it to the HDD in the .Mkv container. Can you demux that or should I be doing it directly from the HD-DVD.
I'll have to install AnyDVD.
That makes things more complicated... if your MKV kept the sub track in a native format then MKVcleaver (a mkvextractor GUI, but a good GUI) should be able to give you the raw files....but I suggest doing it directly from the disc since MakeMKV does funky things to files.
jd213
20th July 2011, 00:49
Well I've used MakeMKV to extract it to the HDD in the .Mkv container. Can you demux that or should I be doing it directly from the HD-DVD.
I'll have to install AnyDVD-HD.
I believe DVDFab Passkey also works with HD DVDs now, and the free Lite version might as well.
asarian
13th September 2011, 19:21
Soneca, try demuxing your subtitle (.sup) file using tsMuxeR ...Im assuming you are using eac3to? It gave me same problem, so running through tsMuxeR fixed.
Not sure why though?
Yes, I can confirm this. Eac3to, whilst otherwise a great program, often totally messes up the timings of the SUP files; whereas tsMuxeR extracts them perfectly.
P.S. Does does prog ever gonna get updated? Or is the project dead?
Weirdo
24th September 2011, 08:33
Sorry if this has been answered before, but is there a way to batch convert multiple subtitles? It's a great tool, but when there are many subs to convert I think a lot of time could be saved.
cafevincent
5th October 2011, 13:14
I'm getting an error from the .sup files I extracted, it says they're not supported.
edit: specifically the error message is this: ERROR: File 'D:\Downloads\Remux\AMBRA EXPERIENCE\00009.track_4353.sup' is not a supported subtitle stream. There was 1 error
It outputs the same error for each file.
Nincs
24th November 2011, 20:11
>> Current version: 4.0.0 (14.12.2009)
>> http://www.sendspace.com/file/j3df4s
That download is corrupted. It is states: "File Size: 700.02KB". But the file is 484 KB.
mbcd
1st December 2011, 16:20
Could someone give me a hint please how I can perform a speedup from 23,976 to 24.000 on CLI?
I speeded up video from 23,976p to 24p and also audio. That works fine. But I didnt get subtitles synced to 24p.
I always tried: fps:23.976,24.000 but they are still unsync (a little bit too slow on screen)
I got them synced in idx/sub, but NOT in sup ...
Superb
1st December 2011, 16:24
>> Current version: 4.0.0 (14.12.2009)
>> http://www.sendspace.com/file/j3df4s
That download is corrupted. It is states: "File Size: 700.02KB". But the file is 484 KB.Mirrors from local copy:
http://www.sendspace.com/file/e1dfg0
http://www.megaupload.com/?d=M7502ARA
scrolling
6th December 2011, 18:12
I'm trying to get this program to work however I'm failing missable. I'm sure it I'm doing something wrong. I have down loaded Java RUNTIME 6 (http://www.java.com/en/download/manual.jsp?locale=en) and installing on a Windows XP system. Everything seems to go smoothly accept when I start up BDSUP2SUB a CMD window appears than goes a way. Any help would be greatly appreciated.
DoctorM
6th December 2011, 19:08
Could someone give me a hint please how I can perform a speedup from 23,976 to 24.000 on CLI?
I speeded up video from 23,976p to 24p and also audio. That works fine. But I didnt get subtitles synced to 24p.
I always tried: fps:23.976,24.000 but they are still unsync (a little bit too slow on screen)
I got them synced in idx/sub, but NOT in sup ...
I'm assuming you're using Settings/Conversion Settings, checking "Change Frame Rate" setting the source to 23.976 and the target to 24.
If that's still giving you slightly slow try setting the source to 23.975.
@scrolling: Um, you got me. Usually I'm the one that gets weird problems no-one else does.
mbcd
8th December 2011, 12:57
There are still many bugs using Frameratecconversion, that why I never got a strait result.
Problem is you get different results using CLI and GUI ... :scared:
For speedup from 23.97 to 24.0 you dont need to do anything, timecodes are still in 24.0, but I dont understand how they are sohwed correctly in 23.97 mode. Does the Player skip every "1001"- Subtitleframe ? Timecodes are the same for 23.97 and 24.0.
I dont understand how its been recognized correctly by the player.
LeXXuz
19th December 2011, 13:01
Hey guys,
I could use some help with these subtitles:
http://img6.imagebanana.com/img/rqc7qrsu/thumb/tr2_1.png (http://www.imagebanana.com/view/rqc7qrsu/tr2_1.png)http://img6.imagebanana.com/img/9d32x2ry/thumb/tr2_2.png (http://www.imagebanana.com/view/9d32x2ry/tr2_2.png)
It's from the German Tomb Raider 2 Blu-ray, with narrative subtitles in the usual white colour scheme, and a couple of embedded forced subs in bronze colour (see pics).
I already removed the forced subs to use them as a standalone track as vobsubs, but I can't manage to get the colours right.
I played around with the DVD colour palettes, but it didn't work at all, because outline and text seems to be converted to the same colour which should not happen.
Any ideas how to solve this?
nurbs
19th December 2011, 15:56
IIRC vobsubs support a maximum of 4 colors and one of them is for the transparent area, so you simply don't have enough colors to properly convert the Blu Ray sups.
mjuhasz
6th January 2012, 21:12
BDSup2Sub development seems to be discontinued and my attempt to contact the original author failed.
I have worked on the project to fix a few issues and today I made a small bugfix release.
Download link (https://github.com/downloads/mjuhasz/BDSup2Sub/BDSup2Sub.jar)
BDSup2Sub github page (https://github.com/mjuhasz/BDSup2Sub) (for developers):
Changes 4.0.0 -> 4.0.1:
Fixed: Flashing subtitles - if the end time of the current subtitle picture is beyond the start time of the next one the subtitle was set to zero length.
Fixed: Resolution incorrectly read from the dvd ifo file in cases other than 720x576/720x480 16:9.
Fixed: Incorrect (too short) subtitle duration for dvd subtitle frames using subtitle effects
neuron2
6th January 2012, 21:30
@mjuhasz
Welcome to the forum and thanks for your contribution.
HeartWare2
7th January 2012, 09:18
Could this program be updated to allow conversion into 3D SBS- and TAB-compatible subtitles (ie. a squashing of the subtitles to half size (half width for SBS and half height for TAB), and then duplicating the subtitle on the other part of the picture at the same position)? That would allow me to keep subtitles on my converted 3D movies and play them back on my PopCorn Hour C-200.
Or does someone know of any program that can do this?
Chetwood
7th January 2012, 12:15
Nice job!
kristian65
29th January 2012, 11:53
Hello i have a small question i need help with
I wanted to have forced subs on a BD so i forced all on the title BUT i didnt check any other boxes then i saved it as BD
After i open it again then i see the frame rate was set to 25 not 23.97 as its on the original????
Ghitulescu
30th January 2012, 14:00
What is "Index 0 is out of bounds"?
Whogie
4th February 2012, 00:33
May I make a feature request: A 720p- (960x720) "Convert resolution" option in conversion settings (or maybe a custom resolution option).
It would seriously relieve a headache I'm encountering with something I'm trying to rip and downsample. Thank you.
Edit:
BDSup2Sub development seems to be discontinued and my attempt to contact the original author failed.
Oh. Damn.
Selur
4th February 2012, 05:38
btw.: does any one have a checked out version of the source code? (the clone option over at http://www.javaforge.com/repository/2997/files seems to be disabled)
okay, overlooked the move to github
eTiMaGo
11th February 2012, 10:18
What is "Index 0 is out of bounds"?
Having the same problem here, trying to put some DVD subtitles into a Blu-ray, but I just can't open them in BDSup2Sub (not to mention MultiAVCHD takes a crap when trying to remux)
Funnily enough this only seems to happen with subtitles in Thai, I tried with English ones off the same disc, no problems.
I tried all manners of other Sub editing/viewing softwares to re-export, hoping this software could read it, but to no avail :(
Here is an example if anyone wants to give it a go:
http://dl.dropbox.com/u/1600280/thai.sup
mjuhasz
11th February 2012, 21:31
You're missing the ifo file. Just copy it from the dvd and load that one instead of the sup.
The HD-DVD-SUP and the DVD-SUP format share the same header and BDSup2Sub needs a way to decide in which format the sup file should be interpreted. Currently it works as follows:
- if there is an ifo file with the same name as the sup (foo.ifo, foo.sup) AND you load the ifo file then BDSup2SUB will interpret the sup as DVD-SUP format and take some additional info (resolution, color-palette, etc.) from the ifo since it's not part of the sup file.
- if you load the sup then by default it is interpreted as HD-DVD-SUP
You tried to load a dvd sup file as a hd-dvd one hence the error message.
I am working on cleaning up the code and creating tests in order to make it easier to fix bugs, make improvements or even add new features. This is a tedious task and my free time is limited but eventually I'll get there.
I have added an improvement issue to github so that we can track the progress: https://github.com/mjuhasz/BDSup2Sub/issues/4
Having the same problem here, trying to put some DVD subtitles into a Blu-ray, but I just can't open them in BDSup2Sub (not to mention MultiAVCHD takes a crap when trying to remux)
Funnily enough this only seems to happen with subtitles in Thai, I tried with English ones off the same disc, no problems.
I tried all manners of other Sub editing/viewing softwares to re-export, hoping this software could read it, but to no avail :(
Here is an example if anyone wants to give it a go:
http://dl.dropbox.com/u/1600280/thai.sup
Chetwood
12th February 2012, 08:32
Cool. Maybe you could add the option to switch between streams?
eTiMaGo
12th February 2012, 11:10
You're missing the ifo file. Just copy it from the dvd and load that one instead of the sup.
The HD-DVD-SUP and the DVD-SUP format share the same header and BDSup2Sub needs a way to decide in which format the sup file should be interpreted. Currently it works as follows:
- if there is an ifo file with the same name as the sup (foo.ifo, foo.sup) AND you load the ifo file then BDSup2SUB will interpret the sup as DVD-SUP format and take some additional info (resolution, color-palette, etc.) from the ifo since it's not part of the sup file.
- if you load the sup then by default it is interpreted as HD-DVD-SUP
You tried to load a dvd sup file as a hd-dvd one hence the error message.
Thanks!!!!! I guess I misunderstood and thought it worked like with BD subs, only the .sup is required. doh!
Pawpcorn
7th March 2012, 13:57
Am I the only one receiving this message???
C:\Users\Gerald>java -jar BDSup2Sub.jar
Invalid or corrupt jarfile BDSup2Sub.jar
I installed the JRE version 6 - 31... and I get this message when trying to open the BDSup2Sub.jar file!
I'm running Windows 7... all legit.
Same thing happened with JRE version 7....
I hope someone can help me, because I desperately need the functions this program delivers. Thanks!!
jmonier
7th March 2012, 14:55
There have been problems generally with 6 - 31. The solution is to make sure that any service using Java (such as SageTV) is stopped and then to uninstall and reinstall that version. The same may be true of version 7 but I have not tried it.
Note that letting the Java install stop Java programs has worked fine with previous versions but it does not work right with 6 -31 (at least for those that run as a service) so it's best to close ALL Java programs and services prior to doing the upgrade.
And, although I don't use BDSup2Sub anymore (since vsfilter now supports sup and pgs), I just tried it and it worked fine with 6 - 31.
r0lZ
27th March 2012, 13:15
Am I the only one receiving this message???
C:\Users\Gerald>java -jar BDSup2Sub.jar
Invalid or corrupt jarfile BDSup2Sub.jar
I have the same problem, but only with BDSup2Sub v4.0.0. The older versions work fine.
What's wrong with v4? Does it require a specific version of the Java runtime?
mjuhasz
1st April 2012, 12:08
BDSup2Sub does not require any specific version of the Java runtime. Java 6 should be fine.
As for other versions, Java 5 is End-Of-Life hence unsupported, and Java 7 is not tested with version 4. There is ongoing development on github (https://github.com/mjuhasz/BDSup2Sub) and for the next release testing is planned on the Oracle JRE and OpenJDK, version 6 and 7, on platform Linux, Mac OSx and Windows. No timeline though.
At the moment I don't have access to a Windows 7 machine to reproduce the issue. I tried on a Window 2008 Server with Oracle JRE 6 and it worked. I also tried to run BDSup2Sub on Linux on the Oracle JRE 6, OpenJDK 6 and Oracle JRE 7 and they all worked. I will try to find a Windows 7 host to reproduce the issue.
laserfan
1st April 2012, 16:15
I don't understand the invocation used. I just launch BDSup2Sub.jar and it works, but if I try Pawpcorn's line it looks like this:
C:\Program Files (x86)\BDSup2Sub>java -jar BDSup2Sub.jar
'java' is not recognized as an internal or external command,
operable program or batch file.
Atak_Snajpera
2nd April 2012, 19:09
you have to specify full path to java.exe
C:/... /java.exe -jar ...
Rectal Prolapse
5th April 2012, 01:50
mjuhasz, any plans to fix the rendering bugs with regards to multiple region subtitles? (Please see my thread for my C++ solution that could give you some ideas on approaching the problem - although I don't think I deal with PGS cropping properly but that issue will be saved for another day)
mbcd
5th April 2012, 10:40
Which thread did you mean ?
I wrote a parser by myself last months, but I coudnt sold problem with multiregion in BDN/XML because I didnt found an example. So I stopped developing for a while and started another project until I found a solution for it.
You got one ?
mjuhasz
5th April 2012, 17:58
mjuhasz, any plans to fix the rendering bugs with regards to multiple region subtitles? (Please see my thread for my C++ solution that could give you some ideas on approaching the problem - although I don't think I deal with PGS cropping properly but that issue will be saved for another day)
I checked your thread but the download links are unavailable. Can you upload it and share it with me? A sample file would also be handy. I will create an issue in the github tracker with referencing your work then.
I am in the middle of doing code cleanup and refactoring, adding unit tests, etc. Once the codebase is more solid I can look into multiple region subtitles.
Rectal Prolapse
5th April 2012, 23:23
mbcd: Oh, I was talking about the rendering of multiregion PGS in the PNG output - the code does not yet output the proper BDN/XML where a PNG for each region is generated and the BDN code references the different regions. I will have to review the BDN specification again to get this right!
mjuhasz, I will look into updating the links again.
Rectal Prolapse
5th April 2012, 23:36
Okay I updated the link to the source code in the first post of this thread:
http://forum.doom9.org/showthread.php?t=164370
(mbcd, you can check out the code there)
mbcd
6th April 2012, 07:22
Yes, sorry, was a little bit confused.
BDSup2Sub is not able to handle multiregion for BDN/XML right now. So I wondered about fixes.
We need a proper solution for BDN/XML, but hard to find.
Output of proper XML should be the next goal, it is confusing if programs are able to read multiregion but throwing them away on converting.
@ mjuhasz:
I always have big problems with converting framerates in BDSup2Sub, maybee you could check that code too. I`m not familiar enough with java or c++
Rectal Prolapse
7th April 2012, 06:46
Oh - I forgotten that I had this document - AFAIK it is a publicly available document from Sony, and I archived it here:
http://dl.dropbox.com/u/1156664/BDN-OFS-Formats.zip
I'll have to go over this and make the necessary changes for proper BDN support with multiple regions. At any rate, I hope you guys will find this usefull too!
Mr Magic
13th April 2012, 14:22
I have the same problem, but only with BDSup2Sub v4.0.0. The older versions work fine.
What's wrong with v4? Does it require a specific version of the Java runtime?
The download for 4.0.0 on Sendspace is corrupt. It says the file is 700 KB but you only get 484 KB.
Try the download from VideoHelp, it worked for me:
http://www.videohelp.com/download/BDSup2Sub400.jar
r0lZ
13th April 2012, 14:56
Thanks! :-)
rayyu882
14th April 2012, 22:10
Hi, I got the same "IndexOutOfBoundsException" error like the previous poster (http://forum.doom9.org/showpost.php?p=1450854&postcount=767) when I tried to convert the Avatar blu-ray Na'vi subtitles, but I couldn't find a solution. I tried 2 different computers and BDSup2Sub version 400 and 401, still no luck, is there any workaround? or other tool I could use to convert this so I can remuxing the mkv file for handbrake?
Any help would be greatly appreciated, Thank you so much!
sneaker_ger
14th April 2012, 22:40
Try loading with AviSynth's SupTitle() plug-in, then use avs2bdnxml to create bdn+xml and open that in BDSup2Sub.
bunklung
15th April 2012, 13:38
The download for 4.0.0 on Sendspace is corrupt. It says the file is 700 KB but you only get 484 KB.
Try the download from VideoHelp, it worked for me:
http://www.videohelp.com/download/BDSup2Sub400.jar
Same thing here. I was using an older version, until I found 4.0.0 inside of Clown_BD
Maybe OP can fix the corrupted file?
mjuhasz
16th April 2012, 06:30
I got the same "IndexOutOfBoundsException" error like the previous poster
If you share the file with me then I will check the issue.
The download for 4.0.0 on Sendspace is corrupt. It says the file is 700 KB but you only get 484 KB.
You can get the latest BDSup2Sub v4.0.1 from here (https://github.com/downloads/mjuhasz/BDSup2Sub/BDSup2Sub.jar):
You can read about the changes here (http://sw-planet.blogspot.com/search/label/Open%20Source).
shroomM
18th April 2012, 07:30
Seeing as the mjuhasz is active here, I'm posting this here as well. Just in case the GitHub issues section is not monitored :)
It's an issue with loading specific SUP files.
Link to the GitHub issue:
https://github.com/mjuhasz/BDSup2Sub/issues/5
Sorry for the cross linking.
mjuhasz
18th April 2012, 19:47
Seeing as the mjuhasz is active here, I'm posting this here as well. Just in case the GitHub issues section is not monitored :)
It's an issue with loading specific SUP files.
Link to the GitHub issue:
https://github.com/mjuhasz/BDSup2Sub/issues/5
Sorry for the cross linking.
I received the automatic email from GitHub. Thank you for creating the issue and sharing the sample file.
I had a brief look and indeed, it's a format BDSup2Sub is not prepared for. I will try to fix it in the next minor release.
Cheers,
Miki
Atak_Snajpera
30th April 2012, 13:34
error message after loading dvd subtitles
http://i.imgur.com/Ipbtv.png
subtitles -> http://www.mediafire.com/?xg9oulfvj9eacpf
this only happens if X is larger than 15.
# Language index in use
langidx: X
Pawpcorn
8th May 2012, 18:58
Am I the only one receiving this message IN THE "JAVA VIRTUAL MACHINE LAUNCHER" box ???
C:\Users\Gerald>java -jar BDSup2Sub.jar
Invalid or corrupt jarfile C:\Users\Gerald\Downloads\BDSup2Sub.jar
I installed the JRE version 6 - 31... and I get this message when trying to open the BDSup2Sub.jar file!
I'm running Windows 7... all legit.
Same thing happened with JRE version 7....
just discovered that I must have downloaded a corrupt version!!!! NEW 4.00 or 4.01 versions, just downloaded, work fine!!! Thanks guys!!!
4.00 or 4.01 versions Not work with JRE version 7 and not render correct some parts of subtitle some line have a black background
I need to move all subpics to the left or to the right by a certain offset. In other words, I need to add or subtract a few pixels to the current X position of the subpic. (I know that it is possible to move the subpics to the left or right border and then apply an offset, but that's not what I need.)
I need this because I would like to write a GUI to convert a BD 3D to a side-by-side or top/bottom video file. The GUI will use BDSup2Sub, AviSynth and VSFilter's VobSub() function to hardcode the subtitle on the video. It is important to be able to show the subtitles with a 3D depth effect, so that they appear on top of the objects moving out of the screen. To archive that effect, it is sufficient to move the subtitle of the left eye view by some pixels to the right, and the subtitle of the right eye view to the left, but unfortunately, there is no way to tell VobSub to shift the subtitles a little bit.
I have already found a solution by cropping a bit the video before applying the subtitle and then restoring the cropped part, but this has also the effect to shrink the subtitles in X (as the width of the video is less than its original width and VobSub compensates automatically), and that method slows down the Avisynth script rendering.
0xdeadbeef, can you add an option to apply the X (and Y) offsets to the current subtitle position? (Of course, I need that option available from the command line.)
SassBot
24th May 2012, 15:57
For anyone interested, I've been spending the last few days porting deadbeef's last version of BDSup2Sub to C++/Qt. At this point it's maybe 25% done. Source code is here. (https://github.com/amichaelt/BDSup2SubPlusPlus)
Pawpcorn
24th May 2012, 16:43
Well, I would certainly want to wish you god luck on this project! I use BDSup2Sub every week to resolve a 1080p subtitle into PAL DVD 720 x 576 format, and adjust VOB subtitle sizes and positioning.
If you could also figure out how to show which color blocks ("color 1", "color 3" for example) were assigned to the Character, Outline, and Background... And give us the ability to reassign it, that would be fantastic.
Every week I create a DVD movie for my Thai students, with dual subtitles... And often the color block assignments are in conflict (such as the same color block being used for Character on one subtitle, and Outline, on the other).
This kind of color block cross asignment cannot be fixed in PgcEdit, but thoretically can be fixed using SubtitleCreator.
The problem THERE is that development on SC ended in 2008, and (using Windows7 and Thai VOB (idx/sub) subtitles in) SC often trashes some of the graphic subtitles.
Subtitle creator also crashes if fed a 1080p subtitle.
Anyway... Good Luck!!!! BDSup2Sub is an invaluable tool, and if you could duplicate its functions (and maybe add a couple new features such as I suggested above) I'm sure you would have many grateful users!
Take care,
Pawpcorn
SassBot
24th May 2012, 16:59
Yeah, it's going well. Most of the code can be copy-and-pasted over. Most of the hard translation, such as the internal bitmap class to using Qt's QImage class is already done. And yeah, once I get it feature-matching I can look into extending. I'm hoping to be done mid next week unless I hit snags. Right now, DVD idx/sub and ifo/sup decoding is done. Working on getting BD and HDDVD docoding done today along with as much output code as I can as well.
Right now, the code is a little messy due to lots of copy-and-paste and stubbing so the organization will be in flux for a while.
This kind of color block cross asignment cannot be fixed in PgcEdit, but thoretically can be fixed using SubtitleCreator.
You can also fix them on the final DVD with DVDSubEdit.
@SassBot: I wish you good luck too! I hate java apps (although I must agree that BDSup2Sub is a good and useful app!)
And I add my suggestion. ;-)
Could you consider to add the possibility to shift the subtitles in X or Y by a certain amount of pixels? (See my request here (http://forum.doom9.org/showthread.php?p=1574490#post1574490).)
SassBot
24th May 2012, 17:05
Yeah, I saw that. File it as a feature request on the github page. Anyone else do the same.
Thanks. BTW, your link above is broken. This one is OK: https://github.com/amichaelt/BDSup2SubPlusPlus
SassBot
24th May 2012, 17:15
Yeah, I noticed that then fixed the post.
Pawpcorn
25th May 2012, 04:18
You can also fix them on the final DVD with DVDSubEdit.
@r0lZ, thanks for the suggestion! I gave DVDSubEdit a try, and it worked perfectly, without corrupting the Thai subtitles, the way SubtitleCreator had done.
Thanks!:thanks:
Pawpcorn
Chetwood
25th May 2012, 06:24
Just so it doesn't get missed: when extenting features please allow it to open VobSubs containing several languages. Thx.
Pawpcorn
25th May 2012, 06:33
Just so it doesn't get missed: when extenting features please allow it to open VobSubs containing several languages. Thx.
I'll second that request.... Thai seems to be a particularly difficult language to display and/or resolve....
Let me know if you need a Thai subtitle. :)
Take care,
Pawpcorn
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.