Log in

View Full Version : Announcing DVDSubEdit Version 1.51


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16 17 18 19 20 21 22 23

doggersen
20th July 2007, 19:02
Having tested a few more DVD's today with those before-mentioned irritating "jumping around"-subs for hearing-impaired. I've come to the conclusion that it would indeed be great if one had the option of centering them (vertically/horizontally).
Never mind about those few cases in the movie where it can't be done (subs in two different spots).
It would still mean a big difference, and as i imagine, pretty simple to program.
And I can't see any negative side-effects.

myso
28th August 2007, 22:39
thanks jeanl for the great program. But i got some bugs.
Sorry if they are mentioned before, i didn't read the most of the topic. :)

My first problem is that if i move the subpicture it gets corupted.
If i select all DCSQTs and move it goes very well. it's a little long to choose in all subpictures the "all DCSQTs" function. I get this problem when i move subtitles in vobs and in sup files. The sup file was made with SubtitleCreator v2.2.2. I should probably use an older version that has "apply to all DCSQTs" option in "apply last modifications to all" page.
I think if the program works while moving the subtitles, as if the "all DCSQTs" option is selected. It would be fine.

cweb
30th August 2007, 15:56
I'm trying to open a dvd's vob files.. I'm getting in subpic selection the option 'All streams', but no choice for a particular stream.
The subtitles are mixed in English and French as a result..

How can this be fixed?

jeanl
30th August 2007, 20:31
If I understand you correctly, if you move a subtitle for which "All DCSQTs" isn't selected, that subtitle becomes corrupted? I will have to reproduce the problem and solve it. Thanks for the report. Just to be sure: what gets corrupted, and how do you find out that it is corrupted?
Jeanl

thanks jeanl for the great program. But i got some bugs.
Sorry if they are mentioned before, i didn't read the most of the topic. :)

My first problem is that if i move the subpicture it gets corupted.
If i select all DCSQTs and move it goes very well. it's a little long to choose in all subpictures the "all DCSQTs" function. I get this problem when i move subtitles in vobs and in sup files. The sup file was made with SubtitleCreator v2.2.2. I should probably use an older version that has "apply to all DCSQTs" option in "apply last modifications to all" page.
I think if the program works while moving the subtitles, as if the "all DCSQTs" option is selected. It would be fine.

jeanl
30th August 2007, 20:32
I'm trying to open a dvd's vob files.. I'm getting in subpic selection the option 'All streams', but no choice for a particular stream.
The subtitles are mixed in English and French as a result..

How can this be fixed?
Are you sure that you have separate streams for French and English? Also, is the .IFO file available in the same directory as the .VOB file (the IFO file is the one that would indicate the language for each subtitle stream)?

Jeanl

cweb
30th August 2007, 22:49
Are you sure that you have separate streams for French and English? Also, is the .IFO file available in the same directory as the .VOB file (the IFO file is the one that would indicate the language for each subtitle stream)?

Jeanl
Yes I managed to extract english subs with subrip as an alternative.

The IFO is there. I guess it's some protection..

myso
31st August 2007, 13:05
Well, yes. I made a test using DVDSubedit v1.68. I moved first two subpictures, in the first one i select "All DCSQTs", and in the second one i didn't select. The first one looked well after moving. But the second subpicture looks weird. It's like pixel lines of subpicture is not visible. One visible, after not visible. The visible lines were "discontinuous". I made a quick makro for selecting "All DCSQTs" for all subtitles. And it worked.
I got this issue only when using media player classic, and gom player. Subtitles seems well in other players like vlc, powerdvd, mplayer...
And when i move subpictures using v1.67 selecting "apply to all DCSQTs" in "apply last modifications to all" page, it goes well too.

Thanks for your help. :)

jeanl
31st August 2007, 17:36
myso,
Try the latest unofficial version and tell me if it doesn't work either. This will allow me to start from the "current" version.
http://download.videohelp.com/DVDSubEdit/Downloads/DVDSubEdit1.389.zip

You mention version 1.68, I'm guessing you mean 1.38, right?
If you still see the problem, can you send me a SUP file and tell me how to reproduce the problem? (send directly to jeanldvd at free dot fr)
Jeanl

