videos icon indicating copy to clipboard operation
videos copied to clipboard

Subtitle encoding missing from external subtitle

Open cassidyjames opened this issue 5 years ago • 6 comments

Moved from https://bugs.launchpad.net/audience/+bug/1360085

raulpetrut:

I have subtitles in Romanian and special characters are shown like this

https://dl.dropboxusercontent.com/u/1383137/Screenshot%20from%202014-08-22%2008%3A57%3A45.png https://dl.dropboxusercontent.com/u/1383137/Screenshot%20from%202014-08-22%2008%3A57%3A48.png

Also you can notice that subtitle looks ugly

This is how it looks in smplayer

https://dl.dropboxusercontent.com/u/1383137/Screenshot%20from%202014-08-22%2009%3A11%3A44.png https://dl.dropboxusercontent.com/u/1383137/Screenshot%20from%202014-08-22%2009%3A12%3A55.png

I wonder if we can take mplayer.conf subtitle settings and integrate it in Audience (subtitle size, shadow, color, language...)

Ivan Vrljić (vrlja92):

Same problem in Croatian. Letters like ž,š etc are shown as 009e or 009e. It is problem with encoding.

image

zin (zdravko-nikolov):

Hi, same problem here with Cyrillic subtitles. There should be an option to change the encoding for external subtitles. This is a must have feature!


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

cassidyjames avatar Feb 25 '19 18:02 cassidyjames

@cassidyjames Seems to be working with https://github.com/elementary/videos/pull/153 Tested with some random Romanian subtitles. and manually adding ž,š character in subs. Can someone confirm with the pr. image

arshubham avatar Oct 22 '19 12:10 arshubham

@arshubham Could you share the subtitle and video you've tested?

ryonakano avatar Oct 22 '19 13:10 ryonakano

Sub: https://send.firefox.com/download/c88d8ecbae592e8c/#ffa4uEpCB2pBaI_-wzWxwg You can test it on any video.

arshubham avatar Oct 22 '19 13:10 arshubham

Screenshot from 2019-10-22 22-11-06

@arshubham Thank you. ~I've also confirmed your PR does fix this issue too.~

Edit: wait, the issue seems to be also unreproducible.

ryonakano avatar Oct 22 '19 13:10 ryonakano

I just tested with master, can't reproduce the issue there too. Might have been fixed by gstreamer or subtitles of a particular extensions may be the issue. Adding incomplete status for now if someone has the issue, can share the subtitle file affected.

arshubham avatar Oct 22 '19 13:10 arshubham

Cyrilic subtitles do not work neighter windows-1251 nor UTF8 encoded.

Screenshot from 2019-12-15 15 06 49 Screenshot from 2019-12-15 15 07 35 subs.tar.gz

nnmlss avatar Dec 15 '19 13:12 nnmlss