subtitle problem

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Jouke
New Cone
New Cone
Posts: 4
Joined: 21 Feb 2007 11:48

subtitle problem

Postby Jouke » 22 Feb 2007 06:33

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

PrometheusG
New Cone
New Cone
Posts: 7
Joined: 15 Jan 2007 09:24

Postby PrometheusG » 22 Feb 2007 13:37

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 22 Feb 2007 13:57

Well, we are working on it.
Where are the specs for .srt ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Jouke
New Cone
New Cone
Posts: 4
Joined: 21 Feb 2007 11:48

Postby Jouke » 23 Feb 2007 16:32

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..

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 23 Feb 2007 20:23

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.

Jouke
New Cone
New Cone
Posts: 4
Joined: 21 Feb 2007 11:48

Postby Jouke » 24 Feb 2007 09:13

the thing is, once i delete all the blank lines, the .srt works..


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests