farter wrote:
shin3 wrote:
Awesome work, farter!
But I just want to know how to get Chinese subtitles(gb2312) displayed.
Here is what I have done:
1. Copy gkai00mp.ttf to \GEEXBOX\usr\share\fonts\
Copy gb2312.so and gb_2312-80.cct to \GEEXBOX\usr\share\iconv\
2. modify \GEEXBOX\etc\lang.conf
DEFAULT_LANGUAGE=zh_CN
DEFAULT_FONT=gkai00mp.ttf
3. modify \GEEXBOX\etc\subfont
gb2312
But still it doesn't work.
What should I do, do I need to compile the source file?
use this:
http://www.fs2you.com/files/33f94623-45ee-11dd-af83-001143e7b41c/
So sorry to bother you again, farter. I use the new .cct and .so you give me, and I can now get the menu to display Chinese, which means .cct/.so works well.
But .srt subtitle still refuses to show me Chinese. I double checked .srt file, and it definitely encode with gb2312, and I also changed \GEEXBOX\etc\subfont to cp936, gb2312 and gbk, but found no use. Is that some kind of my RP problem, or what?
I also notice movie become jerky while displaying subtitle.
A little update:
I try to use Debug mode, and manually type Mplayer comannd. I use bury.avi and bury.chs.avi for testing.
I try:
#mplayer /mnt/frontsd/bury.avi -sub /mnt/frontsd/bury.chs.srt
#mplayer /mnt/frontsd/bury.avi -sub /mnt/frontsd/bury.chs.srt -subcp cp936
#mplayer /mnt/frontsd/bury.avi -sub /mnt/frontsd/bury.chs.srt -subcp gb2312
#mplayer /mnt/frontsd/bury.avi -sub /mnt/frontsd/bury.chs.srt -subcp gb2312 -unicode
and some other combinations like that, but only English character can display correctly.
But I found the font style can be displayed correctly, cause I changed font to youyuan.ttf and then English characters are displayed that way.