3ivx MPEG-4 Video & Audio
News Technology Download Store Company Company

How to encode MPEG-4 video using GraphEdit

Back to Support

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.

I used an MPEG-2 video with AC3 Audio. For demultiplexing and decoding the MPEG-2, I used the Moonlight Elecard MPEG-2 Decoder Filter and AC3Filter for Decoding the AC3 Audio.

GraphEdit - Initial Graph of the MPEG-2 File

Step 1 - Open your source file

Drag your source file to the GraphEdit icon.

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.

GraphEdit - Which filters do you want to insert?

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).

GraphEdit - Inserted Filters

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.

GraphEdit - Filter Configurator

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.

GraphEdit - Video Encoding Graph 1

GraphEdit - Video Encoding Graph 2

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.



Support > Windows > Encoding > How to encode MPEG-4 video using GraphEdit

Google
Site Map  |  Contact Us  |  Job Opportunities

Copyright © 2011 3ivx Technologies Pty. Ltd. All rights reserved.