This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

Problem with Sub subtititles

Problems, bugs, suggestions... anything related to SMPlayer.

Problem with Sub subtititles

Postby the waiter » Fri Mar 16, 2012 5:30 am

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...
the waiter
 
Posts: 51
Joined: Tue Jan 24, 2012 1:00 pm

Re: Problem with Sub subtititles

Postby rvm » Fri Mar 16, 2012 10:41 pm

Could you send those subtitles?
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Problem with Sub subtititles

Postby Ian2000 » Sun Mar 18, 2012 10:12 am

anyone from opensubtitle :(
[menu]->[subtitles]->[Find subtitles...]->[download]

srt ok
sub not
Ian2000
 

Re: Problem with Sub subtititles

Postby the waiter » Sun Mar 18, 2012 12:59 pm

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...
the waiter
 
Posts: 51
Joined: Tue Jan 24, 2012 1:00 pm

Re: Problem with Sub subtititles

Postby rvm » Sun Mar 18, 2012 1:46 pm

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.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Problem with Sub subtititles

Postby the waiter » Sun Mar 18, 2012 9:16 pm

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?
the waiter
 
Posts: 51
Joined: Tue Jan 24, 2012 1:00 pm

Re: Problem with Sub subtititles

Postby rvm » Sun Mar 18, 2012 10:53 pm

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.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Problem with Sub subtititles

Postby Ian2000 » Mon Mar 19, 2012 10:52 am

Exactly what You mean by bad EOF?
Ian2000
 

Re: Problem with Sub subtititles

Postby the waiter » Mon Mar 19, 2012 2:03 pm

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.
the waiter
 
Posts: 51
Joined: Tue Jan 24, 2012 1:00 pm

Re: Problem with Sub subtititles

Postby strg » Sun Mar 25, 2012 12:28 pm

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)
strg
 

Next

Return to General

Who is online

Users browsing this forum: No registered users and 32 guests