Prepare content from OGM for Xbox 360

Software you need
WinRAR | WinRAR is required to extract VirtualDUBMOD files. |
AviCodec | AviCodec will give us some information on our OGM file. |
FFDShow | DirectShow filters that would decode most of the streams you would find in the OGM container. |
Haali Media Splitter | Haali Media Splitter brings support for splitting OGM to DirectShow players and programs. |
VirtualDUBMOD | VirtualDUBMOD is capable of opening and processing OGM files. |
Download the above items and store them on your hard disk drive. You can install WinRAR immediately if you don't already have it installed. Haali Media Splitter brings more support for OGM to Windows programs that rely on DirectShow (make sure OGM support is ticked on installation). FFDShow is a set of filters that can decode easily most of the streams you would find in an OGM file.
OGM --> AVI Step 1 - Get information on OGM file streams |
Using AviCodec

The picture with this text (click to enlarge) shows how AviCodec will report on my OGM file. It reports that I have an XviD video stream (FourCC is XVID) and stereo OGG audio. While the XviD (or DivX) video is good for the AVI container, we have a problem with Ogg Vorbis. This must be encoded to MP3 audio for support with the Xbox 360 console. You might be lucky enough to have MP3 audio or AC3, in which case, you can ignore the transcoding part later in the guide but you'll still have to identify the audio stream you want to keep if there are many of them.
I will write with the assumption that you have OGG Vorbis audio too. Let's continue with VirtualDUBMOD.
OGM --> AVI Step 2 - Prepare VirtualDUBMOD and Open OGM |
Setup VirtualDUBMOD

Main Window

This version of VirtualDUB doesn't just support opening and saving AVI files, it also supports MKV files and OGM files, making it perfect for this article.
We will now use it to open an OGM file and save it as an AVI. In all probability I will probably have to encode an OGG audio stream to MP3.
Open OGM File

When it is loaded and you can see the first video frames (usually black) of the video, click Streams --> Streams List.
OGM --> AVI Step 3 - Convert OGG Vorbis to MP3 and disable audio |
Stream List

However, first I will go through the short steps of transcoding OGG Vorbis to MP3 audio.
Full Processing Mode

When you have selected Full Processing Mode, click the Compression option.
Compression - Lame MP3

Once you have selected your bitrate, click OK.
Demux - Encode to MP3

Click the Save button and the process will begin automatically.
MP3 Encoding Process

When the process finishes, you will be back at the stream list. Click the Add button and an Explorer File Browser window will pop up again. This time, go to the location where you saved the MP3 file and double click it.
VirtualDUBMOD will now briefly check the file before listing it there amongst your other streams.
Import MP3

VirtualDUBMOD will now briefly check the file before listing it there amongst your other streams.
Stream List

You can simply double click any stream you want to disable and it won't be included in your output AVI file.
Disable Streams

Set Disabled Streams to Direct Stream Copy

Remember that if you have already encoded your MP3 (and you should have by now), and added it into the Stream List through the Add button, then you must set that as Direct Stream Copy too or else you could end up with PCM audio.
When you are done with the Stream List, then click OK. When you are back at the main VirtualDUBMOD window, click File --> Save As.
OGM --> AVI Step 4 - Save and finish up |
Save as AVI

Firstly, you must make sure that Save as type is set to Audio-Video Interleave (AVI) and not either of the other choices.
Secondly, you must ensure that Video Mode is definitely set to Direct Stream Copy. If it is not, you will end up with ridiculously large files due to no compression.
When you made sure both of these essential settings are taken care of, give your output file a name with a .avi extension, and click Save.
Finally
Depending on the circumstances, the above instructions may fail to bring you playback on the Xbox 360. If that happens, please go to the Xbox 360 forum in our Discussion Forums and ask for help. However, this method should work for the vast majority of OGM files you have.
Version History
v1.0 -- First on site -- Feb 13th, 2008 by Dela