The MPEG-2 transport stream is used as a container for many different audio/video formats (including AVCHD). This table lists information extracted from M2TS files.
Tag Name Writable Values / Notes AudioStreamType N --> M2TS StreamType Values VideoStreamType N --> M2TS StreamType Values _AC3 - --> M2TS AC3 Tags _H264 - --> H264 Tags
Value StreamType 0x0 = Reserved 0x1 = MPEG-1 Video 0x2 = MPEG-2 Video 0x3 = MPEG-1 Audio 0x4 = MPEG-2 Audio 0x5 = ISO 13818-1 private sections 0x6 = ISO 13818-1 PES private data 0x7 = ISO 13522 MHEG 0x8 = ISO 13818-1 DSM-CC 0x9 = ISO 13818-1 auxiliary 0xa = ISO 13818-6 multi-protocol encap 0xb = ISO 13818-6 DSM-CC U-N msgs 0xc = ISO 13818-6 stream descriptors 0xd = ISO 13818-6 sections 0xe = ISO 13818-1 auxiliary 0xf = MPEG-2 AAC Audio 0x10 = MPEG-4 Video 0x11 = MPEG-4 LATM AAC Audio 0x12 = MPEG-4 generic 0x13 = ISO 14496-1 SL-packetized 0x14 = ISO 13818-6 Synchronized Download Protocol 0x1b = H.264 Video 0x80 = DigiCipher II Video 0x81 = A52/AC-3 Audio 0x82 = HDMV DTS Audio 0x83 = LPCM Audio 0x84 = SDDS Audio 0x85 = ATSC Program ID 0x86 = DTS-HD Audio 0x87 = E-AC-3 Audio 0x8a = DTS Audio 0x91 = A52b/AC-3 Audio 0x92 = DVD_SPU vls Subtitle 0x94 = SDDS Audio 0xa0 = MSCODEC Video 0xea = Private ES (VC-1)
Tags extracted from AC-3 audio streams.
Tag Name Writable Values / Notes AudioBitrate N
0 = 32000
1 = 40000
2 = 48000
3 = 56000
4 = 64000
5 = 80000
6 = 96000
7 = 112000
8 = 128000
9 = 160000
10 = 192000
11 = 224000
12 = 256000
13 = 320000
14 = 384000
15 = 448000
16 = 512000
17 = 576000
18 = 64000032 = 32000 max
33 = 40000 max
34 = 48000 max
35 = 56000 max
36 = 64000 max
37 = 80000 max
38 = 96000 max
39 = 112000 max
40 = 128000 max
41 = 160000 max
42 = 192000 max
43 = 224000 max
44 = 256000 max
45 = 320000 max
46 = 384000 max
47 = 448000 max
48 = 512000 max
49 = 576000 max
50 = 640000 maxAudioChannels N
0 = 1 + 1
1 = 1
2 = 2
3 = 3
4 = 2/1
5 = 3/1
6 = 2/27 = 3/2
8 = 1
9 = 2 max
10 = 3 max
11 = 4 max
12 = 5 max
13 = 6 maxAudioSampleRate N 0 = 48000
1 = 44100
2 = 32000SurroundMode N 0 = Not indicated
1 = Not Dolby surround
2 = Dolby surround