ronnie@mixsessions.com
2004-Aug-06 14:23 UTC
[icecast] mount points & multiples streams II
>AFAIK, this will work. However, if all you want to do is have the same >content at different bitrates, you can achieve this with one instance of >ices and one playlist. Not sure of the specifics though as I don't use >ices 0.2.3. I can look though.If you can just point me in the direction>Yes. You need the browser to download a file containing the IP address so >it can pass it off to the appropriate application to play the stream. so >make a .m3u file with http://ip:port/mountpoint in it and link to it off >your website. The browser will download this file and hand it off to your >player which will open it and stream the URL.in '/etc/ices/' i have created a directory named stream1 this also happens to be the mount point. I placed a 'stream1.m3u' file inside the directory. When I try to access http://ip:8000/stream1 via my internet browser it attempts to download 'stream1.mp3' and no player is launched. I have also tried accessing the stream by using http://ip:8000/stream1/stream1.m3u but it gives me a 404 error "The requested file or stream was not found on this server." I have also tried placing the 'stream1.m3u' file in my '/user/share/icecast/static' directory in hopes that it will download then launch a player but still without success. I know I am doing something wrong. Should I enclose my 'ices.conf' and 'icecast.conf' files? <p>::ronnie :: : ----- Original Message ----- From: Geoff Shang <gshang@uq.net.au> To: icecast@xiph.org Cc: Date: Subject: Re: [icecast] mount points & multiples streams II On Wed, 29 Jan 2003 ronnie@mixsessions.com wrote:> I am trying to run multiple streams so what I have created additional > directories such as mrock24, mRock64, and mRock128 in the '/etc/ices' > directory . In these directories I have placed new conf files and > playlist files respectively streaming 24, 64, and 128. These directories > are also the name of the mount points for the streams.<p>> When I enter 'protcol:ip:port/MountPoint' into the browser it attempts to> download the stream as a file ('/MountPoint.mp3') instead of launching > the default player. However if I enter 'protcol:ip:port/MountPoint' into > a player such as winamp,xmms, or wmp it will play the stream. I am > stumped but I guess I have done something incorrectly.<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. <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.
Hi: OK, the m3u thing first. No, you need to link to this off ;your website (e.g. put it in with your HTML files and do something like: <A HREF="stream1.m3u">Click here to listen</A> Of course, this assumes you have a website, but if you don't, there's not a lot of point in wanting to open it in a browser I'm guessing. As for the multiple streams thing, I can't see anything about it for certain, but my guess is that you'd have multiple <stream></stream> sections, each one sending to a different mountpoint with the relevant encoding. So you'd have your 128kbps material and just send it as is (i.e. reencode set to 0), then another <stream> section with the bitrate as 64 and reencode set to 1 and another for the 24kbps mode. Note that I'm only guessing that this is how it would be done, people who use ices 0.2.3 will know for certain. Geoff. <p> -- Geoff Shang <gshang@uq.net.au> ICQ number 43634701 Make sure your E-mail can be read by everyone! http://www.betips.net/etc/evilmail.html Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html <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.