BakaBT

Discussion Forums => General Discussions => Topic started by: Sakura90 on September 13, 2011, 11:04:00 PM

Title: Identifying subs type (and converting to SRT)
Post by: Sakura90 on September 13, 2011, 11:04:00 PM
Hi!

I was looking subs for an old movie and the only ones I can find are in some weird txt format (it's a simple txt file, but not idea about the formatting inside). I tried opening with Aegisub and it opens them, but not correctly, as it displays the numbers, some sort of timing, in the text lines and the start and end times are all 0s.

PotPlayer plays the subs well, with good timing and all, except for the italics that are only present for the upper line (in a 2 line sub).

Here's a sample:

Quote
{59}{221}SHOCHIKU PRESENTS
{304}{442}A DAISAN PRODUCTION
{494}{563}{y:i}About the movie adapted from "Daydream":
{563}{668}{y:i}I think it ten years ago|that my friend Takechi visited me...
{668}{774}{y:i}to ask for my permission to|adapt my novel "Daydream" into a play.
{774}{864}{y:i}In the beginning,|his plan was to make an opera,
{864}{954}{y:i}then he changed his mind|to a musical--he seemed hesitant.
{954}{1060}{y:i}He proceeded tentatively before|achieving the we see today.

Those are italics. These are "normal":

Quote
{14857}{14899}Cheiko Hamuro!
{15465}{15523}That's it for today.
{15655}{15744}Don't drink anything containing alcohol.
{16011}{16052}How are you feeling today?
{16480}{16523}Mr. Kurahashi!
{20339}{20383}Spit please.
{20957}{20991}How's the pain?
{21002}{21059}It hurts a little.

The numbers between {} must be the frames. Is there any way to convert all this to srt?


P.S.: Mkvmerge doesn't recognize txt files for subs, so more than a reason to convert this... crappy? subs format :-\


P.S. 2: No idea where to put this... maybe technology? Subs formats are technology? :P Lol, hope it won't bother you here ^_^
Title: Re: Identifying subs type (and converting to SRT)
Post by: halfelite on September 13, 2011, 11:17:06 PM
That format is mircodvd sub there are tons of converter programs to make them into srt i think Subtitle Workshop will. the real extension used to be .sub for it but people started renaming it to .txt try renaming back to .sub and opening in Aegisub
Title: Re: Identifying subs type (and converting to SRT)
Post by: Sakura90 on September 14, 2011, 05:52:13 AM
That format is mircodvd sub there are tons of converter programs to make them into srt i think Subtitle Workshop will. the real extension used to be .sub for it but people started renaming it to .txt try renaming back to .sub and opening in Aegisub
1000 thanks :-*

Changed extension to .sub, opened with Aegisub, manually input the movie framerate, shifted back 1 frame the end times of all lines (if not lines where overlapped) and replaced the italics marker with the proper {\i1}. Export to srt (utf-8) and done ;D