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 WritableValues / 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
_MISB - --> MISB Tags

M2TS StreamType Values

ValueStreamType
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
0x15= Packetized metadata
0x16= Sectioned metadata
0x17= ISO/IEC 13818-6 DSM CC Data Carousel metadata
0x18= ISO/IEC 13818-6 DSM CC Object Carousel metadata
0x19= ISO/IEC 13818-6 Synchronized Download Protocol metadata
0x1a= ISO/IEC 13818-11 IPMP
0x1b= H.264 (AVC) Video
0x1c= ISO/IEC 14496-3 (MPEG-4 raw audio)
0x1d= ISO/IEC 14496-17 (MPEG-4 text)
0x1e= ISO/IEC 23002-3 (MPEG-4 auxiliary video)
0x1f= ISO/IEC 14496-10 SVC (MPEG-4 AVC sub-bitstream)
0x20= ISO/IEC 14496-10 MVC (MPEG-4 AVC sub-bitstream)
0x21= ITU-T Rec. T.800 and ISO/IEC 15444 (JPEG 2000 video)
0x24= H.265 (HEVC) Video
0x42= Chinese Video Standard
0x7f= ISO/IEC 13818-11 IPMP (DRM)
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
0x90= PGS Audio
0x91= A52b/AC-3 Audio
0x92= DVD_SPU vls Subtitle
0x94= SDDS Audio
0xa0= MSCODEC Video
0xea= Private ES (VC-1)

M2TS AC3 Tags

Tags extracted from AC-3 audio streams.

Tag Name WritableValues / 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 Oct 13, 2022

<-- ExifTool Tag Names