Newbie needs help

View: New views
7 Messages — Rating Filter:   Alert me  

Newbie needs help

by Mike Allen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

To all:

I am running FreeBSD v7.03 and using icecast2 which is happily relaying
a shoutcast MP3 stream. I want to play (mix)a pre-recorded "Stream ID"
file to the existing stream once per hour.

I've tried ices0 but no luck.  Any help will be much appreciated.

Mike
_______________________________________________
Icecast mailing list
Icecast@...
http://lists.xiph.org/mailman/listinfo/icecast

Re: Newbie needs help

by abitar.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey,

  The only way i know of doing it is to insert it at the source to the
icecast server. Have the server break the stream can cause many
different issues, the biggest is a encoding error where the player
still sees the stream but the tempo or something is not right with it
because it assumed the old encoded scheme and not he new one.

 I would mix in the Id at the source level. THis can be done may ways
with many different programs.

David

On Tue, Mar 3, 2009 at 12:05 PM, Mike Allen <mallen@...> wrote:

> To all:
>
> I am running FreeBSD v7.03 and using icecast2 which is happily relaying
> a shoutcast MP3 stream. I want to play (mix)a pre-recorded "Stream ID"
> file to the existing stream once per hour.
>
> I've tried ices0 but no luck.  Any help will be much appreciated.
>
> Mike
> _______________________________________________
> Icecast mailing list
> Icecast@...
> http://lists.xiph.org/mailman/listinfo/icecast
>
_______________________________________________
Icecast mailing list
Icecast@...
http://lists.xiph.org/mailman/listinfo/icecast

Re: Newbie needs help

by Mike Allen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

David Saunders wrote:
Hey,

  The only way i know of doing it is to insert it at the source to the
icecast server. Have the server break the stream can cause many
different issues, the biggest is a encoding error where the player
still sees the stream but the tempo or something is not right with it
because it assumed the old encoded scheme and not he new one.

 I would mix in the Id at the source level. THis can be done may ways
with many different programs.

David

On Tue, Mar 3, 2009 at 12:05 PM, Mike Allen mallen@... wrote:
  
To all:

I am running FreeBSD v7.03 and using icecast2 which is happily relaying
a shoutcast MP3 stream. I want to play (mix)a pre-recorded "Stream ID"
file to the existing stream once per hour.

I've tried ices0 but no luck.  Any help will be much appreciated.

Mike
_______________________________________________
Icecast mailing list
Icecast@...
http://lists.xiph.org/mailman/listinfo/icecast

    
_______________________________________________
Icecast mailing list
Icecast@...
http://lists.xiph.org/mailman/listinfo/icecast
  
David, thanks for the quick reply.

My pre-recorded 10-second announcement is already at the identical bitrate/samplerate of the stream.
Are you suggesting that I should de-mux/re-encode it to mix in with the stream?  Ices0 should do that if I set up the configuration file properly.

Mike

_______________________________________________
Icecast mailing list
Icecast@...
http://lists.xiph.org/mailman/listinfo/icecast

Re: Newbie needs help

by kosnickx :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mike Allen wrote:

> To all:
>
> I am running FreeBSD v7.03 and using icecast2 which is happily relaying
> a shoutcast MP3 stream. I want to play (mix)a pre-recorded "Stream ID"
> file to the existing stream once per hour.
>
> I've tried ices0 but no luck.  Any help will be much appreciated.
>
> Mike
> _______________________________________________
> Icecast mailing list
> Icecast@...
> http://lists.xiph.org/mailman/listinfo/icecast
>
>  
if i got it right , then liquidsoap will help you with what you want
http://savonet.sourceforge.net/
_______________________________________________
Icecast mailing list
Icecast@...
http://lists.xiph.org/mailman/listinfo/icecast

Re: Newbie needs help

by Mike Allen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

kosnickx wrote:

> Mike Allen wrote:
>> To all:
>>
>> I am running FreeBSD v7.03 and using icecast2 which is happily
>> relaying a shoutcast MP3 stream. I want to play (mix)a pre-recorded
>> "Stream ID" file to the existing stream once per hour.
>>
>> I've tried ices0 but no luck.  Any help will be much appreciated.
>>
>> Mike
>> _______________________________________________
>> Icecast mailing list
>> Icecast@...
>> http://lists.xiph.org/mailman/listinfo/icecast
>>
>>  
> if i got it right , then liquidsoap will help you with what you want
> http://savonet.sourceforge.net/
Thanks for the quick reply.

Mike
_______________________________________________
Icecast mailing list
Icecast@...
http://lists.xiph.org/mailman/listinfo/icecast

Re: Newbie needs help

by Geoff Shang-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mike Allen wrote:

> I am running FreeBSD v7.03 and using icecast2 which is happily relaying
> a shoutcast MP3 stream. I want to play (mix)a pre-recorded "Stream ID"
> file to the existing stream once per hour.

there's no way you can *mix* the spot with other content using Icecast.  As
has been pointed out, you'd have to do this at the source of your other
content.

If you'd like the spot to override the existing content, then have the
other content resume once the spot has finished, this can be achieved with
fallbacks.

the following mountpoints are examples, you can call them whatever you
want.

Assuming your Shoutcast relay is on /relay, you could have another mount
called /main for example and have your Ices send the spot there at the
appropriate time.

Then configure Icecast so that /main falls back to /relay and so that
fallback-override is enabled.

Then, providing your listeners tune into /main and not to /relay directly,
the listener will connect to /main which will be disconnected most of the
time, and then fall through to /relay.  When your spot plays, your streamer
will connect to /main which will pull all listeners back to /main to hear
the spot.  When the spot finishes, your listeners will once again fall
through to /relay.

> I've tried ices0 but no luck.  Any help will be much appreciated.

Note that as far as I know, Ices0 can't be told to stream a file once and
then exit.  Ezstream can though and is probably more light-weight for sucha
simple thing.

And as has been pointed out, you need to make sure all your stream
parameters are the same for this to work with MP3 streaming (and presumably
AAC as well - I've not used it).  Ogg Vorbis will cope much more
gracefully.

I use a three tear setup along these lines where I work, one playing a
backup loop of programming, one which relays a live stream if it is
available and one which plays prerecorded programs and repeats.  The
prerecords play on the primary mount, which falls back to the live relay
and this to the backup loop.  Works well.

Geoff.


_______________________________________________
Icecast mailing list
Icecast@...
http://lists.xiph.org/mailman/listinfo/icecast

Re: Newbie needs help

by Mike Allen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Geoff Shang wrote:

> Mike Allen wrote:
>
>> I am running FreeBSD v7.03 and using icecast2 which is happily relaying
>> a shoutcast MP3 stream. I want to play (mix)a pre-recorded "Stream ID"
>> file to the existing stream once per hour.
>
> there's no way you can *mix* the spot with other content using
> Icecast. As has been pointed out, you'd have to do this at the source
> of your other content.
>
> If you'd like the spot to override the existing content, then have the
> other content resume once the spot has finished, this can be achieved
> with fallbacks.
>
> the following mountpoints are examples, you can call them whatever you
> want.
>
> Assuming your Shoutcast relay is on /relay, you could have another
> mount called /main for example and have your Ices send the spot there
> at the appropriate time.
>
> Then configure Icecast so that /main falls back to /relay and so that
> fallback-override is enabled.
>
> Then, providing your listeners tune into /main and not to /relay
> directly, the listener will connect to /main which will be
> disconnected most of the time, and then fall through to /relay. When
> your spot plays, your streamer will connect to /main which will pull
> all listeners back to /main to hear the spot. When the spot finishes,
> your listeners will once again fall through to /relay.
>
>> I've tried ices0 but no luck. Any help will be much appreciated.
>
> Note that as far as I know, Ices0 can't be told to stream a file once
> and then exit. Ezstream can though and is probably more light-weight
> for sucha simple thing.
>
> And as has been pointed out, you need to make sure all your stream
> parameters are the same for this to work with MP3 streaming (and
> presumably AAC as well - I've not used it). Ogg Vorbis will cope much
> more gracefully.
>
> I use a three tear setup along these lines where I work, one playing a
> backup loop of programming, one which relays a live stream if it is
> available and one which plays prerecorded programs and repeats. The
> prerecords play on the primary mount, which falls back to the live
> relay and this to the backup loop. Works well.
>
> Geoff.
>
>
Geoff:

Thanks for that suggestion. I'll try to implement that ASAP! Now to
understand 'fallbacks' etc.

Mike
_______________________________________________
Icecast mailing list
Icecast@...
http://lists.xiph.org/mailman/listinfo/icecast