xport Transport Stream Demuxer 1.01

Changes for 1.01

1) Fixed bug with MPEG-2 and VC-1 streams with sequence end codes and -p option
2) Add PCR dump option
3) Add HDMV arrival_time_tamp difference dump
4) Add TS bitrate for HDMV streams (if arrival_time_stamp != PCR)

Changes for 1.00

1) Delete or replace sequence end codes in demuxed video elementary streams (MPEG-2, H.264 and VC-1)
2) Add coded picture count for H.264 video (useful for 1080p@23.976 Blu-ray video where coded pictures = frames)
3) Cleaned up video and audio PTS/DTS dumping

Changes for 0.99

1) Add channel padding for concatenated Blu-ray LPCM audio

Changes for 0.98a

1) Improved HDMV packet parsing test

Changes for 0.98

1) Allow audio only demuxing by setting the video channel number to zero
2) Fix MPEG-1 Layer 2 audio demuxing
3) Check some array indices to prevent crashes

Changes for 0.97

1) Fix for BBC-HD streams that have AC-3 audio in MPEG-1 audio PES
2) Compile in "Release" mode (smaller binary, faster execution)

Changes for 0.96

1) Fixed a more severe bug in LCPM audio for 20 and 24 bit streams
2) Can now properly handle audio PES streams with unaligned start codes (AC-3 and MPEG-1 Layer 2)

Changes for 0.95

1) Fix bug in LCPM audio for streams other than 48 kHz, 16 bit
2) Add usage and version information

Changes for 0.94

1) Add option for only extracting 2 channels of HDMV LPCM audio
2) Fix -p option when used with HDMV LPCM

Changes for 0.93

1) Properly demux HDMV LPCM audio
2) Only output left and right channels for HDMV LPCM (for now)

Changes for 0.92

1) Add LPCM audio stream_type

Changes for 0.91

1) Fix extra 0x0b (AC-3) or 0xff (MPEG-1 Layer2) byte at start of trimmed audio

Changes for 0.9

1) Add VC-1 demuxing
2) Update entire audio trimming algorithm to work with .m2ts (HDMV)
3) Delete -n option

Usage is:

xport <-pavtdszgh> <infile> <program number> <video stream number> <audio stream number>

typically:

xport something.ts 1 1 1

The output files are always named bits0001.mpv for video and bits0001.mpa for audio
(note that bits0001.mpa can be an AC-3 file). For AC-3, MPEG-1 Layer 2 and Blu-ray
LPCM audio, the demuxer will time align the beginning of the two elementary streams
so that a remux to PS or back to TS will have correct A/V sync. The -n option has
been deleted.

Options:

p = parse only, do not demux to video and audio files.
a = dump audio PTS.
v = dump video PTS.
t = GOP timecode mode, count repeated fields/frames.
d = dump all PID's (useful for debugging muxers, but tons of output).
s = suppress TS rate dumping (useful when piping output to a file).
z = demux to PES streams (instead of elementary streams).
g = dump ATSC PSIP information.
h = input file is in HDMV (AVCHD and Blu-ray) format (192 byte packets)
2 = only extract 2 channels of HDMV LPCM audio from multi-channel tracks.
