Usage of mpeg2encode.exe

This program is a Windows 32 bit console application to encode a series of TGA or YUV files into MPEG-I or MPEG-II compatible streams.

usage: mpeg2encode.exe in.par out.mpg

The source code as provided by the MPEG Software Simulation Group was slightly modified by Martin D. Adamiker's and recompiled using Microsoft Developer Studio 6.0.

To demonstrate the abilities of this program, an MPEG encoding demo is provided in this package: Demo

Modifications:

  1. Instead of aborting, the program pauses when an input image is not currently present. You may retry creating the expected file. However, you still have to specify the exact total frame count in the PAR file. Pressing CTRL+C closes the MPEG file correctly, but the last frame sequence cycle might not be finished correctly.
  2. If an environment variable by the name of "MPEG2ENCSOURCE" is set to "TGA", mpeg2encode expects a series of uncompressed 24 bit TGA images instead of YUV images.

If you encounter problems or have further questions, ask martin@truflite.com.


The Martin D. Adamiker LLC
Tanbruckgasse 23/50
A-1120 Vienna, AUSTRIA

mailto: martin@truflite.com
+43-1-810-9633 Phone & Fax