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
- in.par: Name of the parameter file containing the
information needed to build the MPEG file. There are sample PAR files:
- "ntsc.par"
for an NTSC resolution sequence of 704x480 pixels at 30 frames
per second.
- "pal.par"
for a PAL resolution sequence of 704x576 pixels at 25 frames per
second.
Two more PAR files are available in the MPEG encoding demo
provided in this package: Demo
- out.mpg: name of the desired output file.
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:
- 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.
- 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 |