Why mpg123 can't open mms?

The mms audio stream can be opened by mplayer on my pc.
mplayer mms://

Now open the mms url with mpg123 on my openwrt:

mpg123  mms://
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
	version 1.25.13; written and copyright by Michael Hipp and others
	free software (LGPL) without any warranty but with best wishes
ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
[src/libout123/modules/alsa.c:181] error: cannot open device default
[src/libout123/libout123.c:455] error: Found no driver out of [alsa] working with device <default>.
main: [src/mpg123.c:314] error: out123 error 3: failure loading driver module

Can mpag123 open mms audio stream?

Mplayer != mpg123

Does mpg123 claim to have MMS support?

First off, the error shows mpg123 was unable to access the ALSA system for its audio output, so it's not going to be able to play anything. It is likely that alsa is not installed.

Once it connects to the sound card, then there is the issue that mpg123 only directly reads mp3 files, standard input, or http streams (not even https). But that's not a big issue since you can use another program to download the stream then pipe it to mpg123 in stdin mode:
wget -O - https://secured.url.com | mpg123 -

1 Like