> Exactaly, I would recommend the mod_mp3 project for something like that.mod_mp3 is even a bit overkill. Just dump your mp3s under docroot, put some m3u files pointing to them, and you're done. On demand mp3 is the same as on demand html. mod_mp3 and icecast are built for live and simulated-live streaming. jack. --- >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.
Jeremiah Stanley <miah@miah.org> writes:> Exactaly, I would recommend the mod_mp3 project for something like that. > > http://media.tangent.org/ > > They are doing almost exactaly what sound like you are looking for. There > is also the project 'ampache' that takes this one step further and adds a > MySQL database backend to a PHP front.Thank you for these links. I have looked at them and neither of them seem to provide re-encoding on the fly. I suppose I should have been more clear about what I was doing but I didn't expect the flack. If someone else has something which will do what I am wanting I will greatefully use it. Although I pretty much have it working currently except for the questions in my first message. My system works thusly: Drop an index.html into a directory. When someone browses into the directory they receive a standard looking index. Any mp3 files have another link below them called listening booth. Selecting that link give the user a pulldown bit rate menu and a start button. When they select start my streamer re-encodes the file to the chosen bit rate makes a connection to the icecast server and starts their browser streaming. The reason I did this is because a number of users have indicated that they would appreciate having the ability to stream because either they have slow modem connections or don't have the disk space to download the file and listen to it. Most of my content is over 20mb per file. As I said earlier, if there is something else which does this I will happily use it. My system works pretty well except for a number of small issues I am still working on. Any ideas, help or suggestions are certainly appreciated. Kirk -- Kirk Reiser The Computer Braille Facility e-mail: kirk@braille.uwo.ca University of Western Ontario phone: (519) 661-3061 --- >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.
Um, I need to recode to different bitrates depending on the listeners network connection speed. I can check out the mod_mp3 stuff but I didn't realize it existed. If I did, I'd of saved myself a fair chunk of coding. Why didn't you just tell me before I started? 'grin' Kirk -- Kirk Reiser The Computer Braille Facility e-mail: kirk@braille.uwo.ca University of Western Ontario phone: (519) 661-3061 --- >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.
> Um, why wouldn't you just use apache for this?Exactaly, I would recommend the mod_mp3 project for something like that. http://media.tangent.org/ They are doing almost exactaly what sound like you are looking for. There is also the project 'ampache' that takes this one step further and adds a MySQL database backend to a PHP front. JStanley --- >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.
Rusty H. Hodge
2004-Aug-06 14:22 UTC
[icecast] problems with relay pull syntax (repeating shoutcast)
I'm not able to get icecast to repeat a shoutcast stream. More specifically, I'm trying to repeat a specific shoutcsat stream to a unique mount point on the icecast server. Any help would be appreciated. I've tried: -> relay pull -m /stream http://stream.somafm.com:8000 Relay added> relay listListing relays: Remote: [:9000/] Local: [-m] Connected: [no] Type: [pull] Reconnects: [0] End of relay listing It doesn't seem that the -m is being respected, and I don't know why it shows the remote as being port 9000. Tried reversing the syntax: -> relay pull http://stream.somafm.com:8000 -m /stream Relay added> relay listListing relays: Remote: [:9000/] Local: [-m] Connected: [no] Type: [pull] Reconnects: [1] Remote: [stream.somafm.com:8000/] Local: [stream.somafm.com:8000/] Connected: [no] Type: [pull] Reconnects: [0] End of relay listing -> [01/Jun/2001:15:31:25] Accepted encoder on mountpoint stream.somafm.com:8000/ from 67.mubd.snfc.snfccafj.dsl.att.net. 1 sources connected -> relay list Listing relays: Remote: [:9000/] Local: [-m] Connected: [no] Type: [pull] Reconnects: [1] Remote: [stream.somafm.com:8000/] Local: [stream.somafm.com:8000/] Connected: [yes] Type: [pull] Reconnects: [0] End of relay listing> [01/Jun/2001:15:32:10] ERROR: sock_connect() called with NULL or >empty hostnameHere's my conf file in case that helps... #icecast.conf location San Francisco rp_email rusty@hodge.com server_url http://www.soma.net/ max_clients 9 max_clients_per_source 9 max_sources 10 max_admins 5 throttle 10.0 use_meta_data 0 streamurllock 0 streamtitletemplate %s streamurl http://yp.icecast.org nametemplate %s desctemplate %s mount_fallback 0 encoder_password xxx admin_password xxx oper_password xxx touch_freq 5 port 9000 port 9001 server_name hip.soma.net force_servername 0 logfile icecast.log accessfile access.log usagefile usage.log logfiledebuglevel 0 consoledebuglevel 0 reverse_lookups 1 console_mode 0 client_timeout 30 kick_clients 0 staticdir /usr/local/icecast/static templatedir /usr/local/icecast/templates logdir /usr/local/icecast/logs stats_log stats.log statshtml_log stats.html stats_time 60 kick_relays 10 transparent_proxy 0 acl_policy 1 --- >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.
> happily use it. My system works pretty well except for a number of > small issues I am still working on.It is my understanding that you have the highest bitrate stored and you just want to re-encode the files on the fly over a stream. You do this rather than just store all the different enc rates. Correct my assumption, but can't ices create playlists from perl scripts? Couldn't you just set the playlist/connections to icecast up by using custom mountpoints that are dynamically assigned to the user. I would do this by having them login to the website and then 'their' stream is just a md5 hash of their username. When the pick a file to stream their bitrate is then sent to ices to stream to their 'mountpoint'. Looking similar to this: http://mp3.yourdomain.com:8000/aWNlY2FzdHJvY2tz I guess this is just a question of what limits what you can do with the ices perl playlist generation. Is there any documentation on the subject? JStanley --- >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 Jack and all: I would like to thank you for those suggestions Jack. They worked just fine and you are right it is much simpler to use apache for the streaming. Once again, thank you! Kirk -- Kirk Reiser The Computer Braille Facility e-mail: kirk@braille.uwo.ca University of Western Ontario phone: (519) 661-3061 --- >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.