| View previous topic :: View next topic |
| Author |
Message |
DougWare
Joined: 11 Feb 2010 Posts: 2
|
Posted: Thu Feb 11, 2010 1:52 am Post subject: New to Icecast, I have one problem that I can't solve.... |
|
|
I've done really well so far, and solved almost all of my issues. My end goal is to stream scanner radio traffic.
I can stream the audio if I enter the ogg URL. The m3u URL does not work.
I would also prefer to use MP3 instead of ogg.
If anyone has any suggestions, I'd gladly listen.
The ogg URL that does work is:
http://home.dougware.net:8000/DurhamPublicSafety.ogg
The m3u URL, correctly points to that URL...but Windows Media Player won't play it. Th3 m3u URL is:
http://home.dougware.net:8000/DurhamPublicSafety.ogg.m3u
Setup Summary:
icecast-2.3.2-2.fc11.x86_64
ices-2.0.1-8.fc11.x86_64
/etc/icecast.xml (Mount Section Only)
<mount>
<mount-name>DurhamPublicService.ogg</mount-name>
<username>admin</username>
<password>HIDDEN</password>
<max-listeners>10</max-listeners>
<public>1</public>
<stream-name>Durham NC - Public Service</stream-name>
<stream-description>Police, Fire and EMS</stream-description>
</mount>
/etc/ices.conf
<?xml version="1.0"?>
<ices>
<background>1</background>
<logpath>/var/log/ices</logpath>
<loglevel>4</loglevel>
<consolelog>0</consolelog>
<stream>
<metadata>
<name>Durham Public Safety</name>
<genre>Scanner</genre>
<description>Durham, NC Public Safety (Police, Fire and EMS) Radio Traffic</description>
</metadata>
<input>
<module>oss</module>
<param name='device'>/dev/dsp</param>
<param name='rate'>22050</param>
<param name='channels'>2</param>
</input>
<instance>
<hostname>home.dougware.net</hostname>
<port>8000</port>
<password>HIDDEN</password>
<mount>/DurhamPublicSafety.ogg</mount>
<reconnectdelay>2</reconnectdelay>
<reconnectattempts>-1</reconnectattempts>
<maxqueuelength>80</maxqueuelength>
<downmix>1</downmix>
<encode>
<nominal-bitrate>64000</nominal-bitrate> <!-- bps. e.g. 64000 for 64 kbps -->
<samplerate>22050</samplerate>
<channels>2</channels>
</encode>
</instance>
</stream>
</ices>
Thanks!
Doug |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Feb 11, 2010 3:51 am Post subject: |
|
|
Obviously you are limited with mp3, the license for handling MP3 is an issue for some which is why ices2 does not have support for it. WMP being a Microsoft product does not ship with Ogg codecs (Vorbis being a competitor to WMA) but they are available from the vorbis.com site
BTW If you want a target bitrate of 64k then use 44.1lkhz stereo not 22khz. Vorbis will handle that encoding easily.
karl. |
|
| Back to top |
|
 |
DougWare
Joined: 11 Feb 2010 Posts: 2
|
Posted: Thu Feb 11, 2010 3:55 am Post subject: |
|
|
I think I fixed it, using DarkIce instead of ices.
I realize there is a license issue with mp3, but I want to use a flash mp3 player component.
So far, it seems to be working well so far.
Thanks for the suggestions! |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Feb 11, 2010 4:30 am Post subject: |
|
|
You could use ffmp3 (ffmp3.sourceforge.net) with flash, or cortado for java, those will play back the ogg streams.
karl. |
|
| Back to top |
|
 |
|