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 

1 ices, 2 playlists

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



Joined: 21 Apr 2007
Posts: 18
Location: Italy

PostPosted: Thu Feb 21, 2008 1:55 pm    Post subject: 1 ices, 2 playlists Reply with quote

Can ises stream two different playlists on two different mount points?
If yes, where I can find config example.
If no, what source client could do this?

Thanx.
Back to top
View user's profile Send private message
Anonymous
Guest





PostPosted: Thu Feb 21, 2008 4:51 pm    Post subject: Reply with quote

i guess u are looking for something like this
with several mountpoints:

<?xml version="1.0"?>
<ices>
<background>0</background>
<logpath>/usr/local/icecast2/logs</logpath>
<logfile>ices.log</logfile>
<loglevel>4</loglevel>
<consolelog>0</consolelog>
<pidfile>/usr/local/icecast2/ices.pid</pidfile>

<stream>
<metadata>
<name>Test Stream</name>
<genre>music</genre>
<description>A test stream</description>
<url>http://www.mydomain.com</url>
</metadata>

<input>
<module>oss</module>
<param name="rate">44100</param>
<param name="channels">2</param>
<param name="device">/dev/dsp</param>
<param name="metadata">0</param>
<param name="metadatafilename">live</param>
</input>

<instance>
<hostname>xx.xxx.xxx.xx</hostname>
<port>8000</port>
<password>letmein</password>
<mount>/highband.ogg</mount>
<yp>0</yp>
<reconnectdelay>2</reconnectdelay>
<reconnectattempts>5</reconnectattempts>
<maxqueuelength>80</maxqueuelength>

<encode>
<quality>2</quality>
<nominal-bitrate>96000</nominal-bitrate>
<samplerate>44100</samplerate>
<channels>2</channels>
</encode>
</instance>

<instance>
<hostname>xx.xxx.xxx.xx</hostname>
<port>8000</port>
<password>password_01</password>
<mount>/midband.ogg</mount>
<yp>0</yp>
<reconnectdelay>2</reconnectdelay>
<reconnectattempts>5</reconnectattempts>
<maxqueuelength>80</maxqueuelength>

<downmix>1</downmix>

<resample>
<in-rate>44100</in-rate>
<out-rate>22050</out-rate>
</resample>

<encode>
<nominal-bitrate>32000</nominal-bitrate>
<samplerate>22050</samplerate>
<channels>2</channels>
<quality>1</quality>
</encode>
</instance>

<instance>
<hostname>xx.xxx.xxx.xx</hostname>
<port>8000</port>
<password>password_02</password>
<mount>/lowband.ogg</mount>
<yp>0</yp>
<reconnectdelay>2</reconnectdelay>
<reconnectattempts>5</reconnectattempts>
<maxqueuelength>80</maxqueuelength>

<downmix>1</downmix>

<resample>
<in-rate>44100</in-rate>
<out-rate>11000</out-rate>
</resample>

<encode>
<nominal-bitrate>16000</nominal-bitrate>
<samplerate>11000</samplerate>
<channels>1</channels>
<quality>-1</quality>
</encode>
</instance>

</stream>
</ices>
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Feb 21, 2008 9:45 pm    Post subject: Reply with quote

if the playlists are different then you'll need two xml files, one for each ices to refer to each playlist.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
AlexIT



Joined: 21 Apr 2007
Posts: 18
Location: Italy

PostPosted: Thu Feb 21, 2008 11:48 pm    Post subject: Reply with quote

Playlists are different.
So I must run two ices?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Feb 22, 2008 12:20 am    Post subject: Reply with quote

yes, if it wasn't clear. Each ices processes an input, 2 playlists means 2 inputs and therefore 2 ices processes are required.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
AlexIT



Joined: 21 Apr 2007
Posts: 18
Location: Italy

PostPosted: Fri Feb 22, 2008 4:11 am    Post subject: Reply with quote

What source client could do this?
Or its's absolutely impossible?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Feb 22, 2008 1:56 pm    Post subject: Reply with quote

I don't know of any but it's not impossible but having multiple source clients running concurrently is not an issue as it takes the same resources to create the streams.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
AlexIT



Joined: 21 Apr 2007
Posts: 18
Location: Italy

PostPosted: Fri Feb 22, 2008 2:24 pm    Post subject: Reply with quote

what about muse?
http://muse.dyne.org/
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients 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