## RIFF Tags

The RIFF container format is used various types of fines including WAV, AVI, WEBP, LA, OFR, PAC and WV. According to the EXIF specification, Meta information is embedded in two types of RIFF `LIST` chunks: `INFO` and `exif`, and information about the audio content is stored in the `fmt` chunk. As well as this information, some video information and proprietary manufacturer-specific information is also extracted.

Large AVI videos may be a concatenation of two or more RIFF chunks. For these files, information is extracted from subsequent RIFF chunks as sub-documents, but the Duration is calculated for the full video.

> Tag ID | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 'JUNK' | OlympusJunk CasioJunk RicohJunk PentaxJunk PentaxJunk2 TextJunk | - - - - - N | --> Olympus AVI Tags --> EXIF Tags --> Ricoh AVI Tags --> Pentax Junk Tags --> Pentax Junk2 Tags
> 'JUNQ' | OldXMP | N |
> 'LIST_INFO' | Info | - | --> RIFF Info Tags
> 'LIST_Tdat' | Tdat | - | --> RIFF Tdat Tags
> 'LIST_exif' | Exif | - | --> RIFF Exif Tags
> 'LIST_hdrl' | Hdrl | - | --> RIFF Hdrl Tags
> 'LIST_hydt' | PentaxData | - | --> Pentax AVI Tags
> 'LIST_ncdt' | NikonData | - | --> Nikon AVI Tags
> 'VP8 ' | VP8Bitstream | - | --> RIFF VP8 Tags
> '_PMX' | XMP | - | --> XMP Tags
> 'bext' | BroadcastExtension | - | --> RIFF BroadcastExt Tags
> 'fmt ' | AudioFormat | - | --> RIFF AudioFormat Tags
> 'olym' | Olym | - | --> Olympus WAV Tags

## RIFF Info Tags

RIFF INFO tags found in WAV audio and AVI video files. Tags which are part of the EXIF 2.3 specification have an underlined Tag Name in the HTML version of this documentation. Other tags are found in AVI files generated by some software.

> Tag ID | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 'AGES' | Rated | N |
> 'CMNT' | Comment | N |
> 'CODE' | EncodedBy | N |
> 'COMM' | Comments | N |
> 'DIRC' | Directory | N |
> 'DISP' | SoundSchemeTitle | N |
> 'DTIM' | DateTimeOriginal | N |
> 'GENR' | Genre | N |
> 'IARL' | ArchivalLocation | N |
> 'IART' | Artist | N |
> 'IAS1' | FirstLanguage | N |
> 'IAS2' | SecondLanguage | N |
> 'IAS3' | ThirdLanguage | N |
> 'IAS4' | FourthLanguage | N |
> 'IAS5' | FifthLanguage | N |
> 'IAS6' | SixthLanguage | N |
> 'IAS7' | SeventhLanguage | N |
> 'IAS8' | EighthLanguage | N |
> 'IAS9' | NinthLanguage | N |
> 'IBSU' | BaseURL | N |
> 'ICAS' | DefaultAudioStream | N |
> 'ICDS' | CostumeDesigner | N |
> 'ICMS' | Commissioned | N |
> 'ICMT' | Comment | N |
> 'ICNM' | Cinematographer | N |
> 'ICNT' | Country | N |
> 'ICOP' | Copyright | N |
> 'ICRD' | DateCreated | N |
> 'ICRP' | Cropped | N |
> 'IDIM' | Dimensions | N |
> 'IDPI' | DotsPerInch | N |
> 'IDST' | DistributedBy | N |
> 'IEDT' | EditedBy | N |
> 'IENC' | EncodedBy | N |
> 'IENG' | Engineer | N |
> 'IGNR' | Genre | N |
> 'IKEY' | Keywords | N |
> 'ILGT' | Lightness | N |
> 'ILGU' | LogoURL | N |
> 'ILIU' | LogoIconURL | N |
> 'ILNG' | Language | N |
> 'IMBI' | MoreInfoBannerImage | N |
> 'IMBU' | MoreInfoBannerURL | N |
> 'IMED' | Medium | N |
> 'IMIT' | MoreInfoText | N |
> 'IMIU' | MoreInfoURL | N |
> 'IMUS' | MusicBy | N |
> 'INAM' | Title | N |
> 'IPDS' | ProductionDesigner | N |
> 'IPLT' | NumColors | N |
> 'IPRD' | Product | N |
> 'IPRO' | ProducedBy | N |
> 'IRIP' | RippedBy | N |
> 'IRTD' | Rating | N |
> 'ISBJ' | Subject | N |
> 'ISFT' | Software | N |
> 'ISGN' | SecondaryGenre | N |
> 'ISHP' | Sharpness | N |
> 'ISRC' | Source | N |
> 'ISRF' | SourceForm | N |
> 'ISTD' | ProductionStudio | N |
> 'ISTR' | Starring | N |
> 'ITCH' | Technician | N |
> 'IWMU' | WatermarkURL | N |
> 'IWRI' | WrittenBy | N |
> 'LANG' | Language | N |
> 'LOCA' | Location | N |
> 'PRT1' | Part | N |
> 'PRT2' | NumberOfParts | N |
> 'RATE' | Rate | N |
> 'STAR' | Starring | N |
> 'STAT' | Statistics | N | [Value 3] 0 = Bad 1 = OK
> 'TAPE' | TapeName | N |
> 'TCDO' | EndTimecode | N |
> 'TCOD' | StartTimecode | N |
> 'TITL' | Title | N |
> 'TLEN' | Length | N |
> 'TORG' | Organization | N |
> 'TRCK' | TrackNumber | N |
> 'TURL' | URL | N |
> 'TVER' | Version | N |
> 'VMAJ' | VegasVersionMajor | N |
> 'VMIN' | VegasVersionMinor | N |
> 'YEAR' | Year | N |

## RIFF Tdat Tags

> Tag ID | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> [no tags known]

## RIFF Exif Tags

These tags are part of the EXIF 2.3 specification for WAV audio files.

> Tag ID | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 'ecor' | Make | N |
> 'emdl' | Model | N |
> 'emnt' | MakerNotes | N |
> 'erel' | RelatedImageFile | N |
> 'etim' | TimeCreated | N |
> 'eucm' | UserComment | N |
> 'ever' | ExifVersion | N |

## RIFF Hdrl Tags

> Tag ID | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 'IDIT' | DateTimeOriginal | N |
> 'ISMP' | Timecode | N |
> 'LIST_odml' | OpenDML | - | --> RIFF OpenDML Tags
> 'LIST_strl' | Stream | - | --> RIFF Stream Tags
> 'avih' | AVIHeader | - | --> RIFF AVIHeader Tags

## RIFF OpenDML Tags

> Tag ID | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 'dmlh' | ExtendedAVIHeader | - | --> RIFF ExtAVIHdr Tags

## RIFF ExtAVIHdr Tags

> Index4 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | TotalFrameCount | N |

## RIFF Stream Tags

> Tag ID | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 'strd' | StreamData | - | --> RIFF StreamData Tags
> 'strf' | AudioFormat VideoFormat | - - | --> RIFF AudioFormat Tags --> BMP Tags
> 'strh' | StreamHeader | - | --> RIFF StreamHeader Tags
> 'strn' | StreamName | N |

## RIFF StreamData Tags

This chunk is used to store proprietary information in AVI videos from some cameras. The first 4 characters of the data are used as the Tag ID below.

> Tag ID | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 'AVIF' | AVIF | - | --> EXIF Tags
> 'CASI' | CasioData | - | --> Casio AVI Tags
> 'Zora' | VendorName | N |
> 'unknown' | UnknownData | N |

## RIFF AudioFormat Tags

> Index2 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | Encoding | N | --> RIFF AudioEncoding Values
> 1 | NumChannels | N |
> 2 | SampleRate | N |
> 4 | AvgBytesPerSec | N |
> 7 | BitsPerSample | N |

## RIFF AudioEncoding Values

These "TwoCC" audio encoding codes are used in RIFF and ASF files.

> Value | AudioEncoding
> --- | ---
> 0x1 | = Microsoft PCM
> 0x2 | = Microsoft ADPCM
> 0x3 | = Microsoft IEEE float
> 0x4 | = Compaq VSELP
> 0x5 | = IBM CVSD
> 0x6 | = Microsoft a-Law
> 0x7 | = Microsoft u-Law
> 0x8 | = Microsoft DTS
> 0x9 | = DRM
> 0xa | = WMA 9 Speech
> 0xb | = Microsoft Windows Media RT Voice
> 0x10 | = OKI-ADPCM
> 0x11 | = Intel IMA/DVI-ADPCM
> 0x12 | = Videologic Mediaspace ADPCM
> 0x13 | = Sierra ADPCM
> 0x14 | = Antex G.723 ADPCM
> 0x15 | = DSP Solutions DIGISTD
> 0x16 | = DSP Solutions DIGIFIX
> 0x17 | = Dialoic OKI ADPCM
> 0x18 | = Media Vision ADPCM
> 0x19 | = HP CU
> 0x1a | = HP Dynamic Voice
> 0x20 | = Yamaha ADPCM
> 0x21 | = SONARC Speech Compression
> 0x22 | = DSP Group True Speech
> 0x23 | = Echo Speech Corp.
> 0x24 | = Virtual Music Audiofile AF36
> 0x25 | = Audio Processing Tech.
> 0x26 | = Virtual Music Audiofile AF10
> 0x27 | = Aculab Prosody 1612
> 0x28 | = Merging Tech. LRC
> 0x30 | = Dolby AC2
> 0x31 | = Microsoft GSM610
> 0x32 | = MSN Audio
> 0x33 | = Antex ADPCME
> 0x34 | = Control Resources VQLPC
> 0x35 | = DSP Solutions DIGIREAL
> 0x36 | = DSP Solutions DIGIADPCM
> 0x37 | = Control Resources CR10
> 0x38 | = Natural MicroSystems VBX ADPCM
> 0x39 | = Crystal Semiconductor IMA ADPCM
> 0x3a | = Echo Speech ECHOSC3
> 0x3b | = Rockwell ADPCM
> 0x3c | = Rockwell DIGITALK
> 0x3d | = Xebec Multimedia
> 0x40 | = Antex G.721 ADPCM
> 0x41 | = Antex G.728 CELP
> 0x42 | = Microsoft MSG723
> 0x43 | = IBM AVC ADPCM
> 0x45 | = ITU-T G.726
> 0x50 | = Microsoft MPEG
> 0x51 | = RT23 or PAC
> 0x52 | = InSoft RT24
> 0x53 | = InSoft PAC
> 0x55 | = MP3
> 0x59 | = Cirrus
> 0x60 | = Cirrus Logic
> 0x61 | = ESS Tech. PCM
> 0x62 | = Voxware Inc.
> 0x63 | = Canopus ATRAC
> 0x64 | = APICOM G.726 ADPCM
> 0x65 | = APICOM G.722 ADPCM
> 0x66 | = Microsoft DSAT
> 0x67 | = Micorsoft DSAT DISPLAY
> 0x69 | = Voxware Byte Aligned
> 0x70 | = Voxware AC8
> 0x71 | = Voxware AC10
> 0x72 | = Voxware AC16
> 0x73 | = Voxware AC20
> 0x74 | = Voxware MetaVoice
> 0x75 | = Voxware MetaSound
> 0x76 | = Voxware RT29HW
> 0x77 | = Voxware VR12
> 0x78 | = Voxware VR18
> 0x79 | = Voxware TQ40
> 0x7a | = Voxware SC3
> 0x7b | = Voxware SC3
> 0x80 | = Soundsoft
> 0x81 | = Voxware TQ60
> 0x82 | = Microsoft MSRT24
> 0x83 | = AT&T G.729A
> 0x84 | = Motion Pixels MVI MV12
> 0x85 | = DataFusion G.726
> 0x86 | = DataFusion GSM610
> 0x88 | = Iterated Systems Audio
> 0x89 | = Onlive
> 0x8a | = Multitude, Inc. FT SX20
> 0x8b | = Infocom ITS A/S G.721 ADPCM
> 0x8c | = Convedia G729
> 0x8d | = Not specified congruency, Inc.
> 0x91 | = Siemens SBC24
> 0x92 | = Sonic Foundry Dolby AC3 APDIF
> 0x93 | = MediaSonic G.723
> 0x94 | = Aculab Prosody 8kbps
> 0x97 | = ZyXEL ADPCM
> 0x98 | = Philips LPCBB
> 0x99 | = Studer Professional Audio Packed
> 0xa0 | = Malden PhonyTalk
> 0xa1 | = Racal Recorder GSM
> 0xa2 | = Racal Recorder G720.a
> 0xa3 | = Racal G723.1
> 0xa4 | = Racal Tetra ACELP
> 0xb0 | = NEC AAC NEC Corporation
> 0xff | = AAC
> 0x100 | = Rhetorex ADPCM
> 0x101 | = IBM u-Law
> 0x102 | = IBM a-Law
> 0x103 | = IBM ADPCM
> 0x111 | = Vivo G.723
> 0x112 | = Vivo Siren
> 0x120 | = Philips Speech Processing CELP
> 0x121 | = Philips Speech Processing GRUNDIG
> 0x123 | = Digital G.723
> 0x125 | = Sanyo LD ADPCM
> 0x130 | = Sipro Lab ACEPLNET
> 0x131 | = Sipro Lab ACELP4800
> 0x132 | = Sipro Lab ACELP8V3
> 0x133 | = Sipro Lab G.729
> 0x134 | = Sipro Lab G.729A
> 0x135 | = Sipro Lab Kelvin
> 0x136 | = VoiceAge AMR
> 0x140 | = Dictaphone G.726 ADPCM
> 0x150 | = Qualcomm PureVoice
> 0x151 | = Qualcomm HalfRate
> 0x155 | = Ring Zero Systems TUBGSM
> 0x160 | = Microsoft Audio1
> 0x161 | = Windows Media Audio V2 V7 V8 V9 / DivX audio (WMA) / Alex AC3 Audio
> 0x162 | = Windows Media Audio Professional V9
> 0x163 | = Windows Media Audio Lossless V9
> 0x164 | = WMA Pro over S/PDIF
> 0x170 | = UNISYS NAP ADPCM
> 0x171 | = UNISYS NAP ULAW
> 0x172 | = UNISYS NAP ALAW
> 0x173 | = UNISYS NAP 16K
> 0x174 | = MM SYCOM ACM SYC008 SyCom Technologies
> 0x175 | = MM SYCOM ACM SYC701 G726L SyCom Technologies
> 0x176 | = MM SYCOM ACM SYC701 CELP54 SyCom Technologies
> 0x177 | = MM SYCOM ACM SYC701 CELP68 SyCom Technologies
> 0x178 | = Knowledge Adventure ADPCM
> 0x180 | = Fraunhofer IIS MPEG2AAC
> 0x190 | = Digital Theater Systems DTS DS
> 0x200 | = Creative Labs ADPCM
> 0x202 | = Creative Labs FASTSPEECH8
> 0x203 | = Creative Labs FASTSPEECH10
> 0x210 | = UHER ADPCM
> 0x215 | = Ulead DV ACM
> 0x216 | = Ulead DV ACM
> 0x220 | = Quarterdeck Corp.
> 0x230 | = I-Link VC
> 0x240 | = Aureal Semiconductor Raw Sport
> 0x241 | = ESST AC3
> 0x250 | = Interactive Products HSX
> 0x251 | = Interactive Products RPELP
> 0x260 | = Consistent CS2
> 0x270 | = Sony SCX
> 0x271 | = Sony SCY
> 0x272 | = Sony ATRAC3
> 0x273 | = Sony SPC
> 0x280 | = TELUM Telum Inc.
> 0x281 | = TELUMIA Telum Inc.
> 0x285 | = Norcom Voice Systems ADPCM
> 0x300 | = Fujitsu FM TOWNS SND
> 0x301 | = Fujitsu (not specified)
> 0x302 | = Fujitsu (not specified)
> 0x303 | = Fujitsu (not specified)
> 0x304 | = Fujitsu (not specified)
> 0x305 | = Fujitsu (not specified)
> 0x306 | = Fujitsu (not specified)
> 0x307 | = Fujitsu (not specified)
> 0x308 | = Fujitsu (not specified)
> 0x350 | = Micronas Semiconductors, Inc. Development
> 0x351 | = Micronas Semiconductors, Inc. CELP833
> 0x400 | = Brooktree Digital
> 0x401 | = Intel Music Coder (IMC)
> 0x402 | = Ligos Indeo Audio
> 0x450 | = QDesign Music
> 0x500 | = On2 VP7 On2 Technologies
> 0x501 | = On2 VP6 On2 Technologies
> 0x680 | = AT&T VME VMPCM
> 0x681 | = AT&T TCP
> 0x700 | = YMPEG Alpha (dummy for MPEG-2 compressor)
> 0x8ae | = ClearJump LiteWave (lossless)
> 0x1000 | = Olivetti GSM
> 0x1001 | = Olivetti ADPCM
> 0x1002 | = Olivetti CELP
> 0x1003 | = Olivetti SBC
> 0x1004 | = Olivetti OPR
> 0x1100 | = Lernout & Hauspie
> 0x1101 | = Lernout & Hauspie CELP codec
> 0x1102 | = Lernout & Hauspie SBC codec
> 0x1103 | = Lernout & Hauspie SBC codec
> 0x1104 | = Lernout & Hauspie SBC codec
> 0x1400 | = Norris Comm. Inc.
> 0x1401 | = ISIAudio
> 0x1500 | = AT&T Soundspace Music Compression
> 0x181c | = VoxWare RT24 speech codec
> 0x181e | = Lucent elemedia AX24000P Music codec
> 0x1971 | = Sonic Foundry LOSSLESS
> 0x1979 | = Innings Telecom Inc. ADPCM
> 0x1c07 | = Lucent SX8300P speech codec
> 0x1c0c | = Lucent SX5363S G.723 compliant codec
> 0x1f03 | = CUseeMe DigiTalk (ex-Rocwell)
> 0x1fc4 | = NCT Soft ALF2CD ACM
> 0x2000 | = FAST Multimedia DVM
> 0x2001 | = Dolby DTS (Digital Theater System)
> 0x2002 | = RealAudio 1 / 2 14.4
> 0x2003 | = RealAudio 1 / 2 28.8
> 0x2004 | = RealAudio G2 / 8 Cook (low bitrate)
> 0x2005 | = RealAudio 3 / 4 / 5 Music (DNET)
> 0x2006 | = RealAudio 10 AAC (RAAC)
> 0x2007 | = RealAudio 10 AAC+ (RACP)
> 0x2500 | = Reserved range to 0x2600 Microsoft
> 0x3313 | = makeAVIS (ffvfw fake AVI sound from AviSynth scripts)
> 0x4143 | = Divio MPEG-4 AAC audio
> 0x4201 | = Nokia adaptive multirate
> 0x4243 | = Divio G726 Divio, Inc.
> 0x434c | = LEAD Speech
> 0x564c | = LEAD Vorbis
> 0x5756 | = WavPack Audio
> 0x674f | = Ogg Vorbis (mode 1)
> 0x6750 | = Ogg Vorbis (mode 2)
> 0x6751 | = Ogg Vorbis (mode 3)
> 0x676f | = Ogg Vorbis (mode 1+)
> 0x6770 | = Ogg Vorbis (mode 2+)
> 0x6771 | = Ogg Vorbis (mode 3+)
> 0x7000 | = 3COM NBX 3Com Corporation
> 0x706d | = FAAD AAC
> 0x7a21 | = GSM-AMR (CBR, no SID)
> 0x7a22 | = GSM-AMR (VBR, including SID)
> 0xa100 | = Comverse Infosys Ltd. G723 1
> 0xa101 | = Comverse Infosys Ltd. AVQSBC
> 0xa102 | = Comverse Infosys Ltd. OLDSBC
> 0xa103 | = Symbol Technologies G729A
> 0xa104 | = VoiceAge AMR WB VoiceAge Corporation
> 0xa105 | = Ingenient Technologies Inc. G726
> 0xa106 | = ISO/MPEG-4 advanced audio Coding
> 0xa107 | = Encore Software Ltd G726
> 0xa109 | = Speex ACM Codec xiph.org
> 0xdfac | = DebugMode SonicFoundry Vegas FrameServer ACM Codec
> 0xe708 | = Unknown -
> 0xf1ac | = Free Lossless Audio Codec FLAC
> 0xfffe | = Extensible
> 0xffff | = Development

## RIFF StreamHeader Tags

> Index4 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | StreamType | N | 'auds' = Audio 'mids' = MIDI 'txts' = Text 'vids' = Video
> 1 | AudioCodec VideoCodec Codec | N N N |
> 5 | AudioSampleRate VideoFrameRate StreamSampleRate | N N N |
> 8 | AudioSampleCount VideoFrameCount StreamSampleCount | N N N |
> 10 | Quality | N |
> 11 | SampleSize | N |

## RIFF AVIHeader Tags

> Index4 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | FrameRate | N |
> 1 | MaxDataRate | N |
> 4 | FrameCount | N |
> 6 | StreamCount | N |
> 8 | ImageWidth | N |
> 9 | ImageHeight | N |

## RIFF VP8 Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | VP8Version | N | [Mask 0x0e] 0x0 = 0 (bicubic reconstruction, normal loop) 0x1 = 1 (bilinear reconstruction, simple loop) 0x2 = 2 (bilinear reconstruction, no loop) 0x3 = 3 (no reconstruction, no loop)
> 6 | ImageWidth | N | [Mask 0x3fff]
> 6.1 | HorizontalScale | N | [Mask 0xc000]
> 8 | ImageHeight | N | [Mask 0x3fff]
> 8.1 | VerticalScale | N | [Mask 0xc000]

## RIFF BroadcastExt Tags

Information found in the Broadcast Audio Extension chunk (see http://tech.ebu.ch/docs/tech/tech3285.pdf).

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | Description | N |
> 256 | Originator | N |
> 288 | OriginatorReference | N |
> 320 | DateTimeOriginal | N |
> 338 | TimeReference | N | (first sample count since midnight)
> 346 | BWFVersion | N |
> 602 | CodingHistory | N |

(This document generated automatically by Image::ExifTool::BuildTagLookup)
Last revised Aug 25, 2012

<-- ExifTool Tag Names