FourCCs
FourCCs, short for four-character codes, are compact identifiers used in multimedia files to label the type of data or the codec used to encode it. A FourCC is typically a sequence of exactly four ASCII characters and is stored as a 32-bit value in the file, often with little-endian byte order in practice. In many containers, including RIFF-based formats like AVI and in QuickTime / MP4 family structures, the FourCC guides the decoder on how to interpret the following data.
Originating in the early 1990s with Video for Windows from Microsoft and IBM, FourCCs were designed to
Common examples include DIVX (DivX), XVID (Xvid), MP4V (MPEG-4 Visual), MJPG (Motion JPEG), and H264 or AVC1
Limitations include the lack of a universal, centralized registry; FourCCs are not guaranteed to be unique
In practice, software such as media players, editors, and codecs read FourCCs to select the appropriate decoding