From: Lonnie A. <li...@lo...> - 2023-02-22 13:19:46
|
> On Feb 22, 2023, at 2:36 AM, Michael Keuter <li...@mk...> wrote: > > > >> Am 22.02.2023 um 02:29 schrieb Michael Knill <mic...@ip...>: >> >> Hi Guys >> >> Everything I read mentions that mpg123 is required for this but it does not appear to be in Astlinux. >> Could I just add the binary to /mnt/kd/bin do you think? >> >> Regards >> >> Michael Knill >> Managing Director > > Hi Michael, > > you can easily use "sox" instead of "mpg123" for streaming. Like: > > ---- > wget -q -O - $URL | sox -t mp3 $FOPTS - -t raw -r 8000 -c 1 - > ---- > > Michael > http://www.mksolutions.info Agreed, sox supports more encoding types than mpg123, IIRC. This wiki entry has some good tidbits... External Music on Hold Source https://doc.astlinux-project.org/userdoc:tt_external_moh_source Lonnie |