You are not logged in.

#1 2010-02-06 19:08:48

archkick
Member
Registered: 2006-09-18
Posts: 34

Mplayer ang Subtitles

Hello there....

I'm trying to watch a movie with greek subtitles... sad But i cant !!!

Here are my settings so far....

-There is no /etc/mplayer/config file
-I've edited ~/.mplayer/config and added inside

stop-xscreensaver="yes"
sub-fuzziness=1
font=/usr/share/fonts/TTF/DejaVuSans.ttf
#with subfont-text-scale you can change the size of fonts
subfont-text-scale=3
subcp="iso-8859-7"

and the file command for the srt file outputs

Prison.Break.The.Final.Break.WS.PDTV.XviD-iLM.srt: ISO-8859 text, with CRLF line terminators

The result is something like "  ___π____ .  .π "

Can anybody please help me??

Thank you very much

Offline

#2 2010-02-06 19:13:30

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: Mplayer ang Subtitles

You probably should change subcp to whatever encoding Windows uses.

Offline

#3 2010-02-06 19:39:15

archkick
Member
Registered: 2006-09-18
Posts: 34

Re: Mplayer ang Subtitles

do you mean that i should read the file from windows and then change the line with the appropriate?

I downloaded the sbtitles and by the way it works fine with windows XP...

Offline

#4 2010-02-06 19:43:22

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: Mplayer ang Subtitles

If I want to see polish characters in mplayer, I have to set the encoding to cp1250 (the encoding Windows uses), not iso-8859-2. Set subcp to cp1253.

Last edited by lucke (2010-02-06 19:45:24)

Offline

#5 2010-02-06 20:25:15

beroal
Member
From: Ukraine
Registered: 2009-06-07
Posts: 384
Website

Re: Mplayer ang Subtitles

archkick, you are already told how you can remedy the problem, I just want to explain why.

srt subtitles may be in different character encodings, unfortunately a character encoding is not written in srt file. Some media players determine a character encoding by themselves, mplayer does not. So you should change "subcp" mplayer option to different Greek character encodings (including UTF-8 and other Unicode) until you get readable subtitles.

Last edited by beroal (2010-02-06 20:27:24)


we are not condemned to write ugly code

Offline

Board footer

Powered by FluxBB