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 

[Freelancer] Two sources in One streaming

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



Joined: 06 Nov 2010
Posts: 4

PostPosted: Wed May 04, 2011 2:11 pm    Post subject: [Freelancer] Two sources in One streaming Reply with quote

Hello,

I'm looking for someone who can unify the two icecast audio sources into a single transmission.

Do not know if you do freelance, but if you can do or recommend someone who knows how I can pay via paypal.

I need to convey that accepts two different audio sources, which makes the mixer in real time transmission.


Last edited by DYB-FM on Thu May 05, 2011 2:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
liteFun



Joined: 13 Jan 2006
Posts: 79

PostPosted: Thu May 05, 2011 6:55 am    Post subject: Reply with quote

If you mean that listener listen into /listen-mountpoint, and dj's have own mountpoints like /dj1 and /dj2, you'll have to chain fallback-mount.
That way you can combine multiple sources into one stream sopeople don't need to bounce between mountpoints.
But, Icecast doesn't mix them in any way.
If you have /listen-mountpoint with fallback to /dj1 and /listen-mountpoint doesn't have any source connected for streaming but /dj1 has, it will play what /dj1 has, and as soon as source connects to /listen-mountpoint it will start playing that so sound on listener may have some pop and it will break roughly sound from /dj1 when Icecast switch inputs.
Back to top
View user's profile Send private message
DYB-FM



Joined: 06 Nov 2010
Posts: 4

PostPosted: Thu May 05, 2011 2:47 pm    Post subject: Two radio mixed on live Reply with quote

If I spend two radios playing in icecast, you vary an application or a mix that would integrate these two radios in a single source?

Watch these two radios:
http://wrg1004.webradiogratis.com/br/start/clubradio/
http://wrg1001.webradiogratis.com/br/start/100000/

I need to add the audio of the two in a third source:
http://wrg1001.webradiogratis.com/br/start/THIRD-EXAMPLE
Back to top
View user's profile Send private message
gerrit



Joined: 25 Apr 2009
Posts: 17

PostPosted: Fri May 06, 2011 8:19 pm    Post subject: Re: Two radio mixed on live Reply with quote

DYB-FM wrote:
If I spend two radios playing in icecast, you vary an application or a mix that would integrate these two radios in a single source?

Watch these two radios:
http://wrg1004.webradiogratis.com/br/start/clubradio/
http://wrg1001.webradiogratis.com/br/start/100000/

I need to add the audio of the two in a third source:
http://wrg1001.webradiogratis.com/br/start/THIRD-EXAMPLE


Do you need this effect ? http://77.93.80.193:8000/mixed.mp3
(i only keep this online a few days)

On Linux you can do it with a script like this:

mixed_stream.sh
Code:

#!/bin/sh
while true
do
 sox -V0 -m -tmp3 http://46.105.44.45:8951 -tmp3 http://94.23.74.172:13054 -s -traw -c 2 -|\
 mp3sEncoder -if - -of - -raw -sr 44100 -c 2 -res 16 -br 96000 -q 1|\
 ezstream -c mixer_mp3.xml
 sleep 3
done


mixer_mp3.xml
Code:

<ezstream>
    <url>http://localhost:8000/mixed.mp3</url>
    <sourcepassword>xxxxxx</sourcepassword>
 
    <format>MP3</format>
    <filename>stdin</filename>

    <stream_once>1</stream_once>
 
    <svrinfoname>This is two streams mixex together</svrinfoname>
    <svrinfourl>http://www.website.net</svrinfourl>
    <svrinfogenre>info</svrinfogenre>
    <svrinfodescription>This is a test, two streams mixed into one</svrinfodescription>
    <svrinfobitrate>64</svrinfobitrate>
    <svrinfochannels>2</svrinfochannels>
    <svrinfosamplerate>44100</svrinfosamplerate>
 
    <svrinfopublic>0</svrinfopublic>
</ezstream>
Back to top
View user's profile Send private message
DYB-FM



Joined: 06 Nov 2010
Posts: 4

PostPosted: Fri May 06, 2011 10:30 pm    Post subject: I will drop you insert or remove a source? Reply with quote

When you insert a new audio source, a new url of radio transmission will be terminated and all listeners will fall?

In this example we worked with two sources, but inserting the third case, the listener's unified connection will be disconnected?
Back to top
View user's profile Send private message
gerrit



Joined: 25 Apr 2009
Posts: 17

PostPosted: Sat May 07, 2011 1:32 pm    Post subject: how to prevent loosing listeners when you change the mix Reply with quote

When you change the script to add or remove streams you have to stop and start it again, maybe if you do it real fast the listeners will not drop but better is to add a fallback-mount in the icecast config.

http://icecast.org/docs/icecast-2.3.2/icecast2_config_file.html#mount
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 -> 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