View Full Version : Announcing DVDSubEdit Version 1.51
jeanl
14th December 2005, 19:51
Announcing DVDSubEdit:
Beta 0.62 of DVDSubEdit can be found here (http://www.videohelp.com/~DVDSubEdit/)...
(Now Version 1.51)
http://img245.imageshack.us/img245/9374/09292006094952ld7.png (http://imageshack.us)
(this image represents version 1.34)
DVDSubEdit allows you to visualize and make modifications to the subpics (subtitles or button highlights in menus) directly inside the VOB files, without the need to demux and remux the subpic stream.
DVDSubEdit has the following features:
Drag/drop one or several vob files, the analysis is done in the background. You can start looking at the SPUs right away.
Displays the subpics along with the background video, reading the Color Lookup Table from the IFO.
You can move the subpicture up and down and see the result right away.
You can select subpictures by stream ID (language) or by Vob/Cell IDs and only move the selected subpictures.
When you're satisfied with what you see, simply click "Save all changes". Saving takes a few seconds, and you can test your modification in your favorite software player.
As usual, feedback is welcome on this thread!
jeanl
DVDSubEdit Beta .62
- The application is now called DVDSubEdit (I slightly altered ricardo.santos' suggestion here!).
- The subpic language is displayed in the stream selectiong drop-down. The display can change as you go through the SPUs as they might be referenced by different PGCs with different stream setups.
- When opening a "middle" vob in a vts (e.g. VTS_01_2.VOB), the first subpic was often displayed the wrong way (not CLUT
and no background video) because no navpack had been found prior to the subpic pack. DVDSubEdit now skips
the first subpic pack if no navpack can be found before it.
- Tried to improve (but didn't succeed entirely) the display of the first subpic (flickering etc).
setarip_old
14th December 2005, 20:38
Congratulations on what looks like an equisitely designed and very useful tool!
jeanl
14th December 2005, 20:46
Thanks starip_old! I don't know about exquisitely designed (the UI is still missing a face lift!), but I feel the app is fairly robust at this point.
Now, I just have to add a few features that people on this forum have asked for... Moving subpics toward the center (rather than up/down), etc etc etc...
jeanl
Zeul
14th December 2005, 22:12
:eek:
This is awesome - I especially love the DCQST command list. I believe this is the first tool that actually shows the make up of the sub packet commands.
:eek:
I don't seem to be able to alter the transparency level though.
bigotti5
14th December 2005, 23:00
Great tool
Missing on the "Not yet implemented" list:
change the STA_DSP command to FSTA_DSP and vice versa (non forced to forced)
Rockas
14th December 2005, 23:01
One word: FABULASTIC!!!
jeanl
14th December 2005, 23:09
:eek:
This is awesome - I especially love the DCQST command list. I believe this is the first tool that actually shows the make up of the sub packet commands.
:eek:
I don't seem to be able to alter the transparency level though.
Yes, I believe this is the first tool that lets you look at these commands (I'm quite used to reading them straight from vobedit though!), not extremely useful, except for understanding how all this works.
And no, you can't change the transparency yet. This will be easy to do though, but will require 4 sliders (you have to be able to change it for each type of pixel...).
jeanl
jeanl
14th December 2005, 23:10
Great tool
Missing on the "Not yet implemented" list:
change the STA_DSP command to FSTA_DSP and vice versa (non forced to forced)
oh yes, I forgot! Thanks for reminding me. Tell me why you'd need that feature though?
(I do remember a DVD where the subpics were forced that way, not burned into the video, but forced by a FSTA_DSP, and the user had no way to turn them off, took me a while to understand why that was the case)...
jeanl
jeanl
14th December 2005, 23:11
One word: FABULASTIC!!!
Thanks! Thanks to all of you guys for your enthusiasm!
jeanl
jeanl
15th December 2005, 03:10
I've put an unofficial Beta 0.63 here (http://www.videohelp.com/~DVDSubEdit/Downloads/).
The transparency slider is now enabled so you can change the transparency of individual pixel types, or of all the pixels. DVDSubEdit is (somewhat) smart in that it attempts to detect which pixel type is actually used for the background and does not change its transparency when you select "all pixels". (that way, the background remains transparent no matter the transparency of the "useful" pixels).
This new feature allows you to "remove" subpics by making them transparent. You can also use the slider to visualize highlights in menus (which are normally transparent in their default state).
Let me know what you think...
Jeanl
blutach
15th December 2005, 03:52
Darn great work Jean.
Regards
Zeul
15th December 2005, 10:09
Seems to work like a charm :)
frank
15th December 2005, 10:54
Fantastic, Jean!
Hope we can integrate this tool into PgcEdit.
I'm working on a simple subtitle plugin for PgcEdit.
But its very usefull (and better) to integrate this feature in your program.
Feature request
- Set subpictures as forced in the Vobs. (and reverse)
Changing the start display command 01h into forced start display 00h in the DCSQT can do that.
There is much misunderstanding about forced subpictures in the world.
But real forced subtitles must have this start command 00h.
You also can manually set some subpictures of a stream as forced that can't be switched off.
This feature is used in LordOTR (PAL 2). If subpics are switched off then only the (forced) alien dialog from the german sub stream is displayed.
You don't need a separate stream for forced subs, you can force them in the current stream.
My dvd players (with Omega chip set) can continuously resize the picture. :D Very nice feature I'm missing in new devices. So I can enlarge 2.35 movie format to fill the 16:9 screen.
But if I use resizing then normal subpictures disappear (switched off). Only forced subpictures are staying on their place.
[edit]Huhh. bigotti5 had the same request.
Afrinux
15th December 2005, 12:06
Nice work, jeanl.
A very useful tool.
Is it an open source? Couldnt find the sources at the website.
jeanl
15th December 2005, 17:49
Fantastic, Jean!
Hope we can integrate this tool into PgcEdit.
difficult, there are language issues (and I'm not talking about french! :D))
Feature request
- Set subpictures as forced in the Vobs. (and reverse)
Changing the start display command 01h into forced start display 00h in the DCSQT can do that.
There is much misunderstanding about forced subpictures in the world.
But real forced subtitles must have this start command 00h.
You also can manually set some subpictures of a stream as forced that can't be switched off.
This feature is used in LordOTR (PAL 2). If subpics are switched off then only the (forced) alien dialog from the german sub stream is displayed.
You don't need a separate stream for forced subs, you can force them in the current stream.
My dvd players (with Omega chip set) can continuously resize the picture. :D Very nice feature I'm missing in new devices. So I can enlarge 2.35 movie format to fill the 16:9 screen.
But if I use resizing then normal subpictures disappear (switched off). Only forced subpictures are staying on their place.
[edit]Huhh. bigotti5 had the same request.
I completely agree with you about the misunderstanding. I too have seen much confusion about forced subtitles. Changing FSTA into STA and vice versa is the next thing I will implement. Compared to the rest, it's pretty easy!
jeanl
jeanl
15th December 2005, 17:50
Nice work, jeanl.
A very useful tool.
Is it an open source? Couldnt find the sources at the website.
It's not "open source" per se, but I will make the source code available. Are you interested in a particular aspect of it?
jeanl
frank
15th December 2005, 18:24
Changing FSTA into STA and vice versa is the next thing I will implement.Yeahh! :D :D
A clever french man made the reverse engineering of the commands in 2001.
DVD subtitles (http://sam.zoy.org/writings/dvd/subtitles/)
The only link I found!
jeanl
15th December 2005, 18:56
Now we have mpucoder's explanations which are quite a bit more detailed:
http://www.mpucoder.com/guides/subpic2.html
I believe this is available to anybody (don't have to register)...
jeanl
mpucoder
15th December 2005, 19:08
Jean, if you have the demo DVD for DVD Demystified please try vts_14_1.vob
DVDSubEdit is crashing on this vob, which is, admittedly, a torture test. This is the demo of subpicture effects - fade, wipe, and scroll - these use a lot of commands, including 07 - CHG_COLCON (which is why I tried it). I've tried to edit the vob down to the part that causes the crash just in case you do not have a copy of the disk, but it looks like the smallest I can get it to is 11MB. Let me know if you need that part and can receive it somewhere.
spyhawk
15th December 2005, 19:23
Now we have mpucoder's explanations which are quite a bit more detailed:
http://www.mpucoder.com/guides/subpic2.html
I believe this is available to anybody (don't have to register)...
jeanlNope, you have to register to view it.
jeanl
15th December 2005, 19:29
Jean, if you have the demo DVD for DVD Demystified please try vts_14_1.vob
DVDSubEdit is crashing on this vob, which is, admittedly, a torture test. This is the demo of subpicture effects - fade, wipe, and scroll - these use a lot of commands, including 07 - CHG_COLCON (which is why I tried it). I've tried to edit the vob down to the part that causes the crash just in case you do not have a copy of the disk, but it looks like the smallest I can get it to is 11MB. Let me know if you need that part and can receive it somewhere.
mpucoder, I was waiting for someone to do just what you did!!!!
Currently DVDSubEdit does not parse the 07 command, and I'm not sure how it behaves when it finds it (poorly, apparently!!!!). I was expecting the day somebody would run into that!
I don't have that DVD, it would be great if you could send me a tiny portion of that VOB (if it's OK to do that) so I can see what exactly is causing the crash. I've only tested DVDSubEdit with "standard" vobs (from commercial DVDs) which, I'm sure, do not exercize the entire specs, far from it...
The crash could be caused by too many DCSQTs or whatever, but I'd have to take a look to find out!
Let me know if that's OK!!
jeanl
jeanl
15th December 2005, 19:29
Nope, you have to register to view it.
mpucoder, any chance you might relax your policy on that front?
jeanl
jeanl
15th December 2005, 21:10
mpucoder, I got your example, and indeed, the crash is related to the fact that there are a large number of DCSQTs for these subpics, and DVDSubEdit only has room for 4 currently (and does not check if there's more - bad boy jeanl!).
I'll fix that soon! Then we'll find out what happens when you have 07 commands!
Jeanl
jeanl
15th December 2005, 21:54
OK I put a cleaned up (temporary) version here
http://www.videohelp.com/~DVDSubEdit/Downloads/
which will load the right number of DCSQTs. mpucoder, you can try it on the rest of the file, but I'm sure it will complain about the 07 command!
jeanl
influenza
16th December 2005, 08:42
Looks very nice.
Would it be possible to import subs for an entire pgc for example? That would make a lot of fansubbers very happy :)
CoNS
16th December 2005, 11:27
Would it be possible to import subs for an entire pgc for example?AFAIK this is not possible. You must demux the PGC and mux it back together with your new subtitle stream.
However, AFAIK it may be possible to replace a single subpic with a new one, depending on the sizes of the two subpics. Maybe that would be useful when you have custom made subtitles with spelling and translation mistakes etc. that you want to fix in a few of the existing subpic?
(in theori, this way you could replace all subpics in a stream, one by one, and this achieving your goal. However, as you cannot do much about the timings of the subpics inside the vob files, it would require your new subtitles to consist of exactly the same number of bitmap images, with the same start and end times)
influenza
16th December 2005, 11:37
I'm not interested in replacing subs myself and if I would be I would author them in. It's just that there are always a lot of question on this subject and mostly by people that do not know the word authoring ;) So a bit of self interest here :)
zacoz
16th December 2005, 12:46
As usual, feedback is welcome on this thread!
Another excellent addition to the toolkit. :thanks:
jeanl
16th December 2005, 17:44
@influenza and CoNS, I'm very scared of the remuxing idea, even just to change the delay. I'm thinking about doing that in DVDSubEdit, but it's a risky proposition, lots of things can go wrong if you don't remux correctly, it took me a while to get it "right" in menushrink (and I'm not sure it's that right!).
But eventually, I'll look into it.
@zacoz, thanks man!
Jeanl
jeanl
16th December 2005, 18:54
People, here's a new, unofficial beta (beta 0.67) of DVDSubEdit.
http://www.videohelp.com/~DVDSubEdit/Downloads/
The main new feature is the support for STA and FSTA changes to force subtitles or unforce them.
- The video background now shows button rectangles it there are any.
- DVDSubEdit now can change STA to FSTA and vice versa.
- The transparency was not respected when the CLUT couldn't be found. This has been fixed.
- DVDSubEdit should not crash when CHG_COLCON commands are found (it simply won't parse it and stop parsing the DCSQTs).
NOTE: BE CAREFUL! The way DVDSubEdit now works, if you apply the modifications to all subtitles, everything gets changed: the transparency is changed according to the slider, the subtitles are moved according to the slider, and all STA/FSTA commands are changed according to the selector.
Of course, this will be changed in the future. I'm still thinking about the best way to present that to the user.
jeanl
Afrinux
17th December 2005, 09:03
It's not "open source" per se, but I will make the source code available. Are you interested in a particular aspect of it?
jeanl
Yeah! I believe this tool can be very handy to make some karoake DVDs.
promitheas
17th December 2005, 12:00
It's been years we needed such a tool!
Very promessing for translating subpictures into movies.
Do you think it'd ever be possible to substitute a subpicture or a sequence of subpictures by another?
Thanks!
Promitheas
jeanl
17th December 2005, 18:21
Well, I'm not sure DVDSubEdit can really be useful to replace subs at this point. See the posts above. Replacing is possible if the subpic data has about the same size as the original. But if you're replacing an entire stream with another (changing the language for example) I believe demuxing remuxing is the way to go.
THe same applies for karaoke. I'm not sure how you could use DVDSubEdit for that. It can't insert subs, it only modifies the ones that are already there... And only some aspects of them...
jeanl
bigotti5
17th December 2005, 19:38
Transparency does not work for me
I can drag the slider - preview and values changes fine but after saving and reloading b,p,e1 and e2 have the old values
same on a player
(Ver0.67 and 0.64)
jeanl
17th December 2005, 19:43
ooops! You're right! Sorry about that, silly bug. I'll fix an post an update!
jeanl
jeanl
17th December 2005, 20:13
New version beta 0.68
http://www.videohelp.com/~DVDSubEdit/Downloads/
Which fixes the transparency problem (promised!).
jeanl
bigotti5
18th December 2005, 04:28
Which fixes the transparency problem (promised!).
Works as promised :D
jeanl
18th December 2005, 05:05
Good! :)
jeanl
Afrinux
18th December 2005, 11:29
THe same applies for karaoke. I'm not sure how you could use DVDSubEdit for that. It can't insert subs, it only modifies the ones that are already there... And only some aspects of them...
jeanl
Thats the reason why I asked for the source codes earlier. I wanted to add the Karaoke feature in this tool.
jeanl
18th December 2005, 18:11
But to add subpics, you need much much more than my source code! You need to write rle encoding, but the most challenging part is you need to do the tricky muxing...
jeanl
Karyudo
18th December 2005, 19:54
Hey, jeanl:
While I don't need your tool right at the moment, I'm having fun following along with the discussion of what it can do. Thanks for making this useful tool!
Doom9 is currently linking to your thread from the news page on the main site, dumping people to the first post. For that reason, perhaps you could continue to edit your first post to make sure the most up-to-date beta turns up there? That way anyone finding your thread for the first time gets the best version without having to search through a few more pages. Just a suggestion to maybe help avoid you having to post, "You need the updated version," in answer to "How come xxx doesn't work???" questions...
jeanl
18th December 2005, 20:01
Karyudo, thanks for the good words... Yes, every time I come up with a new "official" beta release, I update the first post to reflect that. The minor updates above are simply for the people who are following the threads, and can do quick tests to see if things work properly. I'll send a new update on monday, with the latest bug fixes...
jeanl
CoNS
20th December 2005, 21:57
Feature request: It would be nice to be able to automatically delete whole subpics, lines in subpics/parts of subpics with text for hearing impaired (wrapped in brackets, [ ]) and/or lyrics for music (wrapped in musical notes).
The reason for the request is this: I watch quite many imported region 1 DVDs, as movies are typically released much faster in America than in Scandinavia where I live. Since English is not my native language, I need to turn subtitles on in order to understand the entire dialogue.
English subtitles are fine for me, BUT on most region 1 DVDs the English subtitles are made for the deaf or hearing impaired, i.e. with lots of descriptions of background sounds etc., which I find very distracting not being a deaf or hearing impaired person.
So I'd like to be able to easily remove these parts, without having to demux/remux first (it takes too long and too much work) and without having to manually edit the bitmap subs (it would spoil the movie experience to go through the dialogue manually before watching the movie itself).
I realize that it would probably take some kind of OCR implementation (like in SubRip) or something like that for the program to recognize the unwanted parts, and thus you'll probably think it would be too much hassle to do, but please give it a thought anyway! :)
jeanl
20th December 2005, 22:02
CoNS, you crack me up! Check jsoto's message (http://forum.doom9.org/showthread.php?p=736374#post736374) in the original thread!!!
No, really, it's going to be hard to implement that. Even recognizing a braket will not be that easy without a decent OCR, but a musical note?! I'm not sure CoNS... If at least they were a different color, that would be easy!
jeanl
jeanl
20th December 2005, 22:32
Guys!
New version beta 0.69
http://www.videohelp.com/~DVDSubEdit/Downloads/
This makes it possible to apply only a subset of the changes that you made to the current SPU to the rest of the SPUs. I had to do that before adding new modifications.
- When clicking "Apply to all" a new dialog pops up where you can select which changes to apply to all subpics.
- Fixed a tiny bug that sometimes caused the transparency slider to move when moving the subpic all the way to the top.
I will make an official beta release very soon (today or tomorrow)...
jeanl
jeanl
21st December 2005, 00:56
Announcing DVDSubEdit:
Beta 0.69 of DVDSubEdit is now available here (http://www.videohelp.com/~DVDSubEdit/)...
Here's the change log from beta 0.62
DVDSubEdit can change normal start commands (STA) to forced start (FSTA) and vice versa. This enables you to turn regular subtitles into forced ones (always on, as soon as the stream is selected), or forced ones into regular ones.
DVDSubEdit can change the transparency. Selecting "All" pixels applies the selected transparency amount to all pixels except for the pixels that are used for the background.
When clicking "Apply to all" a new dialog pops up where you can select which changes to apply to all subpics.
The subtitle duration is now correct when there's more than 2 DCSQTs (sets of commands).
The video background now shows button rectangles it there are any buttons defined in the navpacks preceding the subpic packs..
DVDSubEdit no longer crashes when CHG_COLCON commands are found (it simply stops parsing the commands). CHG_COLCON commands are very rare (haven't seen one yet).
There's a help file embedded into the app. It's empty at this point.
Switched to using STL vectors in the CSubpic and CSubPicEngine class. This allows me to deal with SPUs with very large numbers
of command sets.
The transparency was ignored when the CLUT couldn't be found. This has been fixed.
There sometimes (rarely) were crashes while loading. These have been fixed.
As usual, feedback is welcome on this thread!
jeanl
jsoto
21st December 2005, 01:05
CoNS, you crack me up! Check jsoto's message (http://forum.doom9.org/showthread.php?p=736374#post736374) in the original thread!!!
Ooh, so finally I need to learn Klingon... :(
Many thanks for your tool, jeanl. I'm really impressed.
jsoto
jeanl
21st December 2005, 01:08
Thanks jsoto, my feeling is that this is waaaaay easier to code than menushrink ever was! As long as you don't do anything too stupid, you can be almost sure you won't break anything and your DVD will still work... No need for endless tests (mostly done by blutach and r0lZ!!!! on various finicky players!).
jeanl
goonix
21st December 2005, 01:54
@Jeanl
Thanks for the valuable tool!
Only a short question.
If I examine the subpic of a menu with "Ignore CLUT" checked, I get following colors:
Original DVDSubEdit
b red black
p black white
e1 blue green
e2 white blueWhat is the reason to display it in different colors?
goonix
jeanl
21st December 2005, 01:59
Well, if you ignore the PGC CLUT, then there's no chance that the colors I picked (arbitrarily, black white green and blue) will match the colors that were used in the PGC and in the colorscheme, right?
If you click "ignore CLUT", instead of using the colors defined in the CLUT of the pgc that references that part of the video, you use arbitrary colors (chosen - poorly! - by me and hard-coded into DVDSubEdit).
Does that answer your question?
If you want to see the original colors in a menu, don't click ignore CLUT and move the transparency slider all the way to the right. You will get the "default" colors of the pixels, but they might be very different from the ones used when buttons are selected or activated (that's defined in the colorscheme, in the navpacks, and DVDSubEdit does not implement that yet)...
jeanl
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.