Converting audio to FLAC fixes importing in DaVinci Resolve, but the file almost always grows, sometimes a lot. Without numbers it is hard to know when that is worth it. I took one recording, gave it thirteen different audio tracks and converted them all with the same chain VidToFLAC runs, so the growth can be measured and the cases where it does not happen can be identified.
Advertisement
The short answer
Of the thirteen codecs tested, nine produced a bigger file and four a smaller one. The ones that grow most are precisely the most efficient: a 40 kbps Opus track ended up at 478 kbps as FLAC, almost twelve times larger. The ones that shrink are the ones that were already lossless: a 16-bit WAV dropped to 17 percent of its track size.
The finding I did not expect, and the one that explains most of the table, is that the size of the FLAC is decided by the bit depth the source codec decodes to, not by its bitrate. MP2 and MP3 both went in at 194 kbps and came out at 228 and 480 kbps respectively: double, for the same material at the same bitrate.
How this was measured
The starting material is 16.7 seconds of my own screen recording in 1080p, with speech at −21 LUFS: not a test tone and not silence, so that the sizes resemble a real project. From that clip I made a MOV master with H.264 video and 16-bit PCM audio, and from it thirteen copies that differ only in the audio codec. The video is the same stream copied in all of them, so every size difference comes from the audio.
ffmpeg -i master.mov -c:v copy -c:a aac -b:a 192k input_aac.mp4
Each copy then went through the same command VidToFLAC issues when it converts a video: the video stream is copied and only the audio is re-encoded.
ffmpeg -i input_aac.mp4 -c:v copy -c:a flac output.mkv
Measurements come from ffprobe and from the on-disk size of each track extracted separately, with FFmpeg 6.1.1 on Ubuntu. It is the same method as the test bench, where the seventeen container and video codec combinations are published; this round looks only at audio.
Thirteen codecs, one by one
The column that matters is the third one: how much the same track takes up once converted to FLAC. Bitrates are calculated over the 16.7 seconds of the clip.
| Source codec | Original track | As FLAC | Change | Output |
|---|---|---|---|---|
| 16-bit PCM (WAV) | 3,121 KB · 1,534 kbps | 545 KB · 268 kbps | 17% | 16-bit |
| 32-bit float PCM | 6,235 KB · 3,064 kbps | 572 KB · 281 kbps | 9% | 24-bit |
| DTS | 1,568 KB · 771 kbps | 972 KB · 478 kbps | 62% | 24-bit |
| ALAC | 569 KB · 280 kbps | 545 KB · 268 kbps | 96% | 16-bit |
| FLAC | 539 KB · 265 kbps | 545 KB · 268 kbps | copied | 16-bit |
| MP2 | 395 KB · 194 kbps | 463 KB · 228 kbps | 117% | 16-bit |
| AC-3 | 783 KB · 385 kbps | 1,323 KB · 650 kbps | 169% | 24-bit |
| E-AC-3 | 783 KB · 385 kbps | 1,323 KB · 650 kbps | 169% | 24-bit |
| MP3 | 395 KB · 194 kbps | 977 KB · 480 kbps | 247% | 24-bit |
| WMA v2 | 393 KB · 193 kbps | 1,012 KB · 498 kbps | 257% | 24-bit |
| AAC-LC | 122 KB · 60 kbps | 972 KB · 478 kbps | 795% | 24-bit |
| Vorbis | 90 KB · 44 kbps | 976 KB · 480 kbps | 1,091% | 24-bit |
| Opus | 82 KB · 40 kbps | 978 KB · 480 kbps | 1,189% | 24-bit |
All thirteen converted without a single error. AAC and Opus landed below the bitrate they were asked for because their encoders match the spend to the material, and this recording has a lot of silence between sentences.
Bit depth decides it, not bitrate
Sort the table by the last column and the pattern appears. Every codec that decodes to floating point ends up as a 24-bit FLAC of around 480 kbps, whether it came in at 40 kbps or at 194. The ones that decode to 16-bit integers end up as a 16-bit FLAC of roughly 230-270 kbps.
The reason is that FLAC losslessly compresses whatever it is given, and what it is given is the signal the decoder reconstructed. That signal occupies the full 24 bits: the lower half is numerical residue from the decompression, noise for all practical purposes, but noise FLAC is obliged to preserve bit for bit because it cannot know it is disposable. A lossy encoder would throw it away and nobody would notice; a lossless one, by definition, will not.
That gives the clearest comparison in the whole table: MP2 and MP3, both at 194 kbps. MP2 decodes to 16-bit and its FLAC takes 463 KB; MP3 decodes to floating point and its FLAC takes 977 KB. Same material, same starting bitrate, same FLAC encoder, twice the file.
What is lost, sample by sample
With the file growing that much, the fair question is whether something is being lost in exchange. To check, I decoded both the input and the output audio of every case to 32-bit floating point and compared them sample by sample, looking for the largest difference.
- 16-bit sources (PCM, FLAC, ALAC, MP2): maximum difference exactly zero. The output is the same signal, sample for sample.
- Sources that decode to floating point (AAC, MP3, Opus, Vorbis, AC-3, E-AC-3, DTS, WMA): maximum difference 1.19 × 10⁻⁷, which is exactly one 24-bit quantisation step (2⁻²³).
Advertisement
The case where the video grows instead
One row breaks the pattern if you look at the whole file instead of the audio track: the WMV. Its track went from 393 KB to 1,012 KB, in line with the rest, but the file as a whole went from 6.7 MB to 11.1 MB.
The audio is not to blame. The video in that file is WMV2, a codec browsers cannot decode, so VidToFLAC re-encodes it to H.264 so the preview works. The same happens with ProRes, DNxHD, MPEG-2, VC-1 and H.265/HEVC, which is the most common case today because iPhones have recorded in HEVC since iOS 11. That jump is measured in the test bench: an HEVC MP4 went from 491 KB to 2,458 KB. Every other video codec — H.264, VP8, VP9, MPEG-4, H.263 — is copied as-is and adds nothing.
What to do with this
Treat FLAC as a working format, not a delivery format. The MKV with FLAC audio exists so the timeline has sound; the final master is exported from Resolve with whatever codec the destination needs, and the size goes back to normal there. The intermediates can be deleted when the project closes.
Convert only what you are going to edit. If you recorded three hours and will use twenty minutes, convert those twenty minutes. Multiplying the audio of all your raw footage by ten is the easiest way to fill a disk for no reason.
If you are the one recording, recording lossless already pays off. A 16-bit WAV shrank to 17 percent when converted to FLAC, and it imports into Resolve with no conversion at all. If your camera or capture software can do PCM, that is the shortest path: nothing to convert and less space than WAV.
Do not expect your file to match the table. These values come from a screen recording with speech, which compresses very well. With dense music or constant background noise the FLAC goes up considerably; in the test bench, the same encoder ranges from 53 percent of the WAV with white noise to 6 percent with a screen recording. What does hold is the direction: from lossy audio, it goes up.
Convert the audio to FLAC and see the real size
Drop in your video, hit Convert and compare the resulting MKV with the original. Everything happens in your browser, nothing is uploaded to any server, and there is no server-imposed limit (the practical ceiling is your browser's memory).
Convert nowFrequently asked questions
Why is the FLAC bigger than the original MP3 or AAC?
Because FLAC does not compress with loss again: it stores exactly what the decoder hands it. A 60 kbps AAC track decodes to a full signal that FLAC compressed down to 478 kbps in this measurement, almost eight times the size of the original track. FLAC adds no quality that was not there; it simply stops throwing data away.
What determines the size of the resulting FLAC?
Mostly the bit depth the source codec decodes to, not its bitrate. MP2 and MP3 both started at 194 kbps, but MP2 decodes to 16-bit integers and its FLAC came out at 228 kbps, while MP3 decodes to floating point, gets stored as 24-bit FLAC and came out at 480 kbps: more than double, for the same material.
Does converting to FLAC lose quality?
It adds no loss. Comparing the decoded input and output sample by sample, the 16-bit sources (PCM, FLAC, ALAC, MP2) showed a maximum difference of exactly zero. The ones that decode to floating point showed 1.19 × 10⁻⁷, which is one 24-bit quantisation step. Whatever was lost was lost by the original encoder, not by the conversion.
When does the file get smaller after converting to FLAC?
When the source is already lossless. A 16-bit WAV dropped to 17 percent of its original track size and 32-bit float PCM to 9 percent. DTS at 771 kbps also dropped, to 478 kbps. Everything else grew. See the WAV to FLAC guide for that specific case.
Is it worth converting to FLAC if the file grows this much?
FLAC is a working format, not a delivery format. It grows during the edit and disappears on export: the final master is encoded from the timeline with whatever codec the destination needs. If disk space is tight, convert only the clips you are going to use and delete the intermediate MKV files when the project is done.
If what brought you here is Resolve not playing any sound, the guide to audio errors in DaVinci Resolve covers the problem at its root, and the best video format for DaVinci Resolve covers the other half of the decision.