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 

ices2. encoding to multiple bitrates

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



Joined: 03 Dec 2009
Posts: 3
Location: Russia

PostPosted: Thu Dec 03, 2009 6:02 pm    Post subject: ices2. encoding to multiple bitrates Reply with quote

I use icecast + ices as a main source and external source - SAM broadcaster. I'd like to send 3 streams in different bitrates. so I did:

icecast:

<mount>
<mount-name>/a1.ogg</mount-name>
<fallback-mount>/b1.ogg</fallback-mount>
<fallback-override>1</fallback-override>
</mount>
<mount>
<mount-name>/a2.ogg</mount-name>
<fallback-mount>/b2.ogg</fallback-mount>
<fallback-override>1</fallback-override>
</mount>
<mount>
<mount-name>/a3.ogg</mount-name>
<fallback-mount>/b3.ogg</fallback-mount>
<fallback-override>1</fallback-override>
</mount>

ices:

<input>
<module>playlist</module>
<param name="type">basic</param>
<param name="file">/home/music/test.m3u</param>
<param name="restart-after-reread">1</param>
</input>
<instance>
<hostname>localhost</hostname>
<port>8000</port>
<password>secret</password>
<mount>b1.ogg</mount>
<encode>
<quality>-2</quality>
<nominal-bitrate>32000</nominal-bitrate>
<managed>0</managed>
<samplerate>44100</samplerate>
<channels>2</channels>
</encode>
</instance>

<instance>
<hostname>localhost</hostname>
<port>8000</port>
<password>secret</password>
<mount>b2.ogg</mount>
<encode>
<quality>0</quality>
<nominal-bitrate>64000</nominal-bitrate>
<managed>0</managed>
<samplerate>44100</samplerate>
<channels>2</channels>
</encode>
</instance>

<instance>
<hostname>localhost</hostname>
<port>8000</port>
<password>secret</password>
<mount>b3.ogg</mount>
<encode>
<quality>2</quality>
<nominal-bitrate>96000</nominal-bitrate>
<managed>0</managed>
<samplerate>44100</samplerate>
<channels>2</channels>
</encode>
</instance>

but ices doesn't send any sterams.
there're no sound neither http://localhost:8000/b1 nor ../b2 & ../b3
what I did wrong?
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 Dec 03, 2009 6:53 pm    Post subject: Reply with quote

missing / in the mountpoints in ices, try

<mount>/b1.ogg</mount>


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



Joined: 03 Dec 2009
Posts: 3
Location: Russia

PostPosted: Thu Dec 03, 2009 9:22 pm    Post subject: Reply with quote

I'm sorry, simply I forgot type / here. config file ices contains all necessary slashs. here is the copy:
<hostname>localhost</hostname>
<port>8000</port>
<password>000000000</password>
<mount>/auto1.ogg</mount>
but it doesn't play anyway!

by the way, mount works without /. you should try Wink
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