## M2TS Tags

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 | no | --> M2TS StreamType Values
> Duration | no | (the -fast option may be used to avoid scanning to the end of file to calculate the Duration)
> VideoStreamType | no | --> M2TS StreamType Values
> _AC3 | - | --> M2TS AC3 Tags
> _H264 | - | --> H264 Tags

## M2TS StreamType Values

> Value | StreamType | Value | StreamType
> --- | --- | --- | ---
> 0x0 | = Reserved | 0x12 | = MPEG-4 generic
> 0x1 | = MPEG-1 Video | 0x13 | = ISO 14496-1 SL-packetized
> 0x2 | = MPEG-2 Video | 0x14 | = ISO 13818-6 Synchronized Download Protocol
> 0x3 | = MPEG-1 Audio | 0x1b | = H.264 Video
> 0x4 | = MPEG-2 Audio | 0x80 | = DigiCipher II Video
> 0x5 | = ISO 13818-1 private sections | 0x81 | = A52/AC-3 Audio
> 0x6 | = ISO 13818-1 PES private data | 0x82 | = HDMV DTS Audio
> 0x7 | = ISO 13522 MHEG | 0x83 | = LPCM Audio
> 0x8 | = ISO 13818-1 DSM-CC | 0x84 | = SDDS Audio
> 0x9 | = ISO 13818-1 auxiliary | 0x85 | = ATSC Program ID
> 0xa | = ISO 13818-6 multi-protocol encap | 0x86 | = DTS-HD Audio
> 0xb | = ISO 13818-6 DSM-CC U-N msgs | 0x87 | = E-AC-3 Audio
> 0xc | = ISO 13818-6 stream descriptors | 0x8a | = DTS Audio
> 0xd | = ISO 13818-6 sections | 0x91 | = A52b/AC-3 Audio
> 0xe | = ISO 13818-1 auxiliary | 0x92 | = DVD_SPU vls Subtitle
> 0xf | = MPEG-2 AAC Audio | 0x94 | = SDDS Audio
> 0x10 | = MPEG-4 Video | 0xa0 | = MSCODEC Video
> 0x11 | = MPEG-4 LATM AAC Audio | 0xea | = Private ES (VC-1)

## M2TS AC3 Tags

Tags extracted from AC-3 audio streams.

> Tag Name | Writable | Values / Notes
> --- | --- | ---
> AudioBitrate | no |
> AudioChannels | no |
> 0 = 1 + 1 1 = 1 2 = 2 3 = 3 4 = 2/1 5 = 3/1 6 = 2/2 |  | 7 = 3/2 8 = 1 9 = 2 max 10 = 3 max 11 = 4 max 12 = 5 max 13 = 6 max
> AudioSampleRate | no | 0 = 48000 1 = 44100 2 = 32000
> SurroundMode | no | 0 = Not indicated 1 = Not Dolby surround 2 = Dolby surround

(This document generated automatically by Image::ExifTool::BuildTagLookup)
Last revised Mar 18, 2011

<-- ExifTool Tag Names