View previous topic :: View next topic |
Author |
Message |
DYB-FM
Joined: 06 Nov 2010 Posts: 4
|
Posted: Wed May 04, 2011 2:11 pm Post subject: [Freelancer] Two sources in One streaming |
|
|
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 |
|
|
liteFun
Joined: 13 Jan 2006 Posts: 79
|
Posted: Thu May 05, 2011 6:55 am Post subject: |
|
|
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 |
|
|
DYB-FM
Joined: 06 Nov 2010 Posts: 4
|
|
Back to top |
|
|
gerrit
Joined: 25 Apr 2009 Posts: 17
|
Posted: Fri May 06, 2011 8:19 pm Post subject: Re: Two radio mixed on live |
|
|
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 |
|
|
DYB-FM
Joined: 06 Nov 2010 Posts: 4
|
Posted: Fri May 06, 2011 10:30 pm Post subject: I will drop you insert or remove a source? |
|
|
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 |
|
|
gerrit
Joined: 25 Apr 2009 Posts: 17
|
Posted: Sat May 07, 2011 1:32 pm Post subject: how to prevent loosing listeners when you change the mix |
|
|
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 |
|
|
|