[问题]mplayer 一半是乱码,一半是正常!

Totem,mplayer,sopcast,realplayer,bmp
回复
头像
uzi
帖子: 78
注册时间: 2006-09-24 12:54
送出感谢: 0
接收感谢: 0
联系:

[问题]mplayer 一半是乱码,一半是正常!

#1

帖子 uzi » 2008-02-09 13:43

如图,mplayer 编码unicode cp9**都试过了,srt文件utf8编码

哪位遇到过同样的问题?怎么解决呢?
附件
Screenshot-MPlayer - Video.png
Aut viam inveniam aut faciam
头像
syrano
帖子: 4313
注册时间: 2007-10-06 18:40
送出感谢: 0
接收感谢: 5 次

#2

帖子 syrano » 2008-02-09 16:49

search the forum.
yh163
帖子: 38
注册时间: 2008-02-06 11:11
送出感谢: 0
接收感谢: 0

#3

帖子 yh163 » 2008-02-10 11:02

我的编码选cp936,再设置一个中文字体就正常了
附件
.png
.png (11.21 KiB) 查看 461 次
头像
uzi
帖子: 78
注册时间: 2006-09-24 12:54
送出感谢: 0
接收感谢: 0
联系:

#4

帖子 uzi » 2008-02-10 21:40

[quote="yh163"]我的编码选cp936,再设置一个中文字体就正常了[/quote]

我的编码选cp936,再设置一个中文字体,结果还是不正常。
Aut viam inveniam aut faciam
头像
syrano
帖子: 4313
注册时间: 2007-10-06 18:40
送出感谢: 0
接收感谢: 5 次

#5

帖子 syrano » 2008-02-10 21:48

sudo aptitude install ttf-arphic-ukai
sudo do ~/.mplayer/gui.conf

修改下面的选项
sub_cp = "cp936"
font_factor = "0.750000"
font_name = "/usr/share/fonts/truetype/arphic/ukai.ttf"

我的完整的gui.conf

