mpv 列出所有声卡:
mpv --audio-device=help
A133 运行:
# mpv --audio-device=help
List of detected audio devices:
'auto' (Autoselect device)
'alsa' (Default (alsa))
'alsa/sysdefault:CARD=sun50iw10codec' (sun50iw10-codec, /Default Audio Device)
'alsa/sysdefault:CARD=snddaudio0' (snddaudio0, /Default Audio Device)
#
#
# mpv --no-video --ao=alsa --audio-device='alsa/sysdefault:CARD=snddaudio0' --audio-format=s16 --audio-samplerate=48000 /tmp/今天.wav
Playing: /opt/05. Crossing The Ridg DSD64.dff
[ffmpeg/demuxer] iff: Estimating duration from bitrate, this may be inaccurate
(+) Audio --aid=1 (dsd_msbf 2ch 352800Hz)
File tags:
Artist: Dawada (ZHU Zheqin)
Album: Sister-Drum
Date: 2013-30-10
Genre: Blues
Tit[ 3508.093920] snddaudio snddaudio0: codec_dai set sysclk failed
le: Crossing The Ridge
[ 3508.103226] snddaudio snddaudio0: codec dai set fmt failed
Track: 5
[ 3508.112150] snddaudio snddaudio0: codec_dai set clkdiv failed
AO: [alsa] 48000Hz stereo 2ch s16
A: 00:00:02 / 00:05:57
# mpv --no-video --ao=alsa --audio-device='alsa/sysdefault:CARD=sun50iw10codec' --audio-format=s16 --audio-samplerate=48000 /tmp/今天.wav
Playing: /opt/05. Crossing The Ridg DSD64.dff
[ffmpeg/demuxer] iff: Estimating duration from bitrate, this may be inaccurate
(+) Audio --aid=1 (dsd_msbf 2ch 352800Hz)
File tags:
Artist: Dawada (ZHU Zheqin)
Album: Sister-Drum
Date: 2013-30-10
Genre: Blues
Tit[ 3508.093920] snddaudio snddaudio0: codec_dai set sysclk failed
le: Crossing The Ridge
[ 3508.103226] snddaudio snddaudio0: codec dai set fmt failed
Track: 5
[ 3508.112150] snddaudio snddaudio0: codec_dai set clkdiv failed
AO: [alsa] 48000Hz stereo 2ch s16
A: 00:00:02 / 00:05:57
离线
mpv --no-video --ao=alsa --audio-device='alsa/sysdefault:CARD=snddaudio0' --audio-format=s16 --audio-samplerate=48000 /opt/今天.wav
mpv --no-video --ao=alsa --audio-device='alsa/sysdefault:CARD=sndspdif' --audio-format=s16 --audio-samplerate=48000 /opt/今天.wav
离线