Log in

View Full Version : Any chance to make .SRT from demuxed .SUB ?


unplugged
11th September 2002, 23:24
It appears that subtitles demuxed from DVD VOBs give no possibilty to be managed :(, I have used DVD Decrypter 3.1.2.0 and I have demuxed them, not with RAW option.

Any experience?

P.S.: tried Subrip 1.06 and Subripper

Eyes`Only
12th September 2002, 19:05
I've renamed to .vob, which allows subrip to see them.

unplugged
12th September 2002, 22:43
That wasn't the problem, I think the sad verdict is that DVD subtitles must be demuxed into VOB container, otherwise they lose index info or something regarding seeking/synching...

Eyes`Only
12th September 2002, 23:10
Agreed. I'm having some weird problems with .sub files created from dvddec. Like, for some reason the timecode resets to 0 in the middle of the movie (no, checking that checkbox that subrip says to check for this doesn't help, it DOES stop the timecode from resetting, but every sub from that point on is terribly offsync). I've resorted to having to subrip from the original .vobs, because nothing I've tried to alleviate the symptoms has worked. :(

zuggy
13th September 2002, 10:35
no, checking that checkbox that subrip says to check for this doesn't help, it DOES stop the timecode from resetting, but every sub from that point on is terribly offsync

You can read more about it (in lightened form) in this thread:
http://forum.doom9.org/showthread.php?s=&threadid=33051

Eyes`Only
13th September 2002, 18:33
Ok so basically that thread's ending is stating that the .sub files we are using cannot be used with any reliability with subrip, right? Well I have pretty much already gathered that, and have been subripping from the original ifo/vobs, which gives me much more success. Too bad, because subripping from the .sub files dvddecryptor generates is lightning fast compared to the other way. I can subrip a movie in less than a minute using .sub files!

But I'm fine with having to use the original files. I need the most precise/reliable method, and if this is it, then so be it. "vobsub" I have no idea about, since I deal with dvdr.

unplugged
13th September 2002, 20:51
One solution is to make another decrypt pass to create one special "subtitles VOB" selecting only subtitle tracks, so further various OCR passes can be performed very fast. (file storing is progressive and compact)
This works succesfully

Eyes`Only
13th September 2002, 22:39
Wow I have no idea what you're talking about. I never OCR, I use bitmaps, the OCR stuff I just ignored. But, doing another decrypt pass to create a subtitle vob? what program? Dvddec can create a .sub track which is just raw vob data (you can rename it to .vob if you need to so it's basically a vob) but the data it contains is unreliable (times reset to 0 for no apparent reason sometimes).

I take it the help you are providing is definitely not for anyone who does DVDr? OCR is only for <dvdr formats far as I know. Us DVDr ppl use bitmaps, because many times the sub pic isn't a letter at all (white rabbit, for example) and an OCR would go batty trying to figure that one out!

unplugged
13th September 2002, 23:54
Originally posted by Eyes`Only
I never OCR, I use bitmaps, the OCR stuff I just ignored.
(My target is OGG movie)
It has its reasons and Subrip does take few time to perform good job (though isn't really OCR it does the job!). I may understand that you reject .SRT like formats, perhaps you never tried Subrip... uh?

Originally posted by Eyes`Only
But, doing another decrypt pass to create a subtitle vob? what program?
Problem isn't the program, but taking into account that actually DVDdecrypter 3.1.2.0 seems the best and very stable it's the choice.
It's very simple, perform a 2nd DVD rip, of course using "stream processing", but this time selecting only subtitle tracks (uncheck MPEG2 video and AC3; do not use demux or raw with subtitles, leave option to normal copy job).
A tiny VOB will be created containing the subtitles full working.

Eyes`Only
14th September 2002, 01:27
I do use subrip, I just don't rip to .srt, I use bitmaps (not OCR) and convert to .sst.

Good idea about the way to get a correct subtitle only stream! I will work on incorporating this into my batch file. I'll post my results as soon as i try this. It'll be nice to not have to wait the long time that subrip takes when it has to look through a full vob set.

zuggy
14th September 2002, 06:59
Sorry, I don't know how to write it even cleaner...

Either DVD Decrypter's raw .subs or DVD Decrypter's stripped subtitle tracks into separate .vob etc., both should work right with SubRip. BUT when reset-to-zero-timecode appear, you'll get desynch for sure, because of computing the "right" timecode from previous frame - in case of stripped-only subtitle tracks, from previous subtitle frame (it's timecode) again. And that's the point - the timecodes are "incontinuous" in this case because the major streams (A/V) are missing...

But there is a solution to work with compact file - to use VobSub, which strip subtitle stream(s) you want to .sub (VOB structure) file and make additional .idx file containing the timecodes. And because VobSub goes throught the whole vobs and count with reset2zero, this timecodes are correct. Then you can use SubRip or SubResync (both use .idx timecodes) for further processing, it's your choice.