jeanl
1st October 2007, 20:48
Hi guys,
I've put a new "beta" version here:
http://download.videohelp.com/DVDSubEdit/Downloads/DVDSubEdit1.396.zip

for you guys to test...
The main improvement is the ability to edit the bitmap with an external bitmap editing tool (such as mspain) and re-import it in the subpic data. Give that a shot, it's pretty cool.

Here's the change log from 1.389
Version 1.396

NEW: Bitmap editing is now available:
Added code to save a subpic as a bitmap (24 bit, full video size, b p e1 and e2 are black, R, G and B).
Added code to load a bitmap (24 bit, full video size, with only black, red, green and blue colors). After loading, the bitmap is substituted to the original subpic, black is b, red is p, green is e1, blue is e2. If the subpic data is not large enough to fit the encoded new bitmap, the subpic isn't replaced.
Added menu option to edit a subpic bitmap in one shot: it exports the bitmap to a temporary file, launches a selected edit tool, waits for the tool to exit and reloads the modified bitmap. Go to the preferences to select which tool to edit the bitmap with. I use paint.
When replacing the subpic with an imported bitmap, the commands are pushed as far back to the end of the subpic, to maximize the space available for the new bitmap.
Also...
Added rudimentary command line support: DVDSubEdit.exe FileName.VOB opens the single file FileName. Add -F to open the full domain.
When changing the color index in a CLUT for a pixel type and applying to all, the change is now applied to all selected subpics, regardless of whether they use the same CLUT or not.
Added option in ini file to force vertical moves by even numbers of pixels (for people who have seen problems with odd moves).
The value displayed by the transparency slider when "all pixels" is selected now reflects the average of all *used* pixels (excluding the background).
Fixed a crash that could occur when loading very short VOB files.
Add Fade-in now uses the current transparency as the maximum value during the fade (in other words, if the current transparency of the subpic is 12, add fade will make a fade-in from 0 to 12. When removing a fade-in, the maximum fade opacity is used as the fixed value.
When adding a fade-in, the commands are pushed toward the top of the subpic to make room for additional DCSQTs, if necessary.
Added option in the preferences for the x-y crop borders: you can decide how much bigger the background should be, relative to the text in the subpicture.
Made the app return 0 upon exit, which gets rid of the warning you get if used as a tool in PGCEdit.

setarip_old
1st October 2007, 22:18
Great meaningful addition!

See my other comments in the "Subtitles" "sticky"...

blutach
2nd October 2007, 02:04
Thank you Jean for this great addition ;)

Regards

President
2nd October 2007, 14:28
Thank's Jean. Very important and useful changes.

mpucoder
3rd October 2007, 08:28
Is that a typo? you export BG as white, but import black? or is it a case of BG is everything that isn't PA, E1, or E2?

r0lZ
3rd October 2007, 10:28
Yep, it's black in both cases. And currently SubEdit refuse to import a bitmap with an additional color.

jeanl
3rd October 2007, 16:43
That was a typo, background is black both out and in. I'll fix that in my post.
Jeanl

jeanl
8th October 2007, 22:01
Folks, here's a new beta version (1.399) that fixes a few problems, but also changes the way the data and the commands are handled.
It would be great if you could test it on settop players, especially the "crop background", "add fade-in" and "import bitmap" functions.
A good thing to do after you save your changes is to reload in DVDSubEdit to check that nothing got majorly screwed up!
Version 1.399
http://download.videohelp.com/DVDSubEdit/Downloads/DVDSubEdit1.399.zip

