Marcel Bierling
2004-Aug-06 14:23 UTC
[icecast] Using ices or shout with continuously growing files?
I also tried such things: lxserv:/mnt/fatbass# tail -f recording.mp3 | /usr/local/icecast/bin/ices -M stdinpcm -h localhost -p 40044 -P password Logfile opened Could not find a valid playlist file. Ices Exiting... In this case I try to KEEP READING the mp3 file (which becomes continuously larger), and pipe it to ices (how should I do this?). But ices isn't nice to me and keeps asking for a playlist, which doesn't exist in this case. I'm pulling the hair out of my head, I'm already spending hours on this simple aspect, reading every man-page I could find, I just can't get it to work. <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.
Ted Lynn
2004-Aug-06 14:23 UTC
[icecast] Using ices or shout with continuously growing files?
I'd try making a playlist with just that file in it. It should satisfy Ices. It won't even try to start without one. Just an idea. Ted ----- Original Message ----- From: "Marcel Bierling" <knaagdier@wanadoo.nl> To: <icecast@xiph.org> Sent: Sunday, February 09, 2003 9:06 AM Subject: Re: [icecast] Using ices or shout with continuously growing files? <p>> I also tried such things:> > lxserv:/mnt/fatbass# tail -f recording.mp3 |/usr/local/icecast/bin/ices -M> stdinpcm -h localhost -p 40044 -P password > Logfile opened > Could not find a valid playlist file. > Ices Exiting... > > In this case I try to KEEP READING the mp3 file (which becomescontinuously> larger), and pipe it to ices (how should I do this?). But ices isn't niceto> me and keeps asking for a playlist, which doesn't exist in this case. > > I'm pulling the hair out of my head, I'm already spending hours on this > simple aspect, reading every man-page I could find, I just can't get it to > work. > > > --- >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. >--- >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.
Mathias Gygax
2004-Aug-06 14:23 UTC
[icecast] Using ices or shout with continuously growing files?
On Sun, Feb 09, 2003 at 04:06:30PM +0100, Marcel Bierling wrote:> I also tried such things: > > lxserv:/mnt/fatbass# tail -f recording.mp3 | /usr/local/icecast/bin/ices -M > stdinpcm -h localhost -p 40044 -P password > Logfile opened > Could not find a valid playlist file. > Ices Exiting... > > In this case I try to KEEP READING the mp3 file (which becomes continuously > larger), and pipe it to ices (how should I do this?). But ices isn't nice to > me and keeps asking for a playlist, which doesn't exist in this case.just some ideas: /dev/stdin as a file is always connected to the stdin of the running process. so if you pipe something to ices, you could open /dev/stdin as a file and connect the output of the pipe to the input of ices while still specifing a file, when ices doesn't get its data from the stdin. now there's a problem (i don't know about this) if ices wants a playlist file (dunno how this one is parsed). so try to open with -F /dev/stdin the pipe output as a playlist. there are some chances that doesn't work, so put "/dev/stdin" as a file in a dummy playlist and try to open that. HTH - regards, turrican --- >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.