mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.3k stars 2.9k forks source link

Does mpv support Persian subtitle? #2265

Closed Daniyal-Javani closed 9 years ago

Daniyal-Javani commented 9 years ago

Hello When I play a Persian subtitle just show unknown characters. I also add --sub-codepage=enca but still have the same problem. In other players I select "Arabic Windows (CP1256)" or "Arabic (ISO-8859-6) as subtitle encoding, but I can't find these options in mpv. Could you please help me?

Daniyal-Javani commented 9 years ago

Oops this worked for me. --sub-codepage=utf8:cp1256 and sometimes --sub-codepage=utf8:ISO-8859-6 https://github.com/mpv-player/mpv/issues/1263

ghost commented 9 years ago

You can try compiling mpv git with uchardet support enabled. There's a chance it might get it right automatically.