Mpv: cp1250 encoded subtitle file shows bad diacritics

Created on 10 Aug 2018  路  9Comments  路  Source: mpv-player/mpv

mpv version and platform

mpv 0.14.0 (C) 2000-2015 mpv/MPlayer/mplayer2 projects
LUbuntu 16.04 LTS

Reproduction steps

Download .srt file with czech language subtitles encoded in CP1250 (it is encoding common for czech charset files. Example this (direct link) or indirect link here

When i play movie, it shows bad characters instead ones with diacritics. But when i open .srt file and save it as UTF-8 then the subtitles are right. Please kindly support CP1250 .srt files with czech characters like: 臎拧膷艡啪媒谩铆茅

Thank You


Work around for Linux is to browse to the menu where are apps, right click mpv and edit the command by adding: --sub-codepage=windows-1250

Most helpful comment

Ubuntu 16.04 is a long-term-support release, so you are legally obligated to provide support for it. Re-open this issue right now or I will contact my team of lawyers.

All 9 comments

update your mpv.

@Akemi apt-get install mpv says that i am at latest version 0.14.0-1build1
apt-get update want me to DL 70MB of data, but mpv* package is not within that. Any idea which command to run?

the one that uninstalls ubuntu

Your mpv is from 2015, because all packages in Ubuntu 16.04 are that outdated.

update your OS, 0.14 is from 2015 for gods sake. alternatively use mpv-build or one of the packages here. we can't be taken responsible for outdated OS' or packages.

Ubuntu 16.04 is a long-term-support release, so you are legally obligated to provide support for it. Re-open this issue right now or I will contact my team of lawyers.

@Akemi @CounterPillow "Lubuntu 16.04 LTS will be supported until April 2019, with three years of support." (source)

When i do $ ubuntu-support-status --show-all, it says mpv is within group "Podporov谩no do duben 2021 (Community - 5y):" which translates into: Supported to april 2021 (Community - 5y)
So it seems to me like my OS is updated, not EOL and so it should have new software updates like mpv..
Can anyone please update mpv in that repository (i have main universe restricted multiverse)? Or what is the issue?

We are not "the Ubuntu community". You're at the wrong place here. If you want a bug fixed in Ubuntu, report it to their bugtracker.

Hello, I have found a tutorial that contained following commands i executed:

sudo add-apt-repository ppa:mc3man/mpv-tests
sudo apt update && sudo apt install mpv

resulting installed package now is: mpv/xenial,now 2:0.28.0+git7~xenial3 i386

But the video with subtitles continue having bad characters. When i open the .srt file, all characters are good and Save As shows Encoding CP1250 and CR+LF (unsure if it means it is current state of the file)

So please where is the problem that MPV do not properly read the .srt file? @CounterPillow @Akemi

resulting installed package now is: mpv/xenial,now 2:0.28.0+git7~xenial3 i386

That's still a version behind.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fitipe picture fitipe  路  3Comments

szg0000 picture szg0000  路  3Comments

lightonflux picture lightonflux  路  4Comments

532910 picture 532910  路  3Comments

beew picture beew  路  3Comments