MPEG-2 Transport Stream Multiplexers
TS Multiplexer Versions
MP2TSME Technical Specifications
Tool Kit Features

The Tool Kit includes utilities that perform the following standalone functions:

  • Insert / extract 608 & 708 closed captioning data into / from an existing video elementary stream
  • Trim video elementary streams to start with a sequence header
  • Display detailed information about each picture in an input video elementary stream
  • Copy specified range of access units from input video elementary stream
  • Display detailed information about each access unit in an input audio elementary stream
  • Copy specified range of access units from input audio elementary stream
  • Insert user private tables in transport packets to create a prepacketized data stream
  • Copy specified range of transport packets from input transport stream
  • Include integrated Demultiplexer that extracts video and audio elementary streams from existing .MP4 container files, MPEG system, program, VOB, or transport stream files
  • Mux DVB subtitles from Spruce STL files, VOBSUB .IDX files, or Scenarist scripts for DVB
  • MBatch Utility automates multiplexing of multiple input files, and files that are dynamically generated in a watch folder
Multiplexer Features

The enhanced transport stream multiplexer includes the following general features:

  • Generates fully-compliant MPEG-2 transport streams
  • Defaults are selected for all stream parameters so only input and output file names are required
  • Simple configuration file format
  • Supports command-line execution of the TS Mux Engine, TS Demux Engine, TS Remux Function, Video Trim Utility, and Maximum Duration Utility
  • Output stream is verified with the decoder buffer model specified by the MPEG standard
  • Output transport rate range of 1 Kbps to 1 Gbps
  • Supports up to 65535 programs in the output TS file
  • Accepts up to 16 MPEG-1, MPEG-2 and/or H.264/AVC video elementary streams per program
  • Supports all video layers and profiles, both constant bit rate and variable bit rate
  • Accepts up to 64 audio elementary streams per program
  • Supports Dolby AC-3, Enhanced AC-3, AAC, MPEG-4 (HE-AAC), MPEG Layer 1, 2, and 3, and DTS audio
  • Supports SMPTE 302M-2002 AES3 data
  • Muxes DVB subtitles from bitmapped data (ETSI EN 300 743) and ITU-R System B teletext (ETSI EN 300 472) using Private Stream 1
  • Multiplexes Digital Program Insertion Cueing Message streams (ANSI/SCTE 35 2004 and CableLabs CEP 2.0)
  • Displays a summary of output stream characteristics
  • Runs on Windows, Mac OS X, and Linux
Transport Options

The following optional transport parameters may be specified for the transport stream:

  • Transport rate may be specified by the user, or may be computed automatically for optimal bandwidth
  • Duration of output stream
  • PSI (PAT and PMT) may be automatically created, or disabled
  • PAT and PMT insertion rates
  • Discontinuity indicator may be set in the PID 0 packet carrying the initial PAT
  • Leader of specified duration containing only PSI may precede elementary data packets
  • PAT version number and transport stream ID value
  • Transport priority indicator may be set in all PID 0 packets
  • Prepacketized data may be inserted at a specified rate
  • Output packet size may be increased from the 188-byte default up to 512 bytes
  • Output stream may be processed for seamless concatenation using the Terminator technology
  • Output may be segmented into multiple files
Program Options

The following optional program parameters may be specified for each program in the transport stream:

  • PMT program number and version number
  • PMT PID and PCR PID values
  • Program descriptors
  • Initial PMT discontinuity
  • PCR interval
  • Program level smoothing buffer support
  • Transport priority indicator may be set in all PMT PID packets
  • Prepacketized data may be inserted at a specified rate, and included in the PMT as a program element
Video Options

The following optional video parameters may be specified for each video elementary stream in a program:

  • PID value
  • Associated program element descriptors
  • Bit rate specified in video syntax may be overridden
  • Discontinuity indicator may be set in the initial video packet
  • Transport priority indicator may be set in all video packets
  • PES header rate
  • Presentation Time Stamp (PTS) rate
  • Force video access units to be aligned to PES headers
  • Stream type and stream ID values
  • PES priority indicator flag value
  • Data alignment indicator value
  • PES original or copy flag value
  • PES copyright flag value
  • Insert PCR before every I-frame for random access
  • Insert splicing points before or after every I-frame
  • Set random access indicator flag
  • Video elementary stream smoothing buffer support
  • Non-standard decoder buffer size
  • Give video packets priority in the multiplex to minimize packet jitter
  • Delay insertion of video relative to start of program
  • Video elementary stream may be input using multiple sequential files
Audio Options

The following optional audio parameters may be specified for each audio elementary stream in a program:

  • PID value
  • Associated program element descriptors
  • Bit rate specified in audio syntax may be overridden
  • Discontinuity indicator may be set in the initial audio packet
  • Transport priority indicator may be set in all audio packets
  • PES header rate
  • Presentation Time Stamp (PTS) rate
  • Force audio access units to be aligned to PES headers
  • Stream type and stream ID values
  • PES priority indicator flag value
  • Data alignment indicator value
  • PES original or copy flag value
  • PES copyright flag value
  • Set random access indicator flag
  • Audio elementary stream smoothing buffer support
  • Non-standard decoder buffer size
  • ATSC or DVB specified T-STD buffer model for Dolby AC-3 audio
  • Give audio packets priority in the multiplex to minimize packet jitter
  • Delay insertion of audio relative to start of program
  • Audio elementary stream may be input using multiple sequential files
System Requirements

MP2TSME is available for Windows (2000 / Server 2003 / XP / Vista/ 7), Linux (i386+ compatible, X11 R6.8 or newer), and Mac OS X (v10.3.9 or newer).