Page 1 of 3
Problem with Sub subtititles
Posted:
Fri Mar 16, 2012 5:30 am
by the waiter
I downloaded subs for one short movie. There was a sub file availlable but after downloading no subs was appeared. I tried other players and there was no problem. After short investigation I found, there are not \n (EOL) in each line. It is interesting, because when I show this file via Total commander F3 there seems to be averything allright. But, after F4 I can see subtitles in one single row with a square as delimiter. What could be wrong? I have found some more problematic sub files for another movies since then...
Re: Problem with Sub subtititles
Posted:
Fri Mar 16, 2012 10:41 pm
by rvm
Could you send those subtitles?
Re: Problem with Sub subtititles
Posted:
Sun Mar 18, 2012 10:12 am
by Ian2000
anyone from opensubtitle
[menu]->[subtitles]->[Find subtitles...]->[download]
srt ok
sub not
Re: Problem with Sub subtititles
Posted:
Sun Mar 18, 2012 12:59 pm
by the waiter
I sent pm to rvm with those subs and he replied the mplayer is the issue. There is no possibility to solve it as smplayer is the frontend. But I am thinking of trying KMplayer in Linux to compare and installing Mplayer2. Maybe mplayer2 is a way...
Re: Problem with Sub subtititles
Posted:
Sun Mar 18, 2012 1:46 pm
by rvm
I've just tested the subtitles with mplayer2 (the version in ubuntu 11.10) and I'm afraid it has the same issue. Only the first line is displayed.
Re: Problem with Sub subtititles
Posted:
Sun Mar 18, 2012 9:16 pm
by the waiter
Hmm, so I have some suggestions then
1. do nothing and leave it as it is. Easy way but we want SMplayer to be great. Many other players did this job.
2. connect mplayer developers and report this bug and ask for solving. Rvm, how close are you to devs?
3. after downloading sub file, replace bad EOLs with the correct ones. Nothing hard to code I think
What do you think?
Re: Problem with Sub subtititles
Posted:
Sun Mar 18, 2012 10:53 pm
by rvm
Does this only happen with subtitles from opensubtitles.org?
In this case, yes I can do the 3) option. Although I think the best would be to report the problem to the mplayer devs.
Re: Problem with Sub subtititles
Posted:
Mon Mar 19, 2012 10:52 am
by Ian2000
Exactly what You mean by bad EOF?
Re: Problem with Sub subtititles
Posted:
Mon Mar 19, 2012 2:03 pm
by the waiter
EOL=End of line
It means, every line in text file shouls be ended with special hidden char to identify it is end of line.
EOF is end of file.
Re: Problem with Sub subtititles
Posted:
Sun Mar 25, 2012 12:28 pm
by strg
I had the same problem and it occurs that it really is a problem of "end of line" char.
To fix this you should open each subtitles file with some text editor (i used mousepad) and save it once again using different EOL chart (in mousepad in dialog "save as" there is a list i right bottom, where you should change CR to LF)