Demuxing (Demultiplexing) MPEG Files with mpgtx

This section provides a tutorial on how to demux (demultiplex) a MPEG file to generate separate stream output files.

The demux function (-d command option) of "mpgtx" allows you to demultiplex a MPEG file to separate streams of media data into separate output files. Here is an example of demuxing a MPEG-1 file:

C:\temp>\local\bin\mpgtx -d sample_part.mpg -b sample_stream
 DemultiplexingXXX : [audio 01  video 01] [ 99.63%]

C:\temp>dir sample*.*

   4,913,152 sample_full.m1s
   1,739,330 sample_part.mpg
   1,403,732 sample_stream-0.m1v
     280,317 sample_stream-0.mp2

The output files look good:

Table of Contents

 About This Book

 Audio CD (Compact Disc Digital Audio or CD-DA) Format

 Audio CD (Compact Disc Digital Audio or CD-DA) Players

 Audio CD (Compact Disc Digital Audio or CD-DA) Rip Music

 WAV Audio File Format

 MP3, MPEG-1 Audio Layer 3, Encoding Format

 Burning MP3 Music to Audio CD

 Windows Sound Recorder

 ISO 9660 Standard for Data CD

 Recording Data on CD

 VCD (Video CD) Standard

 DVD (Digital Video Disc) Standard Format

 TOC (Table Of Contents) on CDs

 IsoBuster - A Nice CD GUI Tool

 MPlayer - The Movie Player

 vStrip - Rip and Manipulate DVD VOB Files

mpgtx - Manipulating MPEG Files

 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

 CD/DVD - File Name Extension and Format Types

 References

 PDF Printing Version