MPEG Tags

The MPEG format doesn't specify any file-level meta information. In lieu of this, information is extracted from the first audio and video frame headers in the file.

MPEG Audio Tags

Tag IDTag Name WritableValues / Notes
'Bit11-12' MPEGAudioVersion N 0 = 2.5
2 = 2
3 = 1
'Bit13-14' AudioLayer N 1 = 3
2 = 2
3 = 1
'Bit16-19' AudioBitrate N (version 1, layer 1)
0 = free
1 = 32000
2 = 64000
3 = 96000
4 = 128000
   5 = 160000
6 = 192000
7 = 224000
8 = 256000
9 = 288000
   10 = 320000
11 = 352000
12 = 384000
13 = 416000
14 = 448000
  
(version 1, layer 2)
0 = free
1 = 32000
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
  
(version 1, layer 3)
0 = free
1 = 32000
2 = 40000
3 = 48000
4 = 56000
   5 = 64000
6 = 80000
7 = 96000
8 = 112000
9 = 128000
   10 = 160000
11 = 192000
12 = 224000
13 = 256000
14 = 320000
  
(version 2 or 2.5, layer 1)
0 = free
1 = 32000
2 = 48000
3 = 56000
4 = 64000
   5 = 80000
6 = 96000
7 = 112000
8 = 128000
9 = 144000
   10 = 160000
11 = 176000
12 = 192000
13 = 224000
14 = 256000
  
(version 2 or 2.5, layer 2 or 3)
0 = free
1 = 8000
2 = 16000
3 = 24000
4 = 32000
   5 = 40000
6 = 48000
7 = 56000
8 = 64000
9 = 80000
   10 = 96000
11 = 112000
12 = 128000
13 = 144000
14 = 160000
  
'Bit20-21' SampleRate N (version 1)
0 = 44100
1 = 48000
2 = 32000
(version 2)
0 = 22050
1 = 24000
2 = 16000
(version 2.5)
0 = 11025
1 = 12000
2 = 8000
'Bit24-25' ChannelMode N 0 = Stereo
1 = Joint Stereo
2 = Dual Channel
3 = Single Channel
'Bit26' MSStereo N (layer 3)
0 = Off
1 = On
'Bit26-27' ModeExtension N (layer 1 or 2)
0 = Bands 4-31
1 = Bands 8-31
2 = Bands 12-31
3 = Bands 16-31
'Bit27' IntensityStereo N (layer 3)
0 = Off
1 = On
'Bit28' CopyrightFlag N 0 = False
1 = True
'Bit29' OriginalMedia N 0 = False
1 = True
'Bit30-31' Emphasis N 0 = None
1 = 50/15 ms
2 = reserved
3 = CCIT J.17

MPEG Video Tags

Tag IDTag Name WritableValues / Notes
'Bit00-11' ImageWidth N  
'Bit12-23' ImageHeight N  
'Bit24-27' AspectRatio N 0.6735 = 0.6735
0.7031 = 16:9, 625 line, PAL
0.7615 = 0.7615
0.8055 = 0.8055
0.8437 = 16:9, 525 line, NTSC
0.8935 = 0.8935
0.9157 = 4:3, 625 line, PAL, CCIR601
0.9815 = 0.9815
1 = 1:1
1.0255 = 1.0255
1.0695 = 1.0695
1.095 = 4:3, 525 line, NTSC, CCIR601
1.1575 = 1.1575
1.2015 = 1.2015
'Bit28-31' FrameRate N  
'Bit32-49' VideoBitrate N  

MPEG Xing Tags

These tags are extracted from the Xing/Info frame.

Tag Name WritableValues / Notes
VBRFrames N  
VBRBytes N  
VBRScale N  
Encoder N  
LameVBRQuality N  
LameQuality N  
LameHeader - --> MPEG Lame Tags

MPEG Lame Tags

Tags extracted from Lame 3.90 or later header.

IndexTag Name WritableValues / Notes
9 LameMethod N [Mask 0x0f]
0x1 = CBR
0x2 = ABR
0x3 = VBR (old/rh)
0x4 = VBR (new/mtrh)
0x5 = VBR (old/rh)
0x6 = VBR
0x8 = CBR (2-pass)
0x9 = ABR (2-pass)
10 LameLowPassFilter N  
20 LameBitrate N  
24 LameStereoMode N [Mask 0x1c]
0x0 = Mono
0x1 = Stereo
0x2 = Dual Channels
0x3 = Joint Stereo
0x4 = Forced Joint Stereo
0x6 = Auto
0x7 = Intensity Stereo

(This document generated automatically by Image::ExifTool::BuildTagLookup)
Last revised May 25, 2010

<-- ExifTool Tag Names