FourCC

From Helpful
Jump to navigation Jump to search
This article/section is a stub — some half-sorted notes, not necessarily checked, not necessarily correct. Feel free to ignore, or tell me about it.


FourCC is a habit, originally from Mac filesystems (but there now deprecated), to represent types with a four-byte sequence - that is often also restricted in value to be not any byte values but just ASCII character.


This later carried into

  • various file formats, especially IFF/RIFF based ones (as the type of these TLV-style formats).
  • DirectX, picking up data formats from AVI and others

Which of those come from ad-hoc historical convenience, or just from preference, will varies per file type.


https://en.wikipedia.org/wiki/FourCC