FOURCC
FourCC, short for Four Character Code, is a sequence of four ASCII characters used to identify the data format or codec of a multimedia stream within a container file. It serves as a compact, human-readable identifier that helps software determine how to decode or process a stream without inspecting the entire bitstream. The term is widely used in video and audio containers and has become a de facto standard in many formats.
In RIFF-based containers such as AVI, the FourCC is stored in headers to indicate the codec used
FourCC codes are not a formal ISO standard; they are a de facto convention with mappings that
Examples include DIVX, XVID, MJPG for certain video streams and AVC1, MP4A, HEV1 for others. The choice