somy 24 Posted August 21, 2014 Posted August 21, 2014 Hi, Sorry to bring this topic again - I'm pulling my hairs out to find a workaround but without luck. I have a lot of videos with simplied or traditional chinese which are encoded in GB2312/BIG5 charsets. When mediabrowser server transcodes the videos, it assumes the encoding is CP-1252 which causes the subtitles not being displayed correctly. The problem only affect external srt subtitles, ass subtitles work fine, ssa subtitles don't work at all. I've tried several things without any luck: Change srt file name to include "chn" , "chs" or "cht" Convert srt file to UTF-8 encoding Convert srt file to CP-1252 (all chars become "?" after convertion) I understand it will take time to develop something to support asian subtitles, and it won't be the high priority now. As a workaround, can I, in anyway to enforce FFMpeg to use a certain charset when transcoding srt subtitles? Please see the following command I found in another thread, I assume it will work if the -sub_charenc is configured correctly. C:\Users\thoror\AppData\Roaming\MediaBrowser-Server\ffmpeg\ffmpeg20131011\ffmpeg.exe -sub_charenc GB2312 -i "\\AUSTIN\media\TV Series\The Big Bang Theory\Season 1\The.Big.Bang.Theory.S01E02.720p.BluRay.x264-SiNNERS.chs.srt" "C:\Users\thoror\AppData\Roaming\MediaBrowser-Server\cache\subtitles\1\1329e16a-7e00-b6cb-5f3f-00e0c93fbfc6.ass" Please share your suggestion, thank you in advance!
somy 24 Posted August 22, 2014 Author Posted August 22, 2014 I'll play with this a little soon. Hi Luke, thank you for looking into this! I attach a srt file in GB2312 encoding which I hope you can use for investigation. After.Earth.2013.BluRay.1080p.DTS.x264-CHD.chs.zip
somy 24 Posted August 26, 2014 Author Posted August 26, 2014 I'll play with this a little soon.Hi Luke, could it be a good idea to add an option to choose encoding charset in transcode configuration for unknown language for now?
somy 24 Posted September 10, 2014 Author Posted September 10, 2014 I'll play with this a little soon. Hi Luke, do you know if the new beta version have some changes to support subtitles in other languages? Thank you!
somy 24 Posted January 2, 2015 Author Posted January 2, 2015 Sorry to bump up an old topic, but I recently tried the latest version of MB3 and I still seem to get problem with subtitles encoded in other charset other than CP-1252. Is it solved?
somy 24 Posted January 5, 2015 Author Posted January 5, 2015 Link to: http://mediabrowser.tv/community/index.php?/topic/12547-web-client-subtitles-character-encoding/ I'm no longer sure if this is a server issue or web client issue......
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now