Initial release | August 1991; 29 years ago |
---|---|
Type of format | Container |
Extended from | Interchange File Format |
Extended to | AVI, ANI, PAL, RDIB, RMIDI, RMMP, WAV |
The Resource Interchange File Format (RIFF) is a generic file container format for storing data in tagged chunks.[1] It is primarily used to store multimedia such as sound and video, though it may also be used to store any arbitrary data.[2]
Help me please mmd for mac download. The Microsoft implementation is mostly known through container formats like AVI, ANI and WAV, which use RIFF as their basis.[3]
RIFF file: Resource Interchange File Format. Read here what the RIFF file is, and what application you need to open or convert it. Converting audio files is now easy! Our web-based application helps you to convert audio files in seconds. Convertio — advanced online tool that solving any problems with any files. A RIFF file consists of a RIFF chunk containing zero or more other chunks. The RIFF chunk has the following form: 'RIFF', fileSize, fileType, data. Where 'RIFF' is the literal FOURCC code 'RIFF', fileSize is a 4-byte value giving the size of the data in the file, and fileType is a FOURCC that identifies.
History[edit]
SONAR also lets you save and load files in the RIFF MIDI file format. This is a standard Resource Interchange File Format specification that encapsulates a Standard MIDI File of either format 0 or format 1. These files typically have an extension of. From mda-vst: The RIFF File Viewer application was designed to show users the internal structure of WAV, DLS, SF2 and many other RIFF files. It can be used to diagnose incompatibility problems.
RIFF was introduced in 1991 by Microsoft and IBM, and was presented by Microsoft as the default format for Windows 3.1 multimedia files. It is based on Electronic Arts' Interchange File Format, introduced in 1985 on the Commodore Amiga, the only difference being that multi-byte integers are in little-endian format, native to the 80x86 processor series used in IBM PCs, rather than the big-endian format native to the 68k processor series used in Amiga and Apple Macintosh computers, where IFF files were heavily used. A RIFX format, using big-endian format, was also introduced.
In 2010 Google introduced the WebP picture format, which uses RIFF as a container.[4] Ford a62 wheel loader manual.
Explanation[edit]
RIFF files consist entirely of 'chunks'. The overall format is identical to IFF, except for the endianness as previously stated, and the different meaning of the chunk names.
All chunks have the following format:
- 4 bytes: an ASCII identifier for this chunk (examples are 'fmt ' and 'data'; note the space in 'fmt ').
- 4 bytes: an unsigned, little-endian 32-bit integer with the length of this chunk (except this field itself and the chunk identifier).
- variable-sized field: the chunk data itself, of the size given in the previous field.
- a pad byte, if the chunk's length is not even.
Two chunk identifiers, 'RIFF' and 'LIST', introduce a chunk that can contain subchunks. The RIFF and LIST chunk data (appearing after the identifier and length) have the following format:
- 4 bytes: an ASCII identifier for this particular RIFF or LIST chunk (for RIFF in the typical case, these 4 bytes describe the content of the entire file, such as 'AVI ' or 'WAVE').
- rest of data: subchunks.
The file itself consists of one RIFF chunk, which then can contain further subchunks: hence, the first four bytes of a correctly formatted RIFF file will spell out 'R', 'I', 'F', 'F'.
More information about the RIFF format can be found in the Interchange File Format article.
RF64 is a multichannel file format based on RIFF specification, developed by the European Broadcasting Union. It is BWF-compatible and allows file sizes to exceed 4 gigabytes. It does so by providing a 'ds64' chunk with a 64-bit (8-byte) size.
Use of the INFO chunk[edit]
The optional INFO chunk allows RIFF files to be 'tagged' with information falling into a number of predefined categories, such as copyright ('ICOP'), comments ('ICMT'), artist ('IART'), in a standardised way. These details can be read from a RIFF file even if the rest of the file format is unrecognized. The standard also allows the use of user-defined fields. Programmers intending to use non-standard fields should bear in mind that the same non-standard subchunk ID may be used by different applications in different (and potentially incompatible) ways.
Compatibility issues[edit]
Initial difficulties with MIDI files[edit]
In line with their policy of using .RIFF for all Windows 3.1 'multimedia' files, Microsoft introduced a new variant on the existing MIDI file format used for storing song information to be played on electronic musical instruments. Microsoft's 'new' MIDI file format consisted of a standard MIDI file enclosed in a RIFF 'wrapper', and had the file extension .RMI. Since the existing MIDI file format already supported embedded 'tagging' information, the advantages to the user of having a new format were not obvious.
The MIDI Manufacturers Association have since embraced the RIFF-based MIDI file format, and used it as the basis of an 'extended midifile' that also includes instrument data in 'DLS' format, embedded within the same .RMI file.
INFO chunk placement problems[edit]
For cataloguing purposes, the optimal position for the INFO chunk is near the beginning of the file. However, since the INFO chunk is optional, it is often omitted from the detailed specifications of individual file formats, leading to some confusion over the correct position for this chunk within a file.
When dealing with large media files, the expansion or contraction of the INFO chunk during tag-editing can result in the following 'data' section of the file having to be read and rewritten back to disk to accommodate the new header size. Since media files can be gigabytes in size, this is a potentially disk-intensive process. One workaround is to 'pad out' the leading INFO chunk using dummy data (using a 'dummy chunk' or 'pad chunk') when the file is created. Later editing can then expand or contract the 'dummy' field to keep the total size of the file header constant: an intelligently written piece of software can then overwrite just the file header when tagging data is changed, without modifying or moving the main body of the file.
Some programs have tried to address the problem by placing the INFO chunk at the end of a media file, after the main body of the file. This has resulted in two different conventions for chunk placement, with the attendant risk that some combinations of software can cause a file's INFO data to be ignored or permanently overwritten during editing. More sophisticated programs will take into account the possibility of 'unexpected' chunk placement in files and respond accordingly. For instance, when the audio-editing program Audacity encounters a .WAV file with end-placed INFO data, it will correctly identify and read the data, but on saving, will relocate the INFO chunk back to the file header.
Although CorelDRAW 10 nominally uses a RIFF file structure, the program's initial release placed the INFO chunk at the end, so that any embedded preview bitmap would not be displayed under Windows' file manager by default. A 'patch' utility supplied with the program fixes this problem.
RIFF info tags[edit]
Pes 2016 patch 2018. RIFF information tags are found in WAV audio and AVI video files. Tags which are part of the Exif 2.2 specification (Tag ID's beginning with 'I') have an underlined tag name in the HTML version of this documentation. Other tags are found in AVI files generated by Sony Vegas video editing software.
Tag ID | Tag name | Writable | Values / notes |
---|---|---|---|
DTIM | DateTimeOriginal | N | ICC Profile 'dtim' format values |
TAPE | TapeName | N |
Converting DTIM time to normal time[edit]
The field consists of two values (v[0] and v[1]) separated with a space (0x20). Sample code:
Some common RIFF file types[edit]
- WAV (Windows audio)
- AVI (Windows audiovisual)
- RMI (Windows 'RIFF MIDIfile')
- CDR (CorelDRAW vector graphics file)
- ANI (Animated Windows cursors)
- PAL (Palette)
- DLS (Downloadable Sounds)
- WebP (An image format developed by Google)
- XMA (Microsoft Xbox 360 console audio format based on WMA Pro)
See also[edit]
- BWF Broadcast Wave Format
References[edit]
- ^Multimedia Programming Interface and Data Specifications 1.0(PDF). IBM / Microsoft. August 1991. pp. 10–11. Retrieved 2017-07-07.
- ^'RIFF (Resource Interchange File Format)'. Digital Preservation. Library of Congress. 2014-01-08. Retrieved 2014-03-11.
- ^James D. Murray, William vanRyper (1996). 'Encyclopedia of Graphics File Formats, Second Edition'. O'Reilly. Microsoft RIFF. ISBN1-56592-161-5. Archived from the original on November 28, 2005. Retrieved 2016-04-07.CS1 maint: uses authors parameter (link)
- ^'RIFF Container'. Google Code. Google. Retrieved 1 October 2010.
External links[edit]
Retrieved from 'https://en.wikipedia.org/w/index.php?title=Resource_Interchange_File_Format&oldid=960890758'
Did your computer fail to open a RIFF file? We explain what RIFF files are and recommend software that we know can open or convert your RIFF files.
What is a RIFF file?
The file extension indicates to your device which program can open the file. However, often different programs will use the same file extension for different types of data.
For RIFF files, we are aware of 1 use, which you can read more about below.
Through our analysis of RIFF files, we know that one use of the format is Riff Raff module. We have not yet described in detail what these files contain and what they are used for, but our team is working tiredlessly through thousands of file formats. We'd love hearing from you if you have information about the format.
Riff File Converter Software
We have not verified any programs yet that works with this specific format. If you know any, please use the 'Suggest a program' link below. Thanks!These apps are known to open certain types of RIFF files. Since many different programs may use RIFF files for different purposes, you may need to try a few of the apps to open your specific RIFF file.
Corel PaintShop Pro | User submitted |
Parallels Tools Center | User submitted |
HxD Hex Editor version | User submitted |
Paint Shop Pro | User submitted |
Media Player Classic | User submitted |
Paint Shop Pro XI | User submitted |
We have not verified any programs that we know for certain can work with RIFF-files on Mac. If you know one, please use the Suggest link below and tell us about it!
Riff File Extension
We have not verified any online services that we know for certain can work with RIFF-files. If you know one, please use the Suggest link below and tell us about it!