Got some weird subtitle problem the other day

Just have a drink and chat
jdarias
New Cone
New Cone
Posts: 6
Joined: 04 Oct 2008 20:34

Got some weird subtitle problem the other day

Postby jdarias » 10 May 2009 17:42

So I got this movie, and somebody uploaded a set of subtitles in *.srt, since there were no english ones in the original release. The problem is, when I played it in vlc, the subs being displayed were chunks of the timestamps, not the actual subtitles!
I checked them out in subtitleeditor, but couldn't open it, neither could subtitle workshop (both said unsupported subtitle fomat). The weird thing is, any normal text editor opened them just normal. I googled for srt subtitles repair, and found a bunch of little proggies that supposedly would fix any syntax error but none woud do. they crashed.
Out of frustration, I tried an online repair tool, and it worked! I could open them in the editors, and vlc showed them just normal.
So what was the problem? I got a diff app to compare both bad and fixed subs, and turns out that the bad ones were using dots in the timestamps instead of colons! so for example, the bad sub looked like this:
4
00:02:24.900 --> 00:02:27.016
I'll open the door.

5
00:02:28.700 --> 00:02:30.418
You can come in.
And the fixed one like this:
4
00:02:24,900 --> 00:02:27,016
I'll open the door.

5
00:02:28,700 --> 00:02:30,418
You can come in.
Notice the difference?
I just couldn't believe why so many programs were unable to fix this annoyance. Weird, isn't it?

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:

Re: Got some weird subtitle problem the other day

Postby Jean-Baptiste Kempf » 11 May 2009 02:07

Stupid people don't follow the specs...
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.


Return to “Coffee Corner”

Who is online

Users browsing this forum: No registered users and 14 guests