OggMachine

If you didn't come here via the Ogg media stream creation guide here's a warning: In order to properly use Vorbis files you must mux them according to the Ogg media stream creation guide. Muxing in Nandub will not work by default, and if you install the latest Vorbis dlls it will work but the sound will get out of synch as soon as you fast forward/reverse so it's pretty much useless.

OggMachine is a frontent to use BeSweet to encode AC3/WAV/MP2/MP3/VOB to Ogg Vorbis. It requires that you extract BeSweet to the OggMachine directory and install the Ogg DirectShow Filters (actually that part is optional for ogg creation by now, but if you create a movie with Vorbis audio you'll still need the filters). The guide will show an example of AC3 input. If you have another type of input the GUI will automatically select boost and ota gain to replace Azid's DRC and gain and you just have to select a bitrate/quality setting. The switches which are only needed in rare cases are colored in gray, the rest is green.

Once you've started OggMachine configure the location of BeSweet.exe and the input file. The output file will be automatically set to have the same name as the input, with .ogg extension of course.

Then configure the downmix options. These are essentially the same settings as in the Azid/BeSweet GUI. All you have to set is set LFE to LR Channels to -3db and leave the rest unchecked.

Then the overall settings:

Channels mode sets the resulting output format. Surround2 means you get a Dolby Pro Logic II optimized downmix, surround means you get a Dolby Surround encoded file which is the default. Stereo would only give you a stereo file whereas 5.1 would give you a 6 channel Ogg Vorbis file. If you have analogue 5.1 channel output on your soundcard and want to have 6 channel audio but not keep the AC3 (keep in mind that you can't use Vorbis via S/PDIF connector as no receiver can decode it) then set this to 5.1, otherwise set Channels Mode to surround to get a regular 2channel audio file.

Set Dynamic compression to normal to get about the same dynamic range as when you play the DVD on your PC/TV.

There are two gain methods, both will ensure that the audio will have the optimal volume without any distortion. First of all you should check Auto Find Maximum Gain so you won't have to guess what gain to apply. Then you can select between the regular Gain and PostGain. Gain performs 2 passes, whereas PostGain only needs one decoding pass which is obviously quite a bit faster.

Last but not least check Set Delay to. The value will already be entered properly into the field so you won't have to make any adjustments. This even works for VOB input by the way..

Change framerate is only necessary if you want to convert a PAL movie to NTSC (25000 -> 23976) or NTSC to PAL (23976 -> 25000).

Last but not least let's configure the Vorbis output.

Only the Quality based mode has been properly optimized by the Vorbis developers so you should check Quality and select a quality parameter from the dropdown list. The program will show you a corresponding bitrate to each setting. Other programs use different values here, in Oggmachine the values have been normalized, so to get a value corresponding to the setting in OggDrop multiply this value by 10.

As Vorbis is better than MP3 you can safely go lower than 128kbit/s here. But 64kbit/s should be the lower limit for a 2 channel Vorbis file.

If you absolutely need downsampling you can also check Set Sampling Rate to so that SSRC will be invoked to downsample the audio.



Once you're all set press the Give me Ogg! button to start the conversion. If you get a runtime error you most likely haven't properly configured the path to BeSweet.exe or you need to download the latest release of msvbvm60.dll. Don't forget to check Output to Logfile.. it will help you in case you're having any problems (basically you can't expect any help in the forum if you can't supply that file.. it helps us determine what could've gone wrong).

If you would rather use the daily libvorbis.dll compiles just put the appropriate dll into the BeSweet folder and the dll will be used instead of the Ogg DS filters.

>> BACK

This document was last updated on 09/28/02