Container (File Format)
- Simple definition
- The file 'wrapper' that holds encoded audio and its metadata.
- Technical definition
- A container format (such as WAV, MP4/M4A or Ogg) packages encoded audio streams together with metadata. The same codec can sometimes appear in different containers.
- Example
- A .wav file is a container that typically holds uncompressed PCM audio.
Why it matters
A container is the box: headers, metadata, perhaps video, and one or more encoded audio streams. WAV, AIFF, MP4, Ogg and Matroska are boxes. People argue about extensions when they are really arguing about what is inside the box. If a file 'won't import', the DAW may dislike the container even though it understands the codec — or the reverse. Separating the two ideas saves hours of forum guessing.
How to use it
Deliver what the destination names, not what your export menu lists first. If a distributor wants WAV PCM, do not send an MP4 that happens to contain audio. When a file fails to play, inspect it with a media-info style tool rather than renaming it. Store metadata in the place the container actually supports — some wrappers are richer than others — and keep a sidecar notes file for anything important.
Common mistakes
Changing only the file extension is a classic way to create a file that looks right and opens as garbage. Embedding a huge cover image in a container can make a 'small' lossless album awkward to send. Assuming every player reads the same metadata fields leads to missing credits on one app and not another.
FAQ
- Why can I put the same audio in different containers?
- Because the container is packaging. Some pairings are conventional (FLAC in its own frame, AAC in MP4). Players expect those conventions.
- Is WAV always uncompressed?
- WAV is a container that usually holds PCM, but it can carry other encodings. If you need uncompressed audio, confirm the stream is PCM, not only that the name ends in .wav.