Hello. Anyone have any suggestions for automating archiving? I have a stream that will connect to the server every morning at 5am and be kill'ed at 10am. I'd like to record this every day... is there any suggested solution? I'd have to setup a script to telnet in and start a dump command, and I don't know if that would easily be possible without parsing out the stream ID (Which is random on every connect). I am using darkice as the feed (FreeBSD host with 3 PCI sound cards, thanks to the people on this list -- working great). Any suggestions to setup a means to record the stream to disk? Is there something that I can stand up like the icecast server, set it up as a 2nd connection and send the data to disk? -- Ethan <p><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.
Akos Maroy
2004-Aug-06 14:22 UTC
[icecast] icecast "dump" suggestions (archiving)?
Ethan wrote:> Anyone have any suggestions for automating archiving? I have a stream that > will connect to the server every morning at 5am and be kill'ed at > 10am. I'd like to record this every day... is there any suggested > solution? I'd have to setup a script to telnet in and start a dump > command, and I don't know if that would easily be possible without parsing > out the stream ID (Which is random on every connect).are you using icecast 1.x or icecast 2? icecast 1.x supports a remote dump feature: the stream will be dumped to a file on the server side. Unfortunately icecast 2 does not support such a thing.> I am using darkice as the feed (FreeBSD host with 3 PCI sound cards, > thanks to the people on this list -- working great).darkice supports the local dump feature by now (since version 0.8). so you can save your stream into a file on the encoder side. Then you can set a cron job at 10:05 to copy the saved dump file to your archive. <p>Akos <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.
> are you using icecast 1.x or icecast 2? icecast 1.x supports a remote > dump feature: the stream will be dumped to a file on the server side. > Unfortunately icecast 2 does not support such a thing.We are still using 1.x.. I see the support for the dump function, but no easy way to automate the use of it.> darkice supports the local dump feature by now (since version 0.8). so > you can save your stream into a file on the encoder side.Ahhh! I'm running .8 so that would be EXCELLENT! I shall go read the documentation for darkice. I didn't realize it could do that.> Then you can set a cron job at 10:05 to copy the saved dump file to your > archive. > AkosYuppers! Thanks! <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.