The zoom window can now display the subpic at a 1x or 2x magnification.
A few changes having to do with where the commands and the data are arranged in the packs:
. The commands are always moved by an even number of bytes, as this seems to be important for some players?
. When saving, the commands are moved as far down to the end as possible to make sure all subpic packs are preserved.
. After that, the data is moved down to fill the gap between the commands and the end of the data.
When importing bitmaps, the commands are moved as far down as possible, and the data as far up as possible to make more room for the imported bitmap.
When adding a fade-in, the data is moved up to allow moving the commands up too (to make room for the fade).
Added code to round the pixel color to the nearest valid one (it's very simple, so it may not do the smartest thing) but it should avoid most import errors due to shading/antialiasing etc.
Fixed a few bugs in the import bitmap routine (for cases when the imported bitmap didn't fit, or had the wrong colors).


Give it a shot and let me know if something's broken!
Jeanl

setarip_old
9th October 2007, 00:00
@jeanlAdded code to round the pixel color to the nearest valid one (it's very simple, so it may not do the smartest thing) but it should avoid most import errors due to shading/antialiasing etc.Does this mean that the program is now capable of importing anti-aliased bitmaps that contain more than 4 colors
(e.g. Those created by either PaintShopPro or Photoshop)?

r0lZ
9th October 2007, 00:26
Yes. (But I haven't tested that yet.)

But I think that SubEdit should export and import the real colors of the subpics, as defined in the CLUT, to let the user use antialiasing without too many constraints. The current primary colors are fine, but I doubt a paint program will let the user draw red characters with a blue outline, and be smart enough to draw the antialiazed pixels in green!

Of course, there is a problem when several different pixels use the same color in the CLUT, and with the transparent color(s), but in those case, SubEdit could replace the color by an unused primary color, or issue a warning and use the current method, or its default palette.

jeanl
9th October 2007, 00:30
@setarip_old, yes it will import them, but there's no guarantee that it will do the right thing. It was a quick fix, but not a smart one, and I'm not sure I'll keep it in.
@r0lZ,
I'm not sure I understand why using the "real" colors (as defined by the CLUT) is better than the arbitrary ones... In both cases, the paint program will have to be configurable to create the right colors for the anti-aliasing, assuming that it does that at all! But I'm not familiar with advanced paint programs, so I'll be open to suggestions...
Jeanl

Mtz
9th October 2007, 01:16
Quick test: exporting a BMP and reimporting the same BMP again.
1.
Original: Set Display Area: sx=171 ex=551 sy=206 ey=245
Modified: Set Display Area: sx=171 ex=550 sy=204 ey=246

2.
Original: Set Display Area: sx=171 ex=551 sy=206 ey=287
Modified: Set Display Area: sx=171 ex=550 sy=204 ey=287

3.
Original: Set Display Area: sx=132 ex=590 sy=38 ey=445
Modified: Set Display Area: sx=132 ex=588 sy=38 ey=446

In example 1 and 2 the new subpicture position (moving up) is visible in DSE. In 3, is not visible any change even if the change is real.

The small test used for this is here. (http://www.mytempdir.com/2036436) The subtitles streams are the same (excepting timmings).

enjoy,
Mtz

jeanl
9th October 2007, 01:23
It's possible for the sx,ex,sy and ey values to change because the new bitmap is cropped and re-encoded. The important thing is to verify that the bitmap ends up exactly in the same spot, regardless of these values...
Jeanl

setarip_old
9th October 2007, 01:30
I just did a quick test and, rather than modifying the anti-aliasing and reducing the number of colors to 4, it appears to be stripping ALL anti-aliasing and reducing the total number of colors to 2...

Mtz
9th October 2007, 01:42
I edited my previous post and added the sample. For the subpictures values changed for "sy", the new position is visible.

enjoy,
Mtz

PS: I forgot to say "Thank you for the new version!" Sorry... ;)

setarip_old
9th October 2007, 04:00
@jeanl

Shouldn't this "sticky" be combined with the "sticky" in the "Subtitles" sub-forum?

blutach
9th October 2007, 05:41
@setarip_old

Unfortunately, while we can combine the posts into one giant thread, they have to be housed in one or the other sub-forum (ie there is no mirroring capability, other than labelling one thread as "moved". This would have the effect of posters in one sub-forum actually ending up posting in another, which might not be what they want).

Regards

setarip_old
9th October 2007, 06:34
@blutach

Sorry to hear that you, as a moderator, believe this to be too complicated or undesirable.

The simple fact of the matter is that the two "stickies" are about exactly the same thing - DVDSubEdit updates and usage.

If anything, posters may be getting only half the information by all posters about this wonderful program by "jeanl", because it's not readily observable that "stickies" exist in two different sub-forums.

But, of course, this is just one member's opinion...

AlanHK
9th October 2007, 07:03
I mentioned this on Videohelp, but this seems the more appropriate place, so please ignore the other post if you see it.

Feature request: You have an option to set "Forced start". I'd like also an option to set Start default off. Many players automatically display subtitles if no default is set. Currently I have to edit with PGCedit to set this.
(http://download.videohelp.com/r0lZ/pgcedit/third_party/2cool/subtitles/subtitles_off_default_pgcedit.htm)

jeanl
9th October 2007, 07:04
@Mtz, you need to explain to me what you did and what seems not to be working... At this point I'm a bit confused!
I'm downloading your example...
Jeanl

jeanl
9th October 2007, 07:11
@setarip, this is the behavior I'm expecting. The current code rounds the RBG values to the nearest allowable value (0 or 255), so shades of green for example will be rounded to plain Green, (for values above 127) or black (for values below 127).
Like I said, the code isn't smart enough at the moment. It's only there to help import bitmaps that would otherwise not load...
Jeanl

jeanl
9th October 2007, 07:12
@AlanHK: This is a job for PGCEdit, as it requires adding commands to a PGC, something that DVDSubEdit isn't equipped to do...
Jeanl

setarip_old
9th October 2007, 08:15
It's only there to help import bitmaps that would otherwise not load...And it does that perfectly well ;>}

I'm looking forward to the time when the code is, as you put it, "smart enough" to generate 4 color, anti-aliased text.

blutach
9th October 2007, 11:37
@jeanl

As you might know, the green button outlines in letterbox mode are not displayed correctly. They are fine for WS.

Regards

jeanl
9th October 2007, 17:24
@blutach, yes, I'm aware of that.... That's something that needs to be fixed in the preview code...
Jeanl

Anime
9th October 2007, 20:12
hello, i love this tool, ultimate. have been using for quite long time.

do you think it is possible to make adjustable window size in future release?

my workshop monitor has some trouble controling some function above resolution 640x480.

* can it like having floating toolbar like photoshop
* or a detecting schemes of user resolution and provide scrollbar when needed?...
* or tabs at bottom or side chossiing tools..

currently i can only see... or use such function in this screenshot... below...

http://i66.photobucket.com/albums/h245/vaxva/misc/dvdsubedit_control.gif

i know... my monitor resolution suxs big time. but it is a panasonic TV rgb monitor which only gives 640x480....
which i find convinence by pressing on remote can watch TV/DVD already.... my room is also small and cramp doesn't allow me to have a place for another monitor....

sorry, just a small request hope a day will be fullfilled. but i also understands that i'm one of the few problematic fellows who might need this function who is lesser than the majority who doesn't need it.

jeanl
9th October 2007, 20:17
Anime, making floaing toolbars isn't not super easy (that would be a big rewrite), but I could add an option to make the window smaller, for example by making the command info area smaller... I'll look into it.
Jeanl

Mtz
9th October 2007, 20:37
From my sample: load DVD sample. Go to subpicture 3. Note the values. Save BMP. Replace that subpicture with the same BMP without modifing anything in it. Compare the new values with the old ones.

enjoy,
Mtz

_Assie_
9th October 2007, 22:57
Hi Jeanl,

When can we expect a HDDVD/Blu-RaySubEdit ?? :)

Greets,
Assie

jeanl
10th October 2007, 16:47
@Mtz: the bitmap is reencoded, and may not have the same "border" around the useful part of the picture (the text). As a result, it's quite possible for it to have start and end x/y values. But, barring any bug, the text should appear excatly in the same position relative to the video.
To explain more: Given a bitmap the word "TEXT", I can encode the bitmap by leaving 2 background pixels on every side of the word, and place the top left corner of the resulting encoded bitmap at position x=0 and y=0. The top left pixel of the letter T will be at x=2 and y=2.
OR, I can encode with a border of 1 pixel on every side, and place the top left corner of the resulting encoded bitmap at position x=1 and y=1. The top left pixel of the letter T will be at x=2 and y=2, exactly the same as above. But the sx/sy values will be different in both cases, even though the text is exactly in the same position.

Jeanl

jeanl
10th October 2007, 16:47
Hi Jeanl,

When can we expect a HDDVD/Blu-RaySubEdit ?? :)

Greets,
Assie
You've got to be kidding! I'm boycotting high def formats at the moment! :)
Jeanl

jeanl
1st November 2007, 00:55
Version 1.4 of DVDSubEdit is now available here (http://www.videohelp.com/~DVDSubEdit/)...

The main new feature is the ability to quickly edit the bitmap with an external tool and re-import it into the subpicture.

This is the change log since version 1.38.

New export/import bitmap function: You can save the current subpic as a bitmap, (either 4-bit, or 24-bit). The subpic is saved ignoring transparencies, using the current CLUT.
The bitmap size is the size of the video, and the subpic bitmap is placed as it would appear on a video display.
You can also import a bitmap into the current subpic. This will only work if there's enough room in the subpic packs to accomodate the encoded bitmap.
There is also a shortcut that saves the current subpic as a bitmap, opens your favorite bitmap editing tool, lets you edit it, then re-import it back into the subpic.
These functions make it possible to apply small changes to a subtitle, add things here and there, without the need to demux/remux the entire VOB files.
This is a HUGE time saver.
Be sure to read the doc (which has been updated) for details on this powerful new function.
Changed the CLUT selection to a drop down with only 2 choices: The normal IFO CLUT, or the automatic CLUT (which attribute colors based on which pixel is used for text, background, outine and antialias). The old "Auto CLUT" wasn't useful at all.
Clicking on a pixel type (such as "b" "p" "e1" or "e2") in the CLUT area temporarily shows that pixel with full opacity, hiding all other pixel types. This is very convenient to quickly see what pixel is used for the body of characters, for the background, etc.
Added a slider to visualize any I-Frame within the duration of the subpic.
Added a "Add Fade-in" function to add a fade to a subtitle. The fade-in lasts 1/8 of the total duration of the subtitle, and reaches the transparencies used in the original.
Added a "Remove Fade-in" function to remove fade-ins.
Added option in the preferences for the x-y crop borders.
Added option in preferences to control how much larger the background rectangle is relative to the size of the subpic itself, when the "Crop Background" command is used.
Added option in ini file to force vertical moves by even numbers of pixels. This is only useful for certain buggy players.
Added rudimentary command line support: DVDSubEdit.exe FileName.VOB opens the single file FileName. Add -F to open the full domain.
Added right-click context menu to command display area to save the subpic info for all selected subpics as a text file. This will allow complex searches in a text editor if desired.
The zoom window can now show the subpic at a 1x or 2x magnification factor.
The "apply to all" data is no longer reset after performing an "apply to all" operation. This will allow you to apply a set of modifications to all subpics in one stream, then again in another stream etc.
If you attempt to change the duration of a subpic that has an infinite duration (no STP_DSP - stop display - command), DVDSubEdit offers to add a STP_DSP command for you (which will enable you to adjust the duration).
Added display of subpic number in its own stream (as opposed to in all streams).
The goto function works as before if "All Streams" is selected. But if a particular stream is selected, it will go to subpic N in this stream.
When changing the color index in a CLUT for a pixel type and applying to all, the change is now applied to all selected subpics, regardless of whether they use the same CLUT or not.
Now using a better Y Cr Cb -> RGB mapping function, which yields a true white when Y=255 (Cr=Cb=0). Thanks r0lZ!
Made the app return 0 upon exit, which gets rid of the warning you get if used as a tool in PGCEdit.

In the hearing impaired removal code, any trailing space after "Man: " is now removed.
As well, times such as "8:30 pm" are no longer removed.
And text in all caps left of a colum as in "RADIO ANNOUNCER: " is also removed.

The value displayed by the transparency slider when "all pixels" is selected now reflects the average of all *used* pixels (excluding the background).
Fixed a transparency problem in the display (fully opaque subpics were not displayed as completely opaque)
Fixed a problem with the duration slider that could occur if the PTS of the next subpic was smaller than the current one!
The delay value in the DCSQT are now computed the right way (they point to a frame).
When importing bitmaps, the commands are moved as far down as possible, and the data as far up as possible to make more room for the imported bitmap.
When adding a fade-in, the data is moved up to allow moving the commands up too (to make room for the fade).


Enjoy, and let me know if you encounter any problem with this version.
Jeanl

blutach
1st November 2007, 04:53
Thanks Jean!

Regards

dirio49
1st November 2007, 15:12
Thanks Jean :)

goonix
2nd November 2007, 12:39
Thanks for the new version, Jean!

But the green outlines of the hotspot rectangles in LB and PS menus are still wrong.

goonix

jeanl
2nd November 2007, 16:39
Yes, that's correct. I haven't fixed that yet (that code is in the dvd previewer, adapted from DVD2AVI, I have to take a deep breath before diving into that!)... :)
Jeanl

tom942
3rd November 2007, 00:09
Thank you Jeanl :).

