go2074 2017-9-10 20:28
如題,我想用mplayer聽歌但只run到video無聲出:smile_22: ,主要係detect唔到sound card 同audio device,求高手幫下手啦:smile_o03:
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:768:(parse_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:392:(snd_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:1251:(snd_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:4727:(snd_config_expand) Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2239:(snd_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
tam_n 2017-9-11 18:10
師兄,你用咩sound card?用其他軟件播歌有冇聲?用唔用pulse audio之類?
go2074 2017-9-15 19:04
用window軟件聽歌沒問題,係用mplayer無聲
鄉貢仁 2017-11-12 18:23
我想知點在subsystem 開 Ubuntu? :smile_41:
ryanNL 2017-11-13 01:22
It is not fully implemented