mplayer问题

Totem,mplayer,sopcast,realplayer,bmp
回复
yxin007
帖子: 33
注册时间: 2008-07-19 13:43

mplayer问题

#1

帖子 yxin007 » 2008-09-24 19:31

我在用命令行打开mplayer时,总是有这样的提示:

Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video


但是,我用gmplayer能播放电影。
求大虾能给指点迷津
菜鸟不胜感激
头像
sinyadvan
帖子: 724
注册时间: 2008-04-02 15:36
来自: O_O

Re: mplayer问题

#2

帖子 sinyadvan » 2008-09-24 20:24

代码: 全选

love[~]$ cat ~/.mplayer/config
# Configuration files are read system-wide from /usr/local/etc/mplayer.conf
# and per user from ~/.mplayer/config, where per-user settings override
# system-wide settings, all of which are overrriden by the command line.
##################
# video settings #
##################
vo=xv #关键
zoom=yes
# monitoraspect=16:9  
# vf=expand=:::::16/9:1
# Keep the player window on top of all other windows.
ontop=yes
#启用全屏刷新
noslices=yes 
#重新填充vo索引
fixed-vo=yes
idx=yes
#打开双倍缓冲区
double=yes
##################
# audio settings #
##################
# Specify default audio driver (see -ao help for a list).
ao=alsa #关键
#af=volume=-5
#softvol=1
##################
# other settings #
##################
# Drop frames to preserve audio/video sync.
framedrop = yes
#字体位置,可以用
#ln -s /usr/share/fonts/ABC.ttf ~/.mplayer/subfont.ttf
#建个软连接然后去掉下面一行的‘#’字符
#font=~/.mplayer/subfont.ttf
#根据你大部分字幕编码而定
subcp=GB2312

subfont-autoscale=1
#(仅用于 FreeType)设置字体边框的宽度(默认是: 2)
subfont-outline=1 
#字幕的自动缩放系数(屏幕尺寸的百分比),默认值为5
subfont-text-scale=4
#OSD的自动缩放系数(屏幕尺寸的百分比),默认值为6
subfont-osd-scale=3
#字体柔化半径,值范围为0~8,默认是2
subfont-blur=3
#支持多语言字幕
overlapsub=1
#识别字幕的
sub-fuzziness=2 
#显示osd的
#osdlevel=1
^o^ && O_O && ^_^
One World|One Dream|One Piece
愛 ^_^ 這個 美麗的世界O_O

本公司专治各种不服、不爽、谩骂、挑衅。
回复