## 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 ID | Tag Name | Writable | Values / 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) (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

> 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 ID | Tag Name | Writable | Values / 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.095 = 4:3, 525 line, NTSC, CCIR601
> 1.0255 = 1.0255
> 1.0695 = 1.0695
> 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 | Writable | Values / 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.

> Index1 | Tag Name | Writable | Values / 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 Aug 21, 2011

<-- ExifTool Tag Names