| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 7293 人关注过本帖
标题:Fedora 14 mplayer 播放音乐,每次没有声音。输入#mknod /dev/dsp c 14 3 # ...
只看楼主 加入收藏
s010084366
Rank: 2
来 自:河南
等 级:论坛游民
帖 子:40
专家分:12
注 册:2010-7-23
结帖率:33.33%
收藏
 问题点数:0 回复次数:1 
Fedora 14 mplayer 播放音乐,每次没有声音。输入#mknod /dev/dsp c 14 3 #chmod 666 /dev/dsp才可以
每次开机之后使用都没有声音 输入上面的两行命令才行。请问怎么解决?[root@localhost Downloads]# mplayer *.aac
MPlayer SVN-r31628-4.4.4 (C) 2000-2010 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing  曾经的最美.aac.
libavformat file format detected.
[lavf] stream 0: audio (aac), -aid 0, -alang und
Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: M4A mp42isom
 encoder: Nero AAC codec / 1.5.4.0
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 24.0 kbit/1.70% (ratio: 3000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
[AO_ALSA] alsa-lib: pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused
[AO_ALSA] Playback open error: Connection refused
Failed to initialize audio driver 'alsa'
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
[AO_ALSA] alsa-lib: pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused
[AO_ALSA] Playback open error: Connection refused
AO: [pulse] Init failed: Connection refused
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO_ALSA] alsa-lib: pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused
[AO SDL] Unable to open audio: No available audio device
DVB card number must be between 1 and 4
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:  23.5 (23.4) of 268.7 (04:28.7)  1.8%                                       
Exiting... (Quit)
显示的信息如上:
搜索更多相关主题的帖子: 音乐 MPlayer support stream 
2013-01-26 13:41
s010084366
Rank: 2
来 自:河南
等 级:论坛游民
帖 子:40
专家分:12
注 册:2010-7-23
收藏
得分:0 
我的问题已解决:解决方法如下:
在/etc/rc.local里添加:
#mknod /dev/dsp c 14 3
#chmod 666 /dev/dsp
exit 0
然后就可以了

无穷的远方,无尽的人们,都和我有关
2013-01-27 10:35
快速回复:Fedora 14 mplayer 播放音乐,每次没有声音。输入#mknod /dev/dsp c 1 ...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.027049 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved