[Icecast] Can ices read/stream a remote file rather than a local file?

David Baelde david.baelde at gmail.com
Sat Oct 21 12:07:45 UTC 2006


Hi,

A first possibility is to make your remote file look local, using some
network filesystem: fusesmb, ftpfs, sshfs, etc. However, a network
error occuring while Ices is decoding your file may crash the stream
of make it lag.

Otherwise, using perl-scriptability of Ices, you can make it download
files in advances (using whatever lib or external program from Perl)
and then pass them to Ices, and finally erase them after playback.
It's not exactly straightforward.

There may be better and easier solutions.

Another possibility is to move to another tool. I developped
liquidsoap after having tried to pack several features in a perl
script used with Ices, and ended up with a messy unmaintainable
script. Liquidsoap handles remote files transparently
(http,https,ftp,smb) and does much more:
http://savonet.sf.net/wiki/Liquidsoap. Feel free to ask questions!

Hope this helps.
-- 
David



More information about the Icecast mailing list