View Full Version : Announcing DVDSubEdit Version 1.51
CoNS
2nd March 2007, 20:11
Yes, among other situations. You can read more about removal of hearing impaired text in this guide:
How to remove text for hearing impaired in DVD subtitles (http://www.videohelp.com/~DVDSubEdit/Guides/HearingImpaired/guide.htm)
DVDSubEdit has some very neat and advanced functions for this. I use them a lot on region 1 DVDs. Unfortunately, there a bunch of minor bugs or ommissions in the routines, which I hope jeanl will find the time to address at some point...
jeanl
3rd March 2007, 01:28
CoNS, do you have a list of the remaining problems when we stopped working on that? (I'm sure you do!!! :) )
Jeanl
CoNS
3rd March 2007, 07:49
Actually I don't. What I do have is some notes and examples of issues with recent DVDs I have edited. I'll send it to you by email for you to have a look.
CoNS, I know that guide and how to remove that subtitles. But in my example are 2 different situations:
1.
JOHN: Hello!
MARY: Hello!
2.
JOHN: I'm leaving you.
Good bye!
If DVDSubEdit will remove "JOHN:" and "MARY:" we have a problem: we'll lose the dialogs and will have:
Hello!
Hello!
Which is not correct. Correct is:
- Hello!
- Hello!
In the second example is no problem.
With the actual features of DVDSubEdit, if I have this example:
JOHN: - Hello!
MARY: - Hello!
I'm removing manual (searching for ":").
enjoy,
Mtz
PS: I hope Mary is not upset because John is leaving her, but I didn't have another idea. :D
jeanl
5th March 2007, 18:10
Mary's very upset!
These are difficult problems to fix though... Remember that DVDSubEdit cannot add any character, just remove! So I can't add a "-"....
Also, if you run into systematic OCR errors, you should send me the SUP file, and I'll take a look. It's usually quite difficult to fine tune GOCR to do the right thing (and preserve its performance on other subtitles!), but sometimes it's possible...
jeanl
I don't have problems with OCR, because I don't use it too much. My problem is old (and I think you remember it): when moving the subtitles, some lines with some special characters are not moved at the same position.
enjoy,
Mtz
jeanl
6th March 2007, 17:51
Yes, I do remember that. and it's not a very easy problem to solve :( the kind of problem where if you solve it in one case, it breaks in another, and it's hard to find just the right balance...
Jeanl
jeanl
7th March 2007, 05:22
Hey guys,
Here's a beta for you to test. There isn't that much new, but I've added the code that adds or removes a DCSQT. This will allow adding fade in/outs in the future, but for now, it allows you to turn an infinite subpic (i.e., one that does not have a second DCSQT with a stop command) into a finite duration subpic (simply by adding a DCSQT with a stop command). It also allows removing the last DCSQT (if it has a stop command) to turn the subpic into an infinite duration one.
To use:
- If your subpic does not have a stop command, the duration slider is disabled. But if you click on it, you're given the option to add a DCSQT with a stop command to allow adjusting the duration.
- Click the tiny button next to the slider to turn your subpic into an infinite one.
Give it a shot and let me know. You can't apply that to all or to another subpic (you have to do them all one by one). If it works (it does for me) and is useful, I'll add the option to the "apply to all" dialog.
Jeanl
Find it here:
http://download.videohelp.com/DVDSubEdit/Downloads/DVDSubEdit1.381.zip
kumi
7th March 2007, 06:08
Thanks jeanl, this is a welcome addition indeed!
This changelog reminded me of a problem I noticed earlier, but forgot to report...
I have a DVD with a subtitle track that has a subpic with a duration of 470 seconds. Obviously I'd like to fix that, but DVDSubEdit doesn't let me adjust the duration slider. It just sits there, stuck on one of the extremes (left or right, I can't remember which.) Bug?
jeanl
7th March 2007, 08:34
Kumi, is that with the old or the new version?
Check:
- Is the slider enabled?
- Does the subpic have 2 DCSQT (you'll see them on the left side of the UI), with the second one with a Stop command?
- Does the UI say 470 seconds?
If the new version does not fix the problem, send me the sup file and I'll take a look. jeanldvd at free dot fr.
goonix
7th March 2007, 17:16
Hi Jean!
If I save the subpicture of a menu in ppm format, it gets the size of 720x573 pixels (PAL).
Thats absolutely correct.
But if I want to modify it, I have to align it with the background image.
It would be much easier, if you can automatically add 2 lines at the top (PAL and NTSC) and 1 line at the bottom (additional for PAL) in background color.
This can be an option.
Is it possible or get we conflicts when saving normal subtitles?
goonix
jeanl
7th March 2007, 17:45
mmm, of course it's possible, but it's a bit of a kludge. The fact that it's 720x573 isn't a "standard" (the highlights don't have to cover the full screen, right?), so what works for this DVD might not work for the next, right? or am I missing something?
If so, perhaps it would be better to write a standalone little command line program that does what you want.
Jeanl
goonix
7th March 2007, 18:41
According to mpucoder the first 2 lines and the last line (only for PAL) can't be used for a subpicture. This is the maximum. But of course a subpicture can be smaller. Adding a fixed number of lines was not a good idea.
If I extract a subpicture with SubRip, I have an option to expand it to the full frame size 480 NTSC 576 PAL. The real subpicture remains in the correct place. The space is filled with the background color. The algorithm seems to be not too complicated and will work for all DVDs.
It would be nice to have a similar option in DVDSubEdit.
Nevertheless, thank you for this great tool as it already is.
goonix
jeanl
7th March 2007, 18:43
OK I understand... You'd like to have the inverse of the "crop" feature where you can save the subpic as a full frame bitmap, with the subpicture placed exactly where it is during playback.
I'll put that in the todo list.
Jeanl
kumi
7th March 2007, 20:00
Kumi, is that with the old or the new version?
Check:
- Is the slider enabled?
- Does the subpic have 2 DCSQT (you'll see them on the left side of the UI), with the second one with a Stop command?
- Does the UI say 470 seconds?
I couldn't find the DVD in question, but I have another with the exact same problem. This one has a subpic with a duration of 671.254 seconds.
In answer to your questions:
1/ It's the new version.
2/ The duration slider is enabled, but is stuck at the leftmost "short" position. The duration text box reads 671.254. If I try to move the slider, it stays put, but the text box changes to 671.300.
3/ The subpic has 2 DCSQT, the last one is a Stop (just like all the rest, in this stream.)
If I load the .SUP instead of the VOB full domain, the slider _is_ moveable. Just in case that's significant.
If the new version does not fix the problem, send me the sup file and I'll take a look. jeanldvd at free dot fr.You've got mail ;) The problem subpic is #16.
jeanl
8th March 2007, 06:07
Kumi,
I found the bug (I think). I'll send you an updated version, and you can tell me whether the bug is fixed...
Jeanl
_Assie_
8th March 2007, 18:18
Hi Jeanl,
This app keeps getting better and better. :)
I tested the function where a infinite subpic can be changed to a finite duration and it works perfect for me. Good work!
Did you also work on a function to search for infinite subpics?
Assie
jeanl
8th March 2007, 18:20
The search capabilities are a bit limited, I agree. Ideally the user should have a very flexible way to search/select subtitles based on various criteria... But flexibility is hard to implement...
Jeanl
r0lZ
9th March 2007, 09:34
BTW, I would like a function to search for forced start subpics.
jeanl
9th March 2007, 18:45
It's there already: "only show forced subpics" in the subpic selection area... :)
Jeanl
kumi
9th March 2007, 19:12
Jeanl, since implementing search is so involved, how about a "dump to text file" function in the meantime? It would help some people find too-long/overlapping/forced-start/etc subpictures. Just a dump of the subpic info would work:
Subpic# = 0 (0 in stream)
StreamID = 0x20
LBA = 0
V/CID = 0/0
PTS = 8661600
Duration = 4.096s
TimeCode: 00:01:36,239 --> 00:01:40,336
DCSQT: 0
Start
Set Color: e2=15 e1=15 p=11 b=11
Set Transparency: e2=15 e1=15 p=15 b=0
Set Display Area: sx=122 ex=580 sy=464 ey=531
Set field indexes
End of commands
DCSQT: 1 -- Delay 4.096s
Stop
Subpic# = 1 (0 in stream)
StreamID = 0x20
LBA = 0
V/CID = 0/0
PTS = 9039600
Duration = 5.279s
TimeCode: 00:01:40,439 --> 00:01:45,719
DCSQT: 0
Start
Set Color: e2=15 e1=15 p=11 b=11
Set Transparency: e2=15 e1=15 p=15 b=0
Set Display Area: sx=141 ex=561 sy=496 ey=529
Set field indexes
End of commands
DCSQT: 1 -- Delay 5.279s
Stop
...etc
jeanl
9th March 2007, 19:15
That's a very good idea, but it's still not perfect (for example, you can't easily search for forced start with this technique...).
But it's easy enough!
Jeanl
kumi
9th March 2007, 19:17
Oh? I saw that when I set a subpic to Forced Start, it gets added to the subpic info window:
DCSQT: 0
Forced Start
Set Color: e2=15 e1=15 p=11 b=11
etc...
r0lZ
9th March 2007, 19:20
It's there already: "only show forced subpics" in the subpic selection area... :)
Jeanl
Oops, sorry!
_Assie_
10th March 2007, 18:21
Jeanl, since implementing search is so involved, how about a "dump to text file" function in the meantime? It would help some people find too-long/overlapping/forced-start/etc subpictures. Just a dump of the subpic info would work:
That would be a good solution for searching for infinite subpics for the mean time.
Can you make it work, Jeanl?
jeanl
12th March 2007, 16:43
Oh? I saw that when I set a subpic to Forced Start, it gets added to the subpic info window:
DCSQT: 0
Forced Start
Set Color: e2=15 e1=15 p=11 b=11
etc...
Yes, sorry, my mistake!
Jeanl
jeanl
15th March 2007, 05:04
Here's a beta for you guys.
Version 1.384
- Fixed a crash that could happen in some cases (bug introduced in 1.381).
- Fixed a transparency problem in the display (fully opaque subpics were not displayed as completely opaque)
- Chose a better Y Cr Cb -> RGB mapping function, which yields a true white when Y=255 (Cr=Cb=0). Thanks r0lZ!
In addition, there's a couple new buttons "add fade" "remove fade" which are just experimental. They add a quick fade-in to the subpic, I did that just for fun.
Version available here:
http://download.videohelp.com/DVDSubEdit/Downloads/DVDSubEdit1.384.zip
jeanl
jeanl
15th March 2007, 06:35
... and here's 1.385 which adds the ability to save the subpic info for all selected subpics. Simply right click on the command display area (bottom left) and click "Save ..."
http://download.videohelp.com/DVDSubEdit/Downloads/DVDSubEdit1.385.zip
Let me know if that's useful.
Jeanl
r0lZ
15th March 2007, 10:11
Thanks Jean! :)
bigotti5
15th March 2007, 13:12
Thanks jeanl!
Adding fades produces incorrect STM entries some times
e.g. I got
DCSQT: 1 -- Delay 0.011s (STM in DCSQ=0x01, should be 0x00 or 0x03)
another VOB
DCSQT: 5 -- Delay 0.410s (STM in DCSQ=0x24, should be 0x23 or 0x26)
225/64*n for PAL and truncate
3003/1024*n for NTSC and truncate
jeanl
15th March 2007, 16:41
Thanks bigotti. I'll look into that and correct...
Jeanl
EDIT: I didn't realize the STM had to match a frame time, which is why I wasn't rounding off to the nearest frame. I'll add that.
mpucoder
16th March 2007, 03:52
Don't forget to truncate the answer, ie integer division
For NTSC (frames*3003)/1024
for PAL (frames*3600)/1024
Another way if you have a compiler that doesn't understand integer divide, or wants to round, is to shift right 10 bits, eg (frames*3600) >> 10
jeanl
16th March 2007, 05:45
Yes, I'm truncating, I've noticed you mention that a few times in your subpic documentation!
Thanks!
Jeanl
derebo
21st March 2007, 22:32
hi,
today i have posted a message asking for a way to use fade in fade out effect to subs just to learn yout latest release implements it. congratulations! that is so cool! because i had tried 1.37 and seemed very interesting. 1.384 and onwards will be even better for sure! afaik, only $$$ software could do that effect. now, there is an alternative.
greetings,
jeanl
21st March 2007, 22:34
Thanks for the message! I'm not too sure how many people are interested in these kinds of effects. They're not terribly useful in my view, but occasionally, there might be a time when you need to do that. Unfortunately, the current function can't be customized so it's still not terribly useful...
Jeanl
Mtz
22nd March 2007, 13:36
The "Fade" is a nice feature, thanks!
I saw the "Inf" button and... tested. :D But after pressing it I wanted to revert back the original duration. Can you make an Undo button or someting to give me back the original duration?
Fade out is possible? :D
enjoy,
Mtz
derebo
22nd March 2007, 14:33
I'm not too sure how many people are interested in these kinds of effects.
n+1! ;) looking forward to fade-in-out!
greetings!
jeanl
22nd March 2007, 16:56
@Mtz: just click on the slider, and it will offer to put a duration back. Or click Ctrl-Z (but that reloads the subpic, so you lose whatever modification you might have made on that subpic).
Fade-out is possible, of course. But you're never sure you can implement it: the subpic pack needs to have enough room for the additional DCSQTs. They're small so usually it's not a problem, but occasionally a subpic won't have enough room to put either fade-in or out.
I intend to put an option for fade-in, fade-out, as well as the duration of the fade-in and fade-out...
Jeanl
bigotti5
26th March 2007, 16:45
@jeanl
One question - why is it not possible to change start time in sup files (PTS in sup-header)?
jeanl
26th March 2007, 17:12
Well, probably because the function to move subpics was originally created for VOB files (in which case it's a lot harder!). To do that in a sup is much easier, but you still need to do some error checking (make sure you don't move it before another one or something).
I thought there were better tools to adjust that kind of stuff in sup files, no?
Jeanl
Angelus
28th March 2007, 00:18
I have a small bug (at least on my end) using DVD SubEdit after processing my DVDs using the Big 3 method. You can view the entire thread here:
http://forum.doom9.org/showthread.php?t=123068
The basic problem was that after running DVD SubEdit, it would render my DVD unplayable. I finally looked at the pre/post/cell commands in PCGEdit, and I realized that after processing with DVD SubEdit, all of these commands were erased in the main movie VTS. Is this normal, or did I do something wrong? The DVD played fine afterwards after I copied all of the commands back again
jeanl
28th March 2007, 02:52
OMG, if it's true that DVDSubEdit does that, that's a HUGE BUG! I'll look into it...
Jeanl
jeanl
28th March 2007, 04:08
I really don't understand what's going on. I tried to replicate your problem, but I can't.
DVDSubEdit only modifies the IFO if you change the CLUT (color lookup table). Otherwise, the IFO isn't even touched. If all you did was move a few subtitles up or down, it should absolutely not save the IFO.
Which version of DVDSubEdit are you using?
Jeanl
Angelus
29th March 2007, 01:49
Version 1.38
Here's what I did exactly in DvdSubEdit:
Open Full Domain (main movie) -> Re-time selected Subpics -> Save all Modifications
I just tried it on another movie as a test and the cell commands were still in tact afterwards...I must have done something wrong when I did it before. Sorry to give you a scare!
jeanl
29th March 2007, 16:30
mmm, I will keep an eye for it though...
Jeanl
Mtz
30th March 2007, 08:02
Hi, jeanl!
On some episodic disc, I made the following steps to my favourite subpicture stream:
- decrease the transparency to 14
- adding fade at a few subpictures
- addind forced start at my favourite stream. Apply this last setting.
- save the DVD
When I reloaded the DVD, all subictures with fade was marked as hidden. Not showed in DVDSubEdit and not in the player. After increasing the transparency to opaque (15), saving and reloading again, all subpictures are OK.
Can you confirm this in a test?
enjoy,
Mtz
jeanl
30th March 2007, 16:48
Mtz, could you possibly send me either a small portion of the original VOB or the SUP file? This would allow me to replicate your problem...
Thanks!
Jean (jeanldvd at free dot fr)
Mtz
31st March 2007, 13:17
You can try with any sample. I used PAL. Right now I made another test with a small custom created VOB, I made the same steps, but this time the modified subtitles are showed in PowerDVD, but in DVDSubEdit are hidden.
enjoy,
Mtz
bigotti5
31st March 2007, 19:17
but this time the modified subtitles are showed in PowerDVD, but in DVDSubEdit are hidden.
DVDSubedit shows the first frame of each subpicture. If you add fade-in the first frame is full transparent......:)
jeanl
31st March 2007, 19:20
Thanks bigotti5! That's right! I must have been spacing out...
If you add a fade-in, the first frame is fully transparent. So obviously you won't see it. Use the drop-down DCSQT selector to go to the last DCSQT, it's fully opaque. The selector normally applies to all selected subpics.
Thanks bigotti5!
Jeanl
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.