|
|
在FC4系统, 在 .mplayer中的config设置为subcp=cp936
font=/usr/share/fonts/chinese/TrueType/simsun.ttf(确实存在
还试过设置过其他很多字体文件,在大部分相关文件夹都被我疯狂的放置了字体文件)
gui.conf中的参数都正确设置了
/usr/share/mplayer/fonts下的文件有:
font.desc iso-8859.2.a.raw iso-8859.2.b.raw koi8r osd-mplayer-a.raw
osd-mplayer-b.raw simsun.ttf(subfont.ttf也试过)
font.desc中的一部分内容:
[info]
name 'Subtitle font for iso-8859-2 encoding, "Arial Regular" face, size: 18.0 pixels.'
descversion 1
spacewidth 13
charspace -8
height 21
[files]
alpha iso-8859-2-a.raw
bitmap iso-8859-2-b.raw
[characters]
0x0021 0 12; U+0021|!
0x0022 16 29; U+0022|"
0x0023 32 49; U+0023|#
0x0024 56 73; U+0024|$
0x0025 80 103; U+0025|%
0x0026 104 123; U+0026|&
0x0027 128 138; U+0027|'
0x0028 144 157; U+0028|(
0x0029 160 173; U+0029|)
下面类似
...
运行mplayer -sub a.srt a.avi
显示
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale
MPlayer 0.90pre8-RPM-3.1 (C) 2000-2002 Arpad Gereoffy (see DOCS)
CPU: Advanced Micro Devices (Family: 6, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile MPlayer with --disable-runtime-cpudetection
Reading /home/admin/.mplayer/codecs.conf: can't open '/home/admin/.mplayer/codecs.conf': \u6ca1\u6709\u90a3\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55
Reading /etc/mplayer/codecs.conf: 38 audio & 106 video codecs
Syntax error in font desc: ttcf
Syntax error in font desc: \uffff
Syntax error in font desc: q
下面也类似...并且有乱码.
实在搞不懂了,各位救命啊!!!!!!!!! |
|