Stream ALSA to ICECAST

From Pabut
Revision as of 19:42, 6 September 2019 by Pabut (talk | contribs)
Jump to navigation Jump to search
arecord -f S16_LE -c1 -r16000 -D RADIO - | \
lame -r -s 16 -b 16 -m m -cbr - - |\
ezstream -v -c ezstream.conf

Where "RADIO" is an alsa source

pcm.RADIO {
       hint.description "SignaLink USB"
       type hw
           card 1
}

Requires

alsa-utils  Utilities for configuring and using ALSA
lame        MP3 encoding library (frontend)
ezstream    easy media streaming client over icecast servers