PDA

View Full Version : textsub to bitmap sub?


MoFoQ
23rd February 2004, 03:31
I did a search but it didn't pan out.
I know about how to extract subs from VOBs so that VobSub can do the rest, without the need of OCR's but how do you convert text-based sub files (SSA, SRT, etc.) to a rendered bitmap sub that Vobsub supports (more over, that MKV supports)?

thx.

unmei
23rd February 2004, 07:27
i noted we're a bit short on graphical subtitle formats, so for now you'll probably have to go for sub/idx (4 colors only - counting the transparent color :( ).

A s for how to convert text into them, i don't really know. Maybe MaestroSBT can do it but i fear not. I had a function that can do it alpha stage in u96, but for now you cannot use it, except for demo. But in the next release i'll put it in a state where you can actually use it even if it will still be very feature limited.

What i still miss is a "director" for loading the subs into the renderer and put them in secence in the file, the important parts "capture" and "encode to sub (spu)" are already done, thus it could be it doesn't take too long till it works.

As for the initial format, u96 uses a format you probably don't have your subs in (usf), but as it imports srt and ssa you will be able to convert these two formats to sub/idx without too much hassle - hell, i wish i didn't have to talk in future tense here all the time :p

Liisachan
23rd February 2004, 13:40
i guess this is one of FAQs now...
Anyway, SSA -> IDX/SUB is possible with MaestroSBT + Son2Vobsub (http://www.anime.cz/s2v/) .
lmitation = no unicode support (therefore, "unicode-only" languages cannot be converted this way)

ukb007
24th February 2004, 01:58
Sometimes the subtitles contain foolish lines like (Man coughs) or (Sound or doorbell). They oughtn't to be there, and should be edited out. For that, we need to convert the vobsubs into a text-based (e.g., SubRipper) format, do the editing, and re-convert back into vobsubs if needed.

I don't know how this can be done, or whether it can be done at all...

Regards.

MoFoQ
24th February 2004, 05:16
true...but I want to make my own subs (using an SSA editor) and have 'em rendered but not into the video stream (so it can be turned on or off).

Liisachan
24th February 2004, 05:25
Originally posted by ukb007
Sometimes the subtitles contain foolish lines like (Man coughs) or (Sound or doorbell). They oughtn't to be there, and should be edited out. For that, we need to convert the vobsubs into a text-based (e.g., SubRipper) format, do the editing, and re-convert back into vobsubs if needed. Well, don't call them foolish. Might be very useful for deaf ppl, for instance. Anyway, open your .idx file, and youll see this msg:
# You can also modify timestamps or delete a few subs you don't like.
# Just make sure they stay in increasing order.

So, i guess what you'd like to do should be very easy (just delete one line or 2 )

ukb007
25th February 2004, 01:34
Y'know, an overwhelming number of people in the world aren't deaf ? :)

The .idx file doesn't write down the actual subtitle-lines. deleting time stamp will require finding out the exact time a line occurs. And I don't know...what if it's like the following one or two lines ?

(Man coughs) Are you feeling all right, sir ?

or like

(Man coughs)
Are you feeling all right, sir ?

Will deleting a timestamp not delete the entire line (or two lines) ?

Regards.

Liisachan
26th February 2004, 12:27
@ukb007
yeah, if you are picky, you may want to use SSA.
The quality of IDX+SUB is not very acceptable anyway.

DeKSoft
26th February 2004, 12:55
If you got the file in text format you can delete the "troubling lines" (the subtitles for the hearing impaired) with Subtitle Workshop automatically, if the corresponding option is enabled.