View Full Version : Ripping subs in several colours
Torne
5th June 2002, 02:53
This is probably a stupid question, but I have a video with more than one colour of subtitle. I'm using SubRip as I need the subs in text format, and it ignores any subs which aren't the same colour as the first one. There is only one colour in any single subpicture.
I have version 0.97b of SubRip.. 0.98b crashes horribly on opening any VOB on my machine (windows 2000) so I've not tried that.
Will any other program take subs of more than one colour and produce textfile output? Or is there some cunning way of doing it of which I am not aware? =)
Thanks in advance,
Torne
Schultz
5th June 2002, 03:33
I belive srt can only have one color of output for the subs.. But i know if you convert your srt file to ssa that you will be able to define and use different colors. but you will have to do some hand editing of the ssa if you convert it from srt since it will just use a default color.. Or i belive you can do basic editing off ssa files in SubResync in the vobsub package.. SubResync will also convert srt to ssa..
Torne
5th June 2002, 14:23
No, wrong problem =) Thanks anyhow..
The subs on the actual DVD source are in more than one colour (the dialogue is yellow w/black border but the song lyrics are green w/black border). I don't particularly care if they come out all the same colour in the rip. SmartRipper ignores the subpictures with green words because the first subpicture it saw had yellow words.
Hope that's clearer..
Torne
ppera2
5th June 2002, 14:39
I didn't see such DVD, but you should try some trick: rip first one color, then reset time and clear text and skip pics until reach other color and then rip such pics...
If it will success you need 'only' to correctly join 2 text files ;) .
Torne
5th June 2002, 22:42
I'm slightly embarrased that I didn't think of that. In fact, what works is just to select Color 3 instead of the detected Color 2 when the first subpicture pops up - it will then ignore all the subs in the colour I already have and only save the ones in the other colour.
How I selected the colours (this is just for anyone else, maybe other DVDs are like this?)
Colour 0 is the background, because when I picked it the background of the picture was white.
Colour 1 is the text border, because when I picked it the text appeared in outline.
Colour 2 is the regular subs
Colour 3, by elimination, must be the other subs.
As far as joining them goes, Subtitle Studio worked because in this particular episode the alternate coloured subs only appeared in one segment of the movie. You can just select the last regular coloured sub in SS, then hit 'join', select the other file and set both offsets to zero, and it puts them in fine. Not sure what will happen if there is more than one segment of alternately coloured subs. =)
Thanks,
Torne
primitive
7th June 2002, 13:55
This is exactly what happened to me. Sadly enough, Crest of the Stars likes to interleave the colors of the subtitles: some at the beginning, some at the end, whatever. I'm writing a tool for merging and reindexing .srt subtitle files right now.
-p
ppera2
7th June 2002, 18:32
Nice...
Maybe it could be simpler to merge Subviewer or MicroDVD format, because no line numbers...
maven
8th June 2002, 12:42
been there done that:
rip twice (once with default colour, then with the colour where the 1st (default) colour is invisible). mark italic characters <i>X</i>.
save both files as .sub (no indices).
replace "</i><i>" with ""
replace "</i> <i>" with " "
(fix up italics, do the same for bold if you've encountered that)
in the 2nd file (= 2nd colour) do a <font color=#123456>blabla</font> (i think that's the right HTML-syntax for S(A)MI). if in doubt check VobSub source.
join them (either manually or hack a short script / macro / program together that does it for you).
convert sub -> sami (there is a tool for that) & use DVobSub (which displays these colours & italics thanks to my genius ;) (well... mostly gabest's genius in fact ^_^)).
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.