Bug #2133
Bad subtitle encoding
0%
Description
Hi,
I'm France with french TV, and I've tried absolutely everything on my side to have subtitle encoding work with no success.
Here I provide a mkv made by tvheadend : https://dl.dropboxusercontent.com/u/1266842/Subtitle_encoding_example.mkv
On Mac iMkvextract says the subtitle are UTF8, i'm not sure that's right (on this channel I've tried to change to latin-1 with no success in the thv encoding section for service mapped to this channel)
Here's the extracted sub file : https://dl.dropboxusercontent.com/u/1266842/subtitles4.srt
I can provide any
Files
History
Updated by c0m m0n over 10 years ago
Found the bug !
French is badly detected in teletext parser. Hardcoding french in languages for tt parsing fixes the bug
Line 170 replacing
int no = laG0_nat_opts_lookup[Gtriplet & 0xf][natopts & 0x7];
by this
int no = 3;
I'll try to dig more.
Updated by c0m m0n over 10 years ago
Fixed in latest master, thanks perexg !
This also should fix encoding for any languages.