ezstream and icecast

Status
Not open for further replies.

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,650
Reaction score
184
Location
Massachusetts
Anyone have any ideas on how to get ezstream to work with icecast2?

here is my .xml file:

<ezstream>
<url>http://localhost:8000/12345</url>
<sourcepassword>password</sourcepassword>
<format>MP3</format>
<filename>stdin</filename>
<svrinfoname>Stream Name</svrinfoname>
<svrinfourl>http://www.broadcastify.com</svrinfourl>
<svrinfogenre>Scanner</svrinfogenre>
<svrinfodescription></svrinfodescription>
<svrinfobitrate>16</svrinfobitrate>
<svrinfochannels>1</svrinfochannels>
<svrinfosamplerate>22050</svrinfosamplerate>
<svrinfopublic>0</svrinfopublic>
</ezstream>

This is running ezstream on a raspberry pi taking the audio from an SDR dongle through STDIN.

Icecast2 is also installed on the raspberry pi. The audio from ezstream streams to icecast on localhost:8000/12345. The last five digits are the mount point. Then from a computer on the same network as the pi, navigate with your web browser to pi.ip.address:8000 (usually something like 192.168.3.XXX:8000) and you can listen to your audio stream there. Click on the m3u.

I have made this work with my SDR but the audio is simply awful. Haven't yet figured out what the problem is. The same dongle plugged into the laptop works fine.

Here is the command line that starts the stream:

pi@raspberrypi /etc $ sudo /usr/local/bin/rtl_fm -d 0 -M fm -f 460.4M -p 75 -l 70 -g 40 -t 2 -E pad -s 12k | /usr/bin/lame -r -s 12 --resample 22.05 -m m -b 16 --cbr --lowpass 4 - - | /usr/bin/ezstream -c /etc/ezstream_bcfy.xml
 

jshg46

Member
Joined
May 12, 2010
Messages
180
Reaction score
15
I have it all up and going now using localhost, Is there anyway to add another output to the config. This would allow the same stream to go to more locations?
 
Status
Not open for further replies.
Top