This guide has been superseded with a new one that makes use of the recently released '3ivx MPEG-4 Video Encoder' for DirectShow. You can find it here.
This encoding process makes use of GraphEdit and the 'Filter Configurator'. You can download both from the Download Section of the web-site. Make sure that you installed the 3ivx Filter Suite as well.
GraphEdit works by designing a Compression Graph made up of filters.
Before starting make sure that you have a suitable source. You can use any source file you want, as long as it contains video and properly opens in GraphEdit. If this is not the case you might want to google for DirectShow filters that can decode your source footage.
The picture on the left shows you how the MPEG-2 file I used, is connecting to the MPEG-2 Decoder and AC3Filter.
You can delete all the filters after the Audio and Video Decoder.
Step 2 - Insert filters
Go to the 'Graph' menu and choose 'Insert Filters'. Select the '3ivx D4 4.5 Video Codec' in the 'Video Compressors' section and click 'Insert Filter'. Repeat the same procedure for the 'Filter Configurator', the '3ivx D4 Media Muxer', the '3ivx D4 Audio Encoder' (if you would like to encode the Audio to the MPEG-4 format) and the 'File Writer' in the 'DirectShow Filters' section.
Set the 'File Writer' to write an MP4 file (e.g. c:\test.mp4).
Step 3 - Configure the filters
It is very important that you configure the '3ivx D4 4.5 Video Codec' using the 'Filter Configurator' before connecting the different filters in a Graph. In the event you use the 'Filter Configurator' after connecting the '3ivx D4 4.5 Video Codec', GraphEdit will probably crash.
If you are using the '3ivx D4 Audio Encoder', right click on the object and configure its properties.
Step 4 - Using the Filter Configurator
Right click on the 'Filter Configurator' object and choose 'Filter Properties ...'. You should see a dialog box similar to the one on the left.
Select the '3ivx D4 4.5 Video Codec' from the Filters list and click on 'Configure compression'.
Configure the '3ivx D4 4.5 Video Codec'. More information about its various properties is available here.
Step 5 - Connecting
It is time to build the Graph. Right click on the output pin of the Video Decoder and choose 'Render Pin'. The Video Decoder in my example is the 'Elecard MPEG-2 Decoder'. Repeat the same step for the 'Audio Decoder', which is the 'AC3Filter' in my example.
As you can see on the screenshot on the left, the 'Filter Configurator' does not get connected.
Hit Play to start the process. When the encoding is finished you will have an MPEG-4 compliant MP4 file.