enable_audio_equ = "no"
vo_driver = "xv"
vo_panscan = "0.000000"
vo_doublebuffering = "yes"
vo_direct_render = "no"
vo_dxr3_device = "/dev/em8300-0"
v_framedrop = "0"
v_flip = "0"
v_ni = "no"
v_idx = "-1"
vf_pp = "no"
vf_autoq = "0"
vf_lavc = "no"
ao_driver = "alsa"
ao_volnorm = "no"
softvol = "no"
ao_surround = "no"
ao_extra_stereo = "no"
ao_extra_stereo_coefficient = "1.000000"
dvd_device = "/dev/dvd"
cdrom_device = "/dev/cdrom"
osd_level = "1"
sub_auto_load = "yes"
sub_unicode = "no"
ass_enabled = "no"
ass_use_margins = "no"
ass_top_margin = "0"
ass_bottom_margin = "0"
sub_pos = "100"
sub_overlap = "no"
sub_cp = "cp936"
font_factor = "0.750000"
font_name = "/usr/share/fonts/truetype/arphic/ukai.ttf"
font_encoding = "unicode"
font_text_scale = "3.630000"
font_osd_scale = "6.000000"
font_blur = "2.000000"
font_outline = "2.000000"
font_autoscale = "3"
cache = "yes"
cache_size = "8192"
playbar = "yes"
load_fullscreen = "no"
show_videowin = "yes"
stopxscreensaver = "yes"
autosync = "no"
autosync_size = "0"
gui_skin = "default"
gui_save_pos = "yes"
gui_main_pos_x = "387"
gui_main_pos_y = "634"
gui_video_out_pos_x = "0"
gui_video_out_pos_y = "0"
equ_channel_1 = "Front Right"
equ_channel_2 = "Front Left"
equ_channel_3 = "Rear Right"
equ_channel_4 = "Rear Left"
equ_channel_5 = "Center"
equ_channel_6 = "Bass"
equ_band_00 = "0.000000"
equ_band_01 = "0.000000"
equ_band_02 = "0.000000"
equ_band_03 = "0.000000"
equ_band_04 = "0.000000"
equ_band_05 = "0.000000"
equ_band_06 = "0.000000"
equ_band_07 = "0.000000"
equ_band_08 = "0.000000"
equ_band_09 = "0.000000"
equ_band_10 = "0.000000"
equ_band_11 = "0.000000"
equ_band_12 = "0.000000"
equ_band_13 = "0.000000"
equ_band_14 = "0.000000"
equ_band_15 = "0.000000"
equ_band_16 = "0.000000"
equ_band_17 = "0.000000"
equ_band_18 = "0.000000"
equ_band_19 = "0.000000"
equ_band_20 = "0.000000"
equ_band_21 = "0.000000"
equ_band_22 = "0.000000"
equ_band_23 = "0.000000"
equ_band_24 = "0.000000"
equ_band_25 = "0.000000"
equ_band_26 = "0.000000"
equ_band_27 = "0.000000"
equ_band_28 = "0.000000"
equ_band_29 = "0.000000"
equ_band_30 = "0.000000"
equ_band_31 = "0.000000"
equ_band_32 = "0.000000"
equ_band_33 = "0.000000"
equ_band_34 = "0.000000"
equ_band_35 = "0.000000"
equ_band_36 = "0.000000"
equ_band_37 = "0.000000"
equ_band_38 = "0.000000"
equ_band_39 = "0.000000"
equ_band_40 = "0.000000"
equ_band_41 = "0.000000"
equ_band_42 = "0.000000"
equ_band_43 = "0.000000"
equ_band_44 = "0.000000"
equ_band_45 = "0.000000"
equ_band_46 = "0.000000"
equ_band_47 = "0.000000"
equ_band_48 = "0.000000"
equ_band_49 = "0.000000"
equ_band_50 = "0.000000"
equ_band_51 = "0.000000"
equ_band_52 = "0.000000"
equ_band_53 = "0.000000"
equ_band_54 = "0.000000"
equ_band_55 = "0.000000"
equ_band_56 = "0.000000"
equ_band_57 = "0.000000"
equ_band_58 = "0.000000"
equ_band_59 = "0.000000"
头像
uzi
帖子: 78
注册时间: 2006-09-24 12:54
送出感谢: 0
接收感谢: 0
联系:

#6

帖子 uzi » 2008-02-11 11:06

老问题解决了,新问题出现了

字幕编码可以在/etc/mplayer/mplayer.conf里配 么?
附件
Screenshot-MPlayer-gd.png
Aut viam inveniam aut faciam
头像
karron
帖子: 6226
注册时间: 2005-06-11 14:03
来自: 不明真相的群众
送出感谢: 0
接收感谢: 0
联系:

#7

帖子 karron » 2008-02-11 12:20

用smplayer做前端, 就不需要去手工改配置文件了, 选项里面设置很方便
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
头像
syrano
帖子: 4313
注册时间: 2007-10-06 18:40
送出感谢: 0
接收感谢: 5 次

#8

帖子 syrano » 2008-02-11 13:11

uzi 写了:老问题解决了,新问题出现了

字幕编码可以在/etc/mplayer/mplayer.conf里配 么?
貌似可以。
头像
bwchaos
帖子: 416
注册时间: 2006-10-19 14:08
来自: 西夏
送出感谢: 0
接收感谢: 0
联系:

#9

帖子 bwchaos » 2008-02-12 11:05

karron 写了:用smplayer做前端, 就不需要去手工改配置文件了, 选项里面设置很方便

自从用了smplayer。。。。。。。。。。。。。
头像
chunchengch
帖子: 181
注册时间: 2007-07-02 0:03
送出感谢: 0
接收感谢: 0

#10

帖子 chunchengch » 2008-02-13 11:56

uzi 写了:老問題解決了,新問題出現了
請問你是如何解決"mplayer 一半是亂碼,一半是正常"這問題的?
回复

回到 “影音多媒体”