This page is not a vorbis encoding tutorial. It explains what specifically to do when creating an ogg to be used with StreamPlug®
Ogg Vorbis Basics
- The main thing to understand to get started is that ogg vorbis is both a container and an audio codec. Vorbis is the audio codec. Ogg is the container. When you encode sound in vorbis, you embed it in an ogg container.
- Starting with a clean source is the best to ensure a good result. Converting from Mp3 to vorbis will increase the loss of quality, even if vorbis is less lossy than Mp3. Starting with a clean .wav file should always be preferred.
Ogg Vorbis Tools
You can either encode in vorbis using command lines or by using third parties softwares providing a GUI. Players, encoders and other tools for vorbis can be found here
Encoding in Vorbis For StreamPlug®
For quality purposes, files encoded in vorbis to be used with SP should always be encoded using a variable bitrate. Variable bitrates cause, as the name indicates, fluctuation in the bitrate in order to preserve the quality.
Choosing A Bitrate
As usual with SP, determining which bitrate to use depends on the bandwidth capacity of your audience. A song encoded in 128kbps can not be streamed on a 56kbps modem. This is the reason why it is often a good idea to propose two versions of audio files, one at 32kbps for 56kbps modems and one at 128kbps or higher for broadband connections. Depending on the quality of your source file, an encoding at 128kbps will usually yield very satisfying results and often makes it unnecessary to use a higher bitrate, which will will cause you to be able to serve fewer clients at one time.