kikatu
4th November 2007, 20:46
Thanks you, very useful tool indeed.

Anime
7th November 2007, 14:36
Anime, making floaing toolbars isn't not super easy (that would be a big rewrite), but I could add an option to make the window smaller, for example by making the command info area smaller... I'll look into it.
Jeanl

nice hope it be added.!! =D
_____________
hey by the way; a day when using 1.384 open full domain (fine)
i try to add about 2(same TIMED)*stream*51 "INF" using 1.384 and save
after playing the the dvd i found 1*stream;subtitle not displaying in certain area
and reopen with 1.384 it reports that a area(tba) corrupted / error and will skipped reading it.

then i went have no choice and remake the subtitle with already INF before muxing into vob, so then solve the issue.

actually i also don't know why the 1st time open full domain no error reported, but after playing in dvdsubedit and save the error comes out. and only happens to a stream and not in both stream with exactly same timing and exact same INF location

jeanl
7th November 2007, 18:19
It's quite possible that that version had a bug in the routine that adds a DCSQT to time a subtitle... :(
If you confirm the bug with the latest version, please let me know and I'll look into it...
Jeanl

GrofLuigi
15th November 2007, 01:38
Well, yes. I made a test using DVDSubedit v1.68. I moved first two subpictures, in the first one i select "All DCSQTs", and in the second one i didn't select. The first one looked well after moving. But the second subpicture looks weird. It's like pixel lines of subpicture is not visible. One visible, after not visible. The visible lines were "discontinuous". I made a quick makro for selecting "All DCSQTs" for all subtitles. And it worked.
I got this issue only when using media player classic, and gom player. Subtitles seems well in other players like vlc, powerdvd, mplayer...
And when i move subpictures using v1.67 selecting "apply to all DCSQTs" in "apply last modifications to all" page, it goes well too.

Thanks for your help. :)

This is the behaviour I got on 1.401. Looks like interlaced picture with every second line missing (but not all, and some lines added at bottom/top). At first I thought it was only display glitch, but it was present in the saved file. Don't know which step made the corruption, I'll just try approximately decribing the steps I made:

SRT created with Subtible Creator and muxed with Muxman free (both latest versions), no transparent color, worked on one subtitle and then applied to all (but not in one step, and also reloaded several times both fast and full domain).

Changes involved: changing b,p,e1,e2 colors, including defining custom color for the last two, moving subpic up/down, and setting forced start. In the middle I applied transparency in order to position the subtitle, but did not save the change. I did not touch any other commands.

For now, I have reverted to version 1.389 and haven't seen the bug (but also tried to minimize handling).

Jeanl, I'm sorry I can't provide any screenshots or more detailed bug report, I've deleted the faulty project.

GL

ericf
2nd December 2007, 13:44
Hello again. I think it's time you looked at the retime function again.
It's simply not working properly. If I can make it work on one DVD, the next one won't work at all. All other changes seem to work but everything concerned with retiming subtitles is weird.
I compiled a DVD the other day of 2 TV episodes, each one separate title.
To change subtitle color you have go to both parts of the subtitle. First save hour one and then save hour two.
Then I click the left button with the text: Re-time this subpic. I move the slider so that the subs are moved forward by 0,3 seconds. I go to File > Save all modifications and there's a short blink from the progress meter. If I try with the right hand button with the text: re-time selected subpics the same happens when I tell DVDsubEdit to save.
The modifications have not been done.

Of course, if the whole subtitle is mistimed one of the earlier parts of the DVD process is wrong, but that's what this program is for.

Please explain to me why one DVD can be changed but not others.
Thank you.

ericf