Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

New to Icecast, I have one problem that I can't solve....

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
DougWare



Joined: 11 Feb 2010
Posts: 2

PostPosted: Thu Feb 11, 2010 1:52 am    Post subject: New to Icecast, I have one problem that I can't solve.... Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Feb 11, 2010 3:51 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
DougWare



Joined: 11 Feb 2010
Posts: 2

PostPosted: Thu Feb 11, 2010 3:55 am    Post subject: Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Feb 11, 2010 4:30 am    Post subject: Reply with quote

You could use ffmp3 (ffmp3.sourceforge.net) with flash, or cortado for java, those will play back the ogg streams.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber