Here is what I'm trying to do: most of the time, I broadcast from a playlist, just loooping through prerecorded content. Sometimes, say at a special concert or sports game, a live stream (from a laptop's line-in) is broadcast instead. Ideally, the laptop could simply "take over" the stream from IceS, and hand it back when we're finished with the live stuff. Is there a way to do this? The alternative I thought of was to just leave IceS running, connect the live stream, add a playlist item to IceS "In just a moment we'll switch over to our live event...", move the clients over to the live stream, end with "Now we return to regularly scheduled content...", and move clients back, hoping that the transitions aren't to rough (such as jumping right into the middle of a song). This sounds like it should work, but it would be clumsy. Another idea is to have an entry in the playlist that points to the live stream. When I'm ready to stream live, I simply edit the playlist file, add a line to the stream after the currently playing song (or whenever I want to do the switch), and upload the file. IceS rereads the playlist file after it finishes the current song, and could maybe simply rebroadcast the live stream. When I'm finished, I could just kill the live stream and IceS would go on to the next item in the playlist. However, I haven't had any luck with this. Ices simply gives an "error opening file ... no such file or directory". Am I doing something wrong? Could this method potentially work? Or, any other ideas on how to do the same thing? Thanks in advance. -- Luke Stodola minus273point16c@fastmail.fm -- http://www.fastmail.fm - Choose from over 50 domains or use your own --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Hi: If I remember correctly, you can now specify input from standard input in the playlist. this might provide you with a nice workaround, allowing you to feed the live audio to ices via stdin and then you could HUP it to move onto the next item at the end. The mountpoint method is the most straight-forward of course, and is designed for this sort of thing, but mightn't be as graceful (at least with using stdin, you'd come back in at the beginning of a recording). The project which I've aluded to a few times which still remains unreleased can do this sort of thing very nicely, with crossfades and everything. geoff. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Thu, 2003-08-07 at 08:26, Geoff Shang wrote:> Hi: > > If I remember correctly, you can now specify input from standard input in > the playlist. this might provide you with a nice workaround, allowing you > to feed the live audio to ices via stdin and then you could HUP it to move > onto the next item at the end. The mountpoint method is the most > straight-forward of course, and is designed for this sort of thing, but > mightn't be as graceful (at least with using stdin, you'd come back in at > the beginning of a recording).the - in the playlist allows for reading ogg streams from stdin not PCM. My current set of modifications do have some working code that allows for switching input which may be helpful here. karl. <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
One solution might be to make a named pipe (mkfifo live), add that item to your playlist, and pipe data into that pipe. It works fine for local files (cat music.ogg > live), but when I try with for example "wget http://icecast2.ksl.com:8000/ksl.ogg -O live" ices keeps giving: [2003-08-07 11:50:05] WARN input/input_sleep Extended sleep requested (1127219200 ms), sleeping for 5 seconds Any ideas? <p><p>> The project which I've aluded to a few times which still remains> unreleased > can do this sort of thing very nicely, with crossfades and everything. > > geoff.Any estimate on a tentative release date? Thanks. -- Luke Stodola minus273point16c@fastmail.fm -- http://www.fastmail.fm - A no graphics, no pop-ups email service --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.