Codec versus container: why file extensions do not tell the whole story
A codec describes how audio or video is compressed and decoded. A container packages tracks, timing and metadata together. MP4, Matroska and WebM are containers; H.264, HEVC and AV1 are video codecs. Playback requires a compatible combination rather than a familiar extension alone.
Explore guide ↗
