FourCC

FourCC

A FourCC (literally, four-character code) is a sequence of four bytes used to uniquely identify data formats. The concept originated in the OSType scheme used in the Macintosh system software and was adopted for the Amiga/Electronic Arts Interchange File Format and derivatives. The idea was later reused to identify compressed data types in QuickTime and DirectShow.

Four byte identifiers are useful because they can be made up of four human-readable characters with mnemonic qualities, while still fitting in the four byte memory space typically allocated for integers in 32-bit systems (although endian issues may make them less readable).

In 1985 Electronic Arts introduced the Interchange File Format (IFF) meta-format (family of file formats), originally devised for use on the Amiga. These files consisted of a sequence of "chunks" which could contain arbitrary data, each chunk prefixed by a four-byte ID. The IFF specification explicitly mentions that the origins of the fourCC idea lie with Apple.

This IFF was adopted by a number of developers including Apple for AIFF files and Microsoft for RIFF files (which were used as the basis for the AVI and WAV file format). Apple referred to many of these codes as OSTypes. Microsoft and Windows developers refer to their four-byte identifiers as FourCCs or Four Character Codes. FOURCC codes were also adopted by Microsoft to identify data formats used in DirectX, specifically within DirectShow and DirectX Graphics.

One of the most well-known uses of FourCCs is to identify the video codec used in AVI files. Common identifiers include DIVX, XVID, and H264. For audio codecs, AVI and WAV files use a two-byte identifier, usually written in hexadecimal (such as 0055 for MP3). In QuickTime files, these two-byte identifiers are prefixed with the letters 'ms' to form a four-character code. RealMedia files also use four character codes, however the actual codes used differ from those found in AVI or QuickTime files.

Other file formats that make important use of the four-byte ID concept are the Standard MIDI File Format, the PNG image file format, the 3DS (3D Studio Max) mesh file format, the ICC profile format and the Quake III Arena map format.

External links

* [http://www.fourcc.org FourCC.org] - video codec and pixel format information, maintained mostly up to date as of 2007 February
* [http://msdn2.microsoft.com/en-us/library/ms867195.aspx List of registered FOURCC Codes] - as of 2003 June
* [http://www.faqs.org/rfcs/rfc2361.html RFC2361] - "WAVE and AVI Codec Registries" by the Internet Assigned Numbers Authority (IANA)
* [http://www.szonye.com/bradd/iff.html Standard for Interchange Format Files] - the document that introduced FourCC codes.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • FourCC — Saltar a navegación, búsqueda FourCC (Four Characters Code o Código de Cuatro Caracteres del inglés) es un código que utiliza 4 caracteres (letras o números) con que se identifica cada códec. Esta información es almacenada en el archivo… …   Wikipedia Español

  • FOURCC — Der FourCC (engl. Four Character Code) bezeichnet eine 4 Zeichen lange Zeichenkette im Kopfdatenbereich einer RIFF Datei, die angibt, in welchem Format die in der Datei enthaltenen Videodaten (am Beispiel von AVI) vorliegen. Hieraus ergibt sich… …   Deutsch Wikipedia

  • FourCC — Ein FourCC (für engl.: Four Character Code) ist ein vier Byte langer Typbezeichner im Kopfdatenbereich einer Containerdatei oder darin enthaltener Untereinheiten (Chunks) und gibt das Format des Inhaltes an. Beim Öffnen einer Containerdatei wird… …   Deutsch Wikipedia

  • Fourcc — Der FourCC (engl. Four Character Code) bezeichnet eine 4 Zeichen lange Zeichenkette im Kopfdatenbereich einer RIFF Datei, die angibt, in welchem Format die in der Datei enthaltenen Videodaten (am Beispiel von AVI) vorliegen. Hieraus ergibt sich… …   Deutsch Wikipedia

  • FourCC — Un identifiant FourCC (FOUR Character Code, séquence de quatre caractères) est une séquence de quatre octets utilisée pour identifier un format de données informatiques. Historiquement, ce système a été créé pour le format IFF de Amiga. Il a… …   Wikipédia en Français

  • FourCC — ● ►en sg. ►VIDEO Four Character Code. Code à quatre caractères, que l on trouve en début de fichier, principalement dans les AVI, et qui indiquent quel est le type du contenu, essentiellement le codec utilisé pour compresser l image et/ou le son …   Dictionnaire d'informatique francophone

  • FOURCC — abbr. FOUR Character Code (RIFF, TIFF, VFW, DivX) …   United dictionary of abbreviations and acronyms

  • RIFF — (англ. Resource Interchange File Format) один из форматов файлов контейнеров для хранения потоковых мультимедиа данных (видео, аудио, возможно текст). Наиболее известными форматами, использующими RIFF в качестве контейнера, являются: AVI… …   Википедия

  • DXGM (video codec) — DXGM (possibly meaning DivX game ) is an undocumented fourcc that has been attributed to Electronic Arts, [ [http://www.codecsdb.com/?page=codecinfo type=video code=DXGM Codecs Database by DAMIX Technologies and KC Softwares ] ] but has also… …   Wikipedia

  • Interchange file format — IFF, acronyme de l anglais Interchange File Format, est un format de fichier multi usages lancé par Electronic Arts en 1985. Sa spécification EA IFF 1985 a été utilisée comme base pour divers formats de fichiers, notamment : AIFF, un format… …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”