Herong's Tutorial Notes on CD/DVD
Dr. Herong Yang, Version 2.14

Printing MPEG Encoding Information with mpgtx

This section provides a tutorial on how to print MPEG encoding information from MPEG files with 'mpgtx'.

The first test I did was to use the "-i" option to print MPEG encoding information from MPEG files.

1. Print MPEG encoding information from a MPEG 1 syste file:

C:\temp>\local\bin\mpgtx -i mpeg1vcd.mpeg

  Mpeg 1 System File [Video/Audio]
  Muxrate : 1.41 Mbps
  Estimated Duration: 28.36s
  Size [352 x 240]     29.97 fps    1.12 Mbps
  Audio : Mpeg 1 layer 2
  224 kbps  44100 Hz
  Stereo,  No emphasis

2. Print MPEG encoding information from a MPEG 1 video file:

C:\temp>\local\bin\mpgtx -i tracking.mpeg

  Mpeg 1 Video File
  Estimated Duration: 47.92s
  Aspect ratio 1/1 (VGA)
  Size [720 x 480]     30.00 fps    1.16 Mbps

3. Print MPEG encoding information from a MPEG 2 video file:

C:\temp>\local\bin\mpgtx -i video.m2v

  Mpeg 2 Video File
  Estimated Duration: 52.45s
  Aspect ratio 4/3 (TV)
  Not interlaced, chroma format: 4:2:0
  Video Format: PAL
  Display Size [720 x 576]
  Size [704 x 576]     25.00 fps    7.50 Mbps

Sections in This Chapter

Downloading and Installing vStrip

Printing MPEG Encoding Information with mpgtx

Printing MP3 Encoding Information with mpgtx

Slicing MPEG Files by Play Time Ranges with mpgtx

Demuxing (Demultiplexing) MPEG Files with mpgtx

Splitting/Joining MPEG Files with mpgtx

Dr. Herong Yang, updated in 2007
Printing MPEG Encoding Information with mpgtx