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.
Tag ID Tag Name Writable Values / Notes 'Bit11-12' MPEGAudioVersion no 0 = 2.5
2 = 2
3 = 1'Bit13-14' AudioLayer no 1 = 3
2 = 2
3 = 1'Bit16-19' AudioBitrate no (version 1, layer 1)
(version 1, layer 2)
(version 1, layer 3)
(version 2 or 2.5, layer 1)
(version 2 or 2.5, layer 2 or 3)'Bit20-21' SampleRate no (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 no 0 = Stereo
1 = Joint Stereo
2 = Dual Channel
3 = Single Channel'Bit26' MSStereo no (layer 3)
0 = Off
1 = On'Bit26-27' ModeExtension no (layer 1 or 2)
0 = Bands 4-31
1 = Bands 8-31
2 = Bands 12-31
3 = Bands 16-31'Bit27' IntensityStereo no (layer 3)
0 = Off
1 = On'Bit28' CopyrightFlag no 0 = False
1 = True'Bit29' OriginalMedia no 0 = False
1 = True'Bit30-31' Emphasis no 0 = None
1 = 50/15 ms
2 = reserved
3 = CCIT J.17
Tag ID Tag Name Writable Values / Notes 'Bit00-11' ImageWidth no 'Bit12-23' ImageHeight no 'Bit24-27' AspectRatio no
2 => 0.6735 = 0.6735
3 => 0.7031 = 16:9, 625 line, PAL
4 => 0.7615 = 0.7615
5 => 0.8055 = 0.8055
6 => 0.8437 = 16:9, 525 line, NTSC
7 => 0.8935 = 0.8935
8 => 0.9157 = 4:3, 625 line, PAL, CCIR601
9 => 0.9815 = 0.9815
1 => 1 = 1:1
12 => 1.095 = 4:3, 525 line, NTSC, CCIR601
10 => 1.0255 = 1.0255
11 => 1.0695 = 1.0695
13 => 1.1575 = 1.1575
14 => 1.2015 = 1.2015'Bit28-31' FrameRate no 'Bit32-49' VideoBitrate no
These tags are extracted from the Xing/Info frame.
Tag Name Writable Values / Notes Encoder no LameHeader - --> MPEG Lame Tags LameQuality no LameVBRQuality no VBRBytes no VBRFrames no VBRScale no
Tags extracted from Lame 3.90 or later header.
Index1 Tag Name Writable Values / Notes 9 LameMethod no [val & 0xf]
1 = CBR
2 = ABR
3 = VBR (old/rh)
4 = VBR (new/mtrh)5 = VBR (old/rh)
6 = VBR
8 = CBR (2-pass)
9 = ABR (2-pass)10 LameLowPassFilter no 20 LameBitrate no 24 LameStereoMode no [val >> 2 & 0x7]
0 = Mono
1 = Stereo
2 = Dual Channels
3 = Joint Stereo4 = Forced Joint Stereo
6 = Auto
7 = Intensity Stereo