I am streaming ogg via inetd. Basically, I am outputing like: oggenc -Q -b 1 -o - /some/wave/file.wav This works fine with ogg123 (other than that I want the bit rate to be lower than 55-100 range that it is doing). I am using: Ogg123 from vorbis-tools 1.0rc2 OggEnc v0.8 (libvorbis rc2) But, FreeAmp for Windows slowly buffered up to 100% then said "Skipped Corrupted File". And WinAmp says can't connect. (I know it can connect -- see below.) (This WinAMP and FreeAMP for Windows downloaded today.) When I use ogg123 on my NetBSD box, it sends these headers to my ogg streamer: GET /home/reed HTTP/1.0 Accept: */* User-Agent: ogg123 Host: localhost FreeAmp from the Windows box sends this: GET / HTTP/1.0 Host: rainier Accept: */* Icy-MetaData:1 User-Agent: FreeAmp/2.1.1 x-audiocast-udpport: 10000 And Winamp from the Windows box sends this: GET / HTTP/1.0 Host:rainier Accept:*/* User-Agent:Nullsoft Winamp3 beta 3 days build 466 Icy-Metadata:1 <p>Any ideas on how I can troubleshoot why it works using ogg123 but not Winamp or Freeamp? What headers should I send? Or should I just use a real HTTP daemon? My goal is to use a microphone and have a live broadcast. I guess I could try to do it with a httpd with CGI. Anyone do this (without icecast)? Where are the specifications on how to set up the streamer? Thanks, Jeremy C. Reed http://www.reedmedia.net/ <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-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.
On Wed, 3 Apr 2002, Jeremy C. Reed wrote: Replying to myself and adding more details ...> Or should I just use a real HTTP daemon?Okay I got FreeAmp to work with mini_httpd. It didn't work with winamp; winamp did the prebuffering three times and then the taskbar button said "1. kaas.ogg (stopped)". The httpd sent headers like: HTTP/1.0 200 Ok Server: mini_httpd/1.16beta14 02jan2002 Date: Thu, 04 Apr 2002 03:53:24 GMT Content-Type: text/plain; charset=iso-8859-1 Content-Length: 4269889 Last-Modified: Thu, 04 Apr 2002 03:31:05 GMT Connection: close OggS ... So I tried to duplicate this a little. And I got my shell script via inetd to work with freeamp. Well not very well, since freeamp hangs 9 out of 10 times. And my netbsd box that is streaming says my process is in "netio" state. (I can't get Winamp to play ogg over network at all.)> Where are the specifications on how to set up the streamer?I guess I could look at Freeamp source on what it expects. But it doesn't seem like it should be the definitive specification for this. But from my tests it seems like it expects a Content-Length header. How can I not have a Content-Length header (especially since I want to stream live audio)? I know this is the devel list, so I am guessing it would also discuss development of a server to stream ogg vorbis. What http headers are normal? (ogg123 doesn't care as long as they end with CTRL-M and CTRL-J, but it seems like freeamp and winamp do care.) Jeremy C. Reed http://www.reedmedia.net/ p.s. and another question: what Windows http streaming ogg player is stable? <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-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.
At 07:19 PM 4/3/02 -0800, you wrote:>I am streaming ogg via inetd. Basically, I am outputing like: > >oggenc -Q -b 1 -o - /some/wave/file.wav > >This works fine with ogg123 (other than that I want the bit rate to be >lower than 55-100 range that it is doing). > >I am using: >Ogg123 from vorbis-tools 1.0rc2 >OggEnc v0.8 (libvorbis rc2) > >But, FreeAmp for Windows slowly buffered up to 100% then said "Skipped >Corrupted File".You can't just do that - you have to send HTTP headers in response.>Or should I just use a real HTTP daemon? > >My goal is to use a microphone and have a live broadcast. I guess I could >try to do it with a httpd with CGI. Anyone do this (without icecast)? > >Where are the specifications on how to set up the streamer?<p>That's much harder (live broadcast) because you need to send the headers to new clients when they connect, rather than just dropping the current point in the stream on them. Why not use icecast? It's stable, fast, scalable. Michael <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-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.