LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 693|回复: 1

mplayer 播放时出错!

[复制链接]
发表于 2008-2-28 04:08:45 | 显示全部楼层 |阅读模式
出错信息
Playing 一定要成功.mp3.
Audio file file format detected.
Clip info:
Title: ��Ƽ_һ��Ҫ�ɹ�
Artist: ׿���ù������www.timizhuo.com
Album: ��Ƽ����www.lincuiping.cn
Year:
Comment: ��׿���ù�����ˡ�
www.timi
Track: 8
Genre: Other
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
*** PULSEAUDIO: Unable to connect: Connection refused
[AO_ALSA] Playback open error: Connection refused
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
 楼主| 发表于 2008-2-29 00:25:11 | 显示全部楼层
成功了,提供给大家参考。
yum install alsa-oss
然后修改/etc/esd.conf修改如下:
auto_spawn=1
spawn_options=-terminate -nobeeps -as 2 -d default
spawn_wait_ms=100
# default options are used in spawned and non-spawned mode
default_options=
就可以了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表