Difference between revisions of "Stream ALSA to ICECAST"

From Pabut
Jump to navigation Jump to search
Line 1: Line 1:
 
  arecord -f S16_LE -c1 -r16000 -D RADIO - | \
 
  arecord -f S16_LE -c1 -r16000 -D RADIO - | \
  lame -r -s 16 -b 16 -m m -cbr - - |\
+
  lame -r -s 16 -b 16 -m m -cbr - - | \
 
  ezstream -v -c ezstream.conf
 
  ezstream -v -c ezstream.conf
  

Revision as of 19:43, 6 September 2019

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