Page 1 of 1

subtitle problem

Posted: 22 Feb 2007 06:33
by Jouke
i got some .srt file as subtile.. and their format is like:

Code: Select all

2 00:00:50,934 --> 00:00:52,128 here the subtile is.....
instead of

Code: Select all

2 00:00:50,934 --> 00:00:52,128 here the subtile is.....

by the other player, like km player, media player, their subtitle reader can ignore the blank line...but the vlc, can not.
and i try to use vlc in my mac.. so..

i thought there should be some option in vlc, like, "ingore blank line"....something like this.. but, i didnt find..

and i figured out anohter way that is to delete all the blank lines in MS Word..and i dont think it make sense..

is there any guy has idea about the problem? and if yes, could you please give me the solution?


anyway, thanks a lot... :o

Posted: 22 Feb 2007 13:37
by PrometheusG
Support for subtitles, including the .srt format, is pretty poor at the moment. Doesn't seem like too many people are interested in making it better. See here for more info.

To be fair though, the format doesn't specify ignoring blank lines, so blank lines should technically be rendered.

Best advice I can give you is remove the extraneous blank lines. Get yourself a decent text editing program if you've got a lot files to edit. Most have ways to automate advanced editing jobs like that using regular expressions. A couple of good ones are Ultraedit and EditPad.

Posted: 22 Feb 2007 13:57
by Jean-Baptiste Kempf
Well, we are working on it.
Where are the specs for .srt ?

Posted: 23 Feb 2007 16:32
by Jouke
thanks you guys a lot..
and i'm really glad to hear you guys are working on that...expecting..

to delete extraneous blank lines is not a really complicated, i just try to give some feedback and i could understand it takes time to figure out ..

anyway, thanks you guys again and wish you guy enjoy the developmen..

Posted: 23 Feb 2007 20:23
by DJ
SRT based subs are a common side element of VOBSub Subtitle Ripper. I have never experienced your issue using this program to create SRT based subs. Perhaps you should be looking for cause in the encoding program or try another program. For a very long time this program was the only way to create SRT files.

As a side note: A subtitle editor may be more helpful than doing this by hand.

While I agree, blank lines should not create an issue, they are also not a part of the format structure for SRT.

Posted: 24 Feb 2007 09:13
by Jouke
the thing is, once i delete all the blank lines, the .srt works..