Format Description Categories >>
Browse Alphabetical List
RIFF (Resource Interchange File Format)
>> Back
Format Description Properties
• ID: fdd000025
• Short name: RIFF
• Content categories: generic
• Format category: file format
• Last significant update: 2004-09-16
Identification and description 
| Full name | Resource Interchange File Format (RIFF) |
| Description | RIFF (Resource Interchange File Format) is a tagged file structure for multimedia resource files. Strictly speaking, RIFF is not a file format, but a file structure that defines a class of more specific file formats, some of which are listed here as subtypes. The basic building block of a RIFF file is called a chunk. Chunks are identified by four-character codes and an application such as a viewer will skip chunks with codes it does not recognize. The basic chunk is a RIFF chunk, which must start with a second four-character code, a label that identifies the particular RIFF "form" or subtype. Applications that play or render RIFF files may ignore chunks with labels they do not recognize. Chunks can be nested. The RIFF structure is the basis for a few important file formats, but has not been used as the wrapper structure for any file formats developed since the mid 1990s. |
| Production phase | Not applicable. Depends on subtype. |
| Relationship to other formats | |
| Has subtype | WAVE |
| Has subtype | AVI |
| Has subtype | RMID |
Local use 
| LC experience or existing holdings | LC has experience with some RIFF subtypes. See WAVE_LPCM, AVI. |
| LC preference | Depends on subtype. See WAVE_LPCM, AVI, and RMID. |
Sustainability factors 
| Disclosure | Fully documented. Proprietary format developed by Microsoft and IBM for Windows 3.1. |
| Documentation | Multimedia Programming Interface and Data Specifications 1.0. IBM Corporation and Microsoft Corporation, August 1991. Available online, e.g., at http://www.tactilemedia.com/info/MCI_Control_Info.html
Multimedia Data Standards Update April 15, 1994 at www.tsp.ece.mcgill.ca/MMSP/Documents/AudioFormats/WAVE/Docs/RIFFNEW.pdf |
| Adoption |
Certain subtypes are widely adopted. In particular, see WAVE
and AVI. |
| Licensing and patent claims | None |
| Transparency | RIFF itself is transparent as a wrapper. Transparency of subtypes is determined by the encoding of the wrapped content. See subtypes. |
| Self-documentation | The RIFF format allows for nested chunks. Defined within the RIFF specifications is an INFO List chunk, designed to hold various specific metadata elements. The extent to which INFO List chunks have been used to embed descriptive and technical metadata is not clear. In addition, new chunk types can be defined. For example, Broadcast Wave (WAVE_LPCM_BWF) adds a "Broadcast Audio Extension" chunk to hold the minimum information considered necessary for broadcast applications. |
| External dependencies | None. |
| Technical protection considerations | None. |
Quality and functionality factors 
| Normal rendering | Not applicable; depends on subtype. |
File type signifiers 
| Tag type | Value | Note |
| Filename Extension | | Depends on subtype. |
Notes 
| General | |
| History | The RIFF format specifications were first developed by IBM and Microsoft, and published by in 1991 in Microsoft Windows Multimedia Programmer's Reference. At that time, Microsoft indicated that the RIFF structure was the preferred structure for new multimedia formats. However, the RIFF structure does not appear to have been adopted for any new file formats established since the early 1990s. Microsoft now uses ASF (Advanced Systems Format) as a wrapper for media content. As of August 2004, Microsoft Windows Media player supported the most widely adopted RIFF-based files: WAVE, AVI and RMID, but documentation makes little mention of RIFF per se. |
Format specifications 
URLs
• Multimedia Programming Interface and Data Specifications 1.0, issued as a joint design by IBM Corporation and Microsoft Corporation, August 1991; available online from http://www.kk.iij4u.or.jp/~kondo/wave/mpidata.txt,
http://www.tactilemedia.com/info/MCI_Control_Info.html and other sites.
• Multimedia Data Standards Update. April 15, 1994 at www.tsp.ece.mcgill.ca/MMSP/Documents/AudioFormats/WAVE/Docs/RIFFNEW.pdf
Print
• Microsoft Windows Multimedia Programmer's Reference. Redmond, Washington: Microsoft Press, 1991. ISBN: 1-55615-389-9. Chapter 8 describes the RIFF tagged file structure.
Useful references 
URLs
• RIFF File Structure. Materials associated with assignment in course on Network Computing. (http://www.udayton.edu/~cps/faculty/jloomis/cps592B/asgn/asgn1/riff.html)
• Multimedia Programming Interface and Data Specifications 1.0. (http://www.tactilemedia.com/info/MCI_Control_Info.html).
Print
• Murray, James D. and William vanRyper. Encyclopedia of Graphics File Formats, Second Edition. Sebastopol, CA. : O'Reilly & Associates, 1994. Includes CD-ROM with complete text of book, and copies of several file format specifications.
Last Updated: 03/ 7/2007