Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Subtitles

Reply
 
Thread Tools Search this Thread Display Modes
Old 16th February 2006, 21:08   #21  |  Link
jeanl
Registered User
 
jeanl's Avatar
 
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
A TINY feature request??? !
You're talking about muxing, and that is no tiny request! Muxman is the way to go for that, there's no doubt in my mind, and if I ever was foolish enough to try to replicate that (at least the subpic part), I could only do a half-ass job compared to muxman.
The most I can envision is a semi-automatic way to invoque pgcdemux and muxman as part of DVDSubEdit, to make the job a bit easier for the user. But the demuxing/muxing is better left to programs that have been specifically developed for that, and are very good at it!

jeanl
__________________
A few PgcEdit guides.
DVDSubEdit a free tool to edit subtitles directly inside the vob.
jeanl is offline   Reply With Quote
Old 16th February 2006, 23:57   #22  |  Link
ricardo.santos
Registered User
 
ricardo.santos's Avatar
 
Join Date: Mar 2005
Location: Portugal
Posts: 904
i was thinking in something more or less like this:

i dont know if this is possible and how difficult it is to do

1-open the unencrypted dvd with dvdsubedit
2-semi automatically "call pgcdemux" to demux the main movie
3-load an srt sub and "call srt2sup" or another to create a sup file
4-"Call muxman/ifoedit" to mux the movie again with the newly created sub

would be a great help for newbies(lots of posts on the foreign doom9 forums) about how difficult it is to do it, and by having the aplications "closer" would be agraet help i think.

Keep on the good work

Ricardo
__________________
Ricardo Santos na Aldeia mais digital de Portugal,
Beijós
ricardo.santos is offline   Reply With Quote
Old 17th February 2006, 00:00   #23  |  Link
jeanl
Registered User
 
jeanl's Avatar
 
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
Well, there's an additional step since the IFOs must be synchronized with the newly created vob file...
My take is that this does not fit well the DVDSubEdit framework. It seems to me that someone could write a tool to do that, using a very simple language, since all you need to do is invoque other tools. You could do that in visual basic, or in pearl, or in tcl-tk. I'm not sure DVDSubEdit is the place for that.
Jeanl
__________________
A few PgcEdit guides.
DVDSubEdit a free tool to edit subtitles directly inside the vob.
jeanl is offline   Reply With Quote
Old 17th February 2006, 08:34   #24  |  Link
CoNS
reMember
 
Join Date: Oct 2004
Location: Under your bed
Posts: 729
Quote:
Originally Posted by ricardo.santos
i was thinking in something more or less like this:

i dont know if this is possible and how difficult it is to do

1-open the unencrypted dvd with dvdsubedit
2-semi automatically "call pgcdemux" to demux the main movie
3-load an srt sub and "call srt2sup" or another to create a sup file
4-"Call muxman/ifoedit" to mux the movie again with the newly created sub

would be a great help for newbies(lots of posts on the foreign doom9 forums) about how difficult it is to do it, and by having the aplications "closer" would be agraet help i think.
This exact feature is already made ... in SubtitleCreator! Try the wizard in the Tools menu in SubtitleCreator. As a further step it will even allow you to copy the newly muxed main movie PGC into the old DVD structure to keep menus, etxras etc.
CoNS is offline   Reply With Quote
Old 17th February 2006, 22:57   #25  |  Link
jeanl
Registered User
 
jeanl's Avatar
 
Join Date: Sep 2004
Location: California, USA
Posts: 2,079

DVDSubEdit is finally out of beta!
Version 1.0 is now available here...



Here's the change log from beta 0.90
  • Added code to crop subpic to the bare minimum width, allowing horizontal moving. This can be applied to all in the usual manner.
  • Added option to move subpics flush with the nearest border.
  • The main window is now resizable. I cleaned up a lot of the display code, in an attempt to make things faster and cleaner.
  • The main window can also be minimized, or maximized, imagine that! The size and position are saved from session to session.
  • DVDSubEdit no longer needs the CLUT to identify the pixels used for the characters.
  • Added a "Auto CLUT" check box to show the main text pixels in white, and all others in black.
  • Added option to load an IFO file after loading a SUP file (this one just for CoNS!).
  • Improved the OCR code, especially with regards to identifying word boundaries
  • Fixed a bug that caused the app to crash if you fast reloaded a vob that was no longer there.
  • Fixed the infamous "display freezes, app starts writing all over" bug! A brush wasn't being released....
  • DVDSubEdit no longer crashes if you quit while running the OCR function.
  • The "save subpic to ppm" option was shrinking the subpicture by a factor 2. This has been fixed.
  • Removed the trailing '\n' at the end of the last line in the OCR output display.
__________________
A few PgcEdit guides.
DVDSubEdit a free tool to edit subtitles directly inside the vob.
jeanl is offline   Reply With Quote
Old 18th February 2006, 22:32   #26  |  Link
ricardo.santos
Registered User
 
ricardo.santos's Avatar
 
Join Date: Mar 2005
Location: Portugal
Posts: 904
Quote:
Originally Posted by CoNS
This exact feature is already made ... in SubtitleCreator! Try the wizard in the Tools menu in SubtitleCreator. As a further step it will even allow you to copy the newly muxed main movie PGC into the old DVD structure to keep menus, etxras etc.
Thanks CoNS, i didnt knew about that!
I tried the method and it worked but the subtitle color is messed up(not the one i choose with subtitle creator)

I tried using dvdsubedit to change the subtitle color but it seems it can only change one "subtitle line" at a time.
__________________
Ricardo Santos na Aldeia mais digital de Portugal,
Beijós

Last edited by ricardo.santos; 18th February 2006 at 22:35.
ricardo.santos is offline   Reply With Quote
Old 18th February 2006, 23:16   #27  |  Link
jeanl
Registered User
 
jeanl's Avatar
 
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
Quote:
Originally Posted by ricardo.santos
Thanks CoNS, i didnt knew about that!
I tried the method and it worked but the subtitle color is messed up(not the one i choose with subtitle creator)

I tried using dvdsubedit to change the subtitle color but it seems it can only change one "subtitle line" at a time.
If you want to change half of a subtitle (for example the top line and not the bottom) dvdsubedit can't do it.
If you want to change ALL subtitle colors, simply do it for 1 subtitle, then go to the Edit menu and click "Apply change to all subpics". This will modify all the subpics that you have currently selected.
This applies to all other modifications as well...
jeanl
__________________
A few PgcEdit guides.
DVDSubEdit a free tool to edit subtitles directly inside the vob.
jeanl is offline   Reply With Quote
Old 19th February 2006, 02:42   #28  |  Link
svcdprayer
Registered User
 
Join Date: May 2002
Posts: 203
ocr text format

Hi Jeanl! First of all congratulations, now everything works. I just wanted to ask you what kind of format is text saved from ocr?

Im asking because im still interested in conversion that format to srt.

Thanks alot!

Keep up a good work!
svcdprayer is offline   Reply With Quote
Old 19th February 2006, 18:57   #29  |  Link
jeanl
Registered User
 
jeanl's Avatar
 
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
Yes it's not .srt yet, but I have that on my todo list. Somebody pointed me to the format, so it should be easy now...
jeanl
__________________
A few PgcEdit guides.
DVDSubEdit a free tool to edit subtitles directly inside the vob.
jeanl is offline   Reply With Quote
Old 20th February 2006, 00:34   #30  |  Link
jeanl
Registered User
 
jeanl's Avatar
 
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
svcdprayer, if you're interested in testing the "save as .srt" option, I'm done with it (but I don't have any tool to test it myself). Send me an email at jeanldvd at free dot fr and I'll send you the latest version...
Jeanl
__________________
A few PgcEdit guides.
DVDSubEdit a free tool to edit subtitles directly inside the vob.
jeanl is offline   Reply With Quote
Old 21st February 2006, 01:25   #31  |  Link
svcdprayer
Registered User
 
Join Date: May 2002
Posts: 203
hello jeanl!

Sorry for my delay,

First of all i want to tell you that I really apprechiate your help in developing save as .srt Second, ive sent you an email. Im looking forward to test it

Thanks alot once again!
svcdprayer is offline   Reply With Quote
Old 23rd February 2006, 21:45   #32  |  Link
jeanl
Registered User
 
jeanl's Avatar
 
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
Guys, I've put a new version (1.0.5) of DVDSubEdit for you to test. It's unofficial, so I'm not making a big deal of it.
Find it here:
http://www.videohelp.com/~DVDSubEdit...bEdit1.0.5.zip

Improvements are:
- Added function to hide hearing-impaired text. Subtitles that are completely enclosed between [] or () are hidden. Text enclosed between brackets is erased. This is preliminary, test it and tell me what you think! Run the OCR first, of course!!!
- Changed the display mechanism, it is now much much faster! I'm happy with that!
- Improved the OCR speed (by only passing the useful part of the subpic to the GOCR)
- Fixed the "save as txt" function to save as a proper .srt file.

As usual, let me know what you think!
jeanl
__________________
A few PgcEdit guides.
DVDSubEdit a free tool to edit subtitles directly inside the vob.

Last edited by jeanl; 24th February 2006 at 17:33.
jeanl is offline   Reply With Quote
Old 24th February 2006, 09:47   #33  |  Link
ukendt
Moderator
 
Join Date: Oct 2001
Location: Denmark
Posts: 536
The link ain't right........
ukendt is offline   Reply With Quote
Old 24th February 2006, 17:34   #34  |  Link
jeanl
Registered User
 
jeanl's Avatar
 
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
Sorry, somehow it got mangled. I just fixed it...
jeanl
__________________
A few PgcEdit guides.
DVDSubEdit a free tool to edit subtitles directly inside the vob.
jeanl is offline   Reply With Quote
Old 24th February 2006, 19:57   #35  |  Link
ukendt
Moderator
 
Join Date: Oct 2001
Location: Denmark
Posts: 536
OCR is working fine but it doesn't recognize danish letters like Å, Æ, Ø.
Any chance to fill this in?
ukendt is offline   Reply With Quote
Old 24th February 2006, 20:01   #36  |  Link
jeanl
Registered User
 
jeanl's Avatar
 
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
I thought it did recognize some of them? I'm really sorry but upgrading GOCR is very difficult, the way it's written. If it was simply a database, it would be easy to expand it, but it's not. It's all hard-coded in a large number of C-functions, each dedicated to detecting 1 or 2 characters!!! Unmanageable...

I'm not complaining though... It works really well *most* of the time...
Jeanl
__________________
A few PgcEdit guides.
DVDSubEdit a free tool to edit subtitles directly inside the vob.
jeanl is offline   Reply With Quote
Old 2nd March 2006, 18:44   #37  |  Link
jeanl
Registered User
 
jeanl's Avatar
 
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
Version 1.1 of DVDSubEdit is now available here...


Main new feature is the ability to erase parts of subtitles bracketed with '[' or '(' or to detect music notes.

Here's the change log from Version 1.0
  • Added an OCR setup panel with options for OCR, and hearing-impaired text removal.
  • Added menus to hide/erase hearing-impaired text in subtitles. The remaining text can be optionally recentered or realigned.
  • GOCR now recognizes (most?) music notes. They are marked as '#' in the output text.
  • Added ability to move subpics with the mouse. Just grab and move!
  • Improved the display mechanism, it is now much much faster.
  • DVDSubEdit now lets you reload individual (or all) SPUs from a sup file (undo).
  • The "Open vob file" dialog now allows selecting several vobs.
  • The various save and open dialogs (vob, sup, ppm and srt) now independently remember their default directories. Very convenient.
  • When opening a sup file, the dialog to optionally load the IFO now defaults to the same directory the sup file was in.
  • Added "Go to" field to go to a specific spu (Ctrl-G).
  • Fixed common 'o'->'Q', 'V'->'Y', 'z'->'_', ':'->'_' OCR mistakes.
  • Improved the OCR speed when the subpic background occupies the full frame.
  • The "save as txt" function now saves as a proper .srt file.
  • Added a couple shortcuts (Home and End now go to first and last SPU in current selection).
  • Added display of "percent done" in progress dialog.
  • The built-in pdf doc (shortcut: F1) is (nearly) up-to-date.
  • Fixed a bug that caused the small progress dialog to not close properly if the main window was minimized.
  • Last but not least: The file version number now matches the actuall version number (this one for blutach!)

Thanks to CoNS for many tests, and many many suggestions for improvements.
Feedback is most welcome!
Enjoy...
Jeanl
__________________
A few PgcEdit guides.
DVDSubEdit a free tool to edit subtitles directly inside the vob.
jeanl is offline   Reply With Quote
Old 2nd March 2006, 18:56   #38  |  Link
doggersen
Registered User
 
Join Date: Feb 2006
Posts: 23
wow, i've never seen so many new features added to a program in such a short period of time. Look forward to try it, and thanks for making the program !
doggersen is offline   Reply With Quote
Old 3rd March 2006, 11:42   #39  |  Link
ZaphodB
Registered User
 
Join Date: Sep 2003
Posts: 2
Amazing progress, indeed. But i'm (and maybe a few others)still looking for a feature. Perhaps you can find some place ( and write some code ) for a ckeckbox called "Only show forced subpics" ?
ZaphodB is offline   Reply With Quote
Old 3rd March 2006, 18:11   #40  |  Link
mp3boy
Registered User
 
Join Date: Mar 2002
Location: Tehran/Iran
Posts: 71
is it possible to correct wrong guessed ocr character? it would be nice to have a character map like subrip which we can correct all the wrong guests by looking at the long list all in once like a spreadsheet and then fix the wrong onces... there is many problem in italic ocr...

thanks again for your tools
mp3boy is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:15.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.