putty 登录无法在终端播放音乐?
pi@raspberrypi /mnt/usb $ mplayer song.mp3MPlayer svn r34540 (Debian), built with gcc-4.6 (C) 2000-2012 MPlayer Team
Playing song.mp3.
libavformat version 53.21.0 (external)
Mismatching header version 53.19.0
Audio only file format detected.
Load subtitles in ./
==========================================================================
Requested audio codec family (afm=mpg123) not available.
Enable it at compilation.
Opening audio decoder: FFmpeg/libavcodec audio decoders
libavcodec version 53.35.0 (external)
Mismatching header version 53.32.2
AUDIO: 44100 Hz, 2 ch, floatle, 320.0 kbit/11.34% (ratio: 40000->352800)
Selected audio codec: afm: ffmpeg (FFmpeg MPEG layer-3 audio)
==========================================================================
AO: Init failed: Connection refused
Failed to initialize audio driver 'pulse'
Unable to set hw-parameters: Invalid argument
Failed to initialize audio driver 'alsa'
Samplerate: 44100Hz Channels: Stereo Format floatle
using aalib audio driver.
Unsupported audio format: 0x1d.
Unable to open audio: No available audio device
Failed to initialize audio driver 'sdl:aalib'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
Exiting... (End of file)
pi@raspberrypi /mnt/usb $
我是在putty登录的,然后挂载了一个U盘,用mplayer播放mp3报错,请教下,这个是什么原因? 看了头晕 感觉像声卡没设置好,换个播放器试试呢? 1. 在X11界面下验证这个流程确实可以播放声音
2. 查找audio driver 'pulse',audio driver 'alsa',audio driver 'sdl:aalib'三项失败的原因。 还有这需求? 我用的moc 断开hdmi,只连接3.5mm输出,
默认mplayer使用的就是3.5mm输出端,但系统会在接上hdmi后自动屏蔽3.5mm输出,所以会造成你这种错误
页:
[1]