[Cialug] Raspbian 9, mpg123, & https
Jonathan A. Kollasch
jakllsch at kollasch.net
Thu Dec 12 19:30:11 UTC 2019
On Thu, Dec 12, 2019 at 12:57:01PM -0600, L. V. Lammert wrote:
> ----- Message Text -----
> Some of the streams I listen to are migrating to https, .. but, for some
> reason, mpg123 thinks they are broken:
>
> High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
> version 1.23.8; written and copyright by Michael Hipp and others
> free software (LGPL) without any warranty but with best wishes
> https://kwmu1-ice.streamguys1.com/kwmu1.m3u: No such file or directory
>
> Yet, they resolve just fine with lynx.
>
> I seem to recall an issue a long time ago about mpg123 not being able to
> use https for a stream, but can't find any reference.
>
> Anyone seen the problem, or have an alternate way to play an https stream?
>
On Debian 9, on x86_64, I see this:
$ ldd `which mpg123`
linux-vdso.so.1 (0x00007ffe72345000)
libmpg123.so.0 => /usr/lib/x86_64-linux-gnu/libmpg123.so.0 (0x00007fa907c66000)
libout123.so.0 => /usr/lib/x86_64-linux-gnu/libout123.so.0 (0x00007fa907a58000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa907754000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa9073b5000)
libltdl.so.7 => /usr/lib/x86_64-linux-gnu/libltdl.so.7 (0x00007fa9071ab000)
/lib64/ld-linux-x86-64.so.2 (0x00007fa9080e8000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa906fa7000)
This list does not include any libraries that implement SSL/TLS; and I
really doubt mpg123 has its own TLS implementation (either original or bundled).
mpg321 is similar in not linking with a TLS implementation.
Perhaps try mpv? It's bloated for playing an mp3 stream; but part of
that bloat is libgnutls.
Jonathan Kollasch
More information about the Cialug
mailing list