View Full Version : streaming ogg vorbis
02-24-2003, 04:43 PM
I asked this question already over at Ars, but you people are nicer.
Anyway, is there any way to stream ogg vorbis files without setting up special server software/modules?
Specifically, I'm thinking of something like RA's .ram metafiles.
I've found instructions for various methods on the web, but they all seem to require me to set up a server. Which I don't wanna do. Or, more accurately, my host won't do for me, or let me attempt myself without buying a dedicated box.
I want to use ogg because I'll get better sound at lower bitrates than mp3, and real audio sucks the dog.
02-24-2003, 05:20 PM
If you just upload a .ogg file, I believe people should be able to listen to it while it downloads. It all depends on how their player is setup. In Winamp you'd use Open Location...(ctrl+l) to start streaming instead of downloading the file. Perhaps you could use a .m3u playlist to invoke winamp with streaming as the default?
Props for using a kickass audio format like OggVorbis. I hope you can work it out.
02-24-2003, 05:40 PM
It's called "bit-peeling." (http://www.vorbis.com/ot/20021201.html) I think this capability will be included with the next Ogg-Vorbis file format update. The software to take advantage of this feature probably hasn't been written yet.
Bitrate peeling is not actually implemented yet. A proof-of-concept tool exists, but it doesn't produce sufficiently satisfactory results on version 1.0 encoded Ogg Vorbis files. To work satisfactorily, bitrate peeling requires support on the encoder side, which takes time to write, and Monty hasn't had time to do that yet.
Oh yeah. Ogg Vorbis rocks. Whoo! :)
02-24-2003, 08:11 PM
I predict thread lockdown in:
(Just checking to see if the mods are at least consistent.)
02-24-2003, 08:15 PM
Why would they lock this thread? I see nothing that pertains to streaming material the poster does not have rights to. How do we know he isn't in a band and wants to stream the music of his band?
02-24-2003, 08:31 PM
Bit peeling doesn't relate to this. Bit peeling is just a way to produce on-demand low bitrate versions of a high bitrate stream without needing to reencode.
If you wish, you can ask the experts themselves anything you want about the wonderfull world of OggVorbis using your favorite IRC client. Fire it up, connect to irc.xiph.org, and join the #vorbis channel.
02-25-2003, 11:47 AM
Thanks for the replies...
FTR, I run the site for the most popular local (and possibly regional) punk zine in my area. We're currently contemplating doing some kind of streaming, canned "radio show" of local bands, with the express permission of the artists. If the Fearless Moderators determine that this discussion falls within the scope of verboten topics, I understand, and I won't bitch and moan if you lock it.
I'm gonna give the .m3u method a shot.
I am, however, having trouble encoding the files at really low bitrate, through both Grip and the CLI.
In the latter, I've tried:
$ oggenc -M24 song*.wav
$ oggenc --resample 22050 -M25 song*.wav
...and both are giving me "invalid parameters for bitrate" errors. I tried the resampling because I read somewhere on the ogg mailing lists that the encoder has trouble doing really low bitrates when the input is sampled at 44.1khz.
Any ideas what I'm doing wrong?
FDISK: Kickass format indeed. I've discovered that the effective "good enough" bitrate in ogg is ~64kbs, or half that of empeethrees. Sweet.
I'll try #vorbis when I'm not at work.
Thanks again, y'all.
02-25-2003, 03:44 PM
02-25-2003, 05:29 PM
I believe that the -b bitrate function is required. Use -b (averagebitrate) and THEN -M max-bitrate. Try that, see if it works. You may also want to use --downmix to downmix to mono for low bitrate streams.
02-26-2003, 04:43 PM
$ oggenc --managed --downmix --resample 32000 -b24 -m28 *wav
02-26-2003, 05:01 PM
I've never heard of an Ogg-Vorbis file before, but I like the name.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.