FLAC technical specifications: sample rate, bit depth and channels
FLAC format limits, integer PCM, sample rates, bit depths, channel counts, frame structure and implementation compatibility.
Format limits
| Property | RFC 9639 format range |
|---|---|
| Sample rate | 1–1,048,575 Hz |
| Bits per sample | 4–32 |
| Channels | 1–8 |
| Block size | 16–65,535 samples, except final block |
| Audio representation | Integer PCM |
These are format limits, not guarantees of acceptance by all tools. The streamable subset imposes additional restrictions; a very high sample rate can require the STREAMINFO rate rather than a separately representable frame-header rate. Check the decoder and encoder version as well as the audio interface.
Frames and metadata
FLAC stores blocks in frames and can encode channel decorrelation, prediction and residuals without losing integer sample information. STREAMINFO carries stream properties; frame checksums detect certain errors and an optional nonzero MD5 value can verify decoded audio samples. Tags and pictures are metadata, not part of the reconstructed PCM.
Bitrate and compression ratio
Encoded bitrate varies with signal complexity and coding settings. The uncompressed PCM rate is sample rate × stored bits × channels; a 96 kHz 24-bit stereo signal has 4.608 Mb/s before compression. Compression level changes coding effort and potentially size, not the decoded samples of a valid lossless encode.
Practical limits
A player may decode a file whose sample rate exceeds the connected DAC’s native rate, then resample for output. Distinguish decoding support from bit-perfect output. Floating-point samples are not the native FLAC sample representation; converting them to integer PCM may change values.
Specifications and sources
Further reading
Windows playback
Media Player Codec Pack
- FLAC — CW-Lossless / LAV Audio — format support. MPC-HC.
MPC-FFmpeg (Plus x64)
MPC-FFmpeg provides an alternative playback route for the following formats: