• 瀏覽: 4,362
  • 回覆: 5
如題,我想用mplayer聽歌但只run到video無聲出 ,主要係detect唔到sound card 同audio device,求高手幫下手啦

bash command既結果如下:
mplayer -ao alsa naruto
MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team

Playing naruto.
libavformat version 54.20.4 (external)
Mismatching header version 54.20.3
libavformat file format detected.
[lavf] stream 0: video (vp8), -vid 0
[lavf] stream 1: audio (vorbis), -aid 0
VIDEO:  [VP80]  480x360  0bpp  1000.000 fps    0.0 kbps ( 0.0 kbyte/s)
Load subtitles in ./
Xlib:  extension "XFree86-VidModeExtension" missing on display "localhost:0.0".
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.35.1 (external)
Mismatching header version 54.35.0
Selected video codec: [ffvp8] vfm: ffmpeg (FFmpeg VP8)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->352800)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
[AO_ALSA] alsa-lib: confmisc.c:768parse_card) cannot find card '0'
[AO_ALSA] alsa-lib: conf.c:4248_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:4248_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:4248_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:4727snd_config_expand) Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2239snd_pcm_open_noupdate) Unknown PCM default
[AO_ALSA] Playback open error: No such file or directory
Failed to initialize audio driver 'alsa'
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback...
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [x11] 480x360 => 480x360 Planar YV12
Shared memory not supported
Reverting to normal Xlib
[swscaler @ 0x7f176b615640]using unscaled yuv420p -> bgra special converter



師兄,你用咩sound card?用其他軟件播歌有冇聲?用唔用pulse audio之類?


用window軟件聽歌沒問題,係用mplayer無聲


提示: 作者被禁止或刪除 內容自動屏蔽
[隱藏]
我想知點在subsystem 開 Ubuntu?  


It is not fully implemented


[按此隱藏 Google 建議的相符內容]