Archiving Call Audio: WAV, FLAC or Opus
Ten-year retention makes the archive format a long bet: why WAV inflates narrowband audio, how to measure FLAC savings, and why Opus is risky as evidence.
Updated
Ten year retention makes the format a long bet
Retention periods of ten or fifteen years change what the format question is about. It is no longer whether a file plays today, but whether someone else, several system generations from now, can still decode it completely and show that it has not been altered. Four things pull against each other: storage size, whether the format is lossless, how widely the surrounding tools support it, and how long its decoders will stay alive. No single format wins on all four, so the practical question is not which format to choose but which format belongs in which layer of the archive.
Why narrowband recordings balloon when converted to WAV
Many call center systems record with compressed codecs to begin with: G.729 runs at 8 kbit/s and G.711 at 64 kbit/s. Decoded to 8 kHz, 16 bit linear PCM in a WAV file, every recording becomes a fixed 128 kbit/s. A G.729 recording grows sixteen times, a G.711 recording doubles, and dual channel audio doubles again. The more common waste is resampling to 44.1 or 48 kHz along the way, which multiplies the size by another five to six times while adding no information at all. Narrowband audio should be kept at its native sample rate.
FLAC savings on phone audio must be measured on your own data
FLAC is lossless and was published by the IETF as a standards track specification in December 2024 (RFC 9639). What comes out is sample for sample identical to the PCM that went in, and the STREAMINFO block carries an MD5 of the unencoded audio, so a file can check itself. There is, however, no general figure for how much it saves on telephone speech: the share of silence, line noise and the original codec all move the result, so measure it on a few hundred calls drawn from different years. Two more things to know up front. FLAC compresses decoded PCM, so it will never get back down to the size of the original G.729 stream. And G.711 μ-law or A-law samples must be expanded to linear PCM first; feed the raw bytes in as 8 bit PCM and the file decodes to the wrong signal.
Opus saves space, but for compliance it is an irreversible re-encode
Opus is a lossy codec standardised by the IETF in 2012 (RFC 6716), and the specification suggests 8 to 12 kbit/s for narrowband speech, so the storage savings are real. The problem is not how it sounds but what it proves. The original recording was usually lossy already, so a second pass through Opus stacks one loss on top of another, and what is stored is no longer the signal that was captured but another approximation of it. The hash of the original file no longer matches, and there is no way to show the two are equivalent in content. When a recording becomes evidence in a dispute or a regulatory inquiry, the first question is often whether it is the original. Opus works well as an access copy; it should not be the only archival master.
Decoder lifespan matters more than compression ratio
Recording liberation exists as a line of work because some platforms stored audio in proprietary containers that cannot be decoded once the original system is gone. An archive format that avoids repeating this has to pass a few tests: a public specification maintained by a standards body, several independent implementations, and default support in mainstream audio tools. By those tests, linear PCM in WAV has almost no decoding barrier, and FLAC and Opus are both open standards with many implementations. The Library of Congress Recommended Formats Statement for audio ranks things the same way: uncompressed audio and Broadcast WAVE with embedded metadata first, lossless compression ahead of lossy, and files kept at native resolution rather than upsampled.
Tiering: hot and cold data can use different formats
- Original layer: keep the files exactly as extracted from the source platform, for example the raw G.729 or G.711 stream, and record a hash for each one. This is where the chain of evidence starts, and nothing in this layer is converted.
- Archive layer: decode to 16 bit linear PCM at the native sample rate, keep the original channel count, and store as FLAC or WAV. No upsampling and no mixing dual channel audio down to mono. Record the FLAC internal MD5 alongside the file hash.
- Access layer for hot data: for recordings that are still played back often, generate Opus copies for web playback and transcription. They can be regenerated from the archive layer at any time, so losing one affects nothing that is retained.
- Cold data: once recordings pass their period of frequent access, keep only the original and archive layers, move them to low cost storage and delete the access copies.
- Fixity checks: recompute hashes on the archive layer on a schedule, compare them with the recorded values, and restore from a replica as soon as silent corruption turns up.
- Format review: every few years confirm that the chosen formats are still supported by default in mainstream toolchains, and if one shows signs of falling out of use, migrate while it can still be decoded.
How Shanghai Wanchun approaches it
We work on parsing and migrating historical call center recordings, and the delivery format is not picked at the end as an afterthought. It is agreed with the client before work starts, based on the retention period, how often recordings are accessed and what evidentiary standard they have to meet. The original files and their hashes are kept, the archival master uses a lossless format at the native sample rate and channel layout, and a lossy access copy is produced only where web playback or transcription needs one, with a note that it can be regenerated from the master. The aim is always the same: free historical recordings from any single vendor so they stay permanently online, retrievable, searchable and analysable.