Convert your MP4 to FLAC without losing quality

Fixes the DaVinci Resolve audio codec error on MP4 files from cameras, OBS and smartphones. Processing is 100% local, your files are not uploaded to any server.

0 files converted in this browser · none has left your device
Select a file to start the engine
Idle
01 Select input videos
Drag your videos here or click
MP4 · MOV · MKV · AVI · WAV · MP3 · AAC · multiple at once
02 Convert

Audio becomes FLAC · video is copied without re-encoding when the codec allows it

Ctrl + D Press Ctrl+D to bookmark this site
Processing… 0%
03 Results
Technical details · FFmpeg
The problem we solve

Why does DaVinci Resolve have no audio from your MP4 files?

If you have opened an MP4 file in DaVinci Resolve and it plays silently (or the audio track sits greyed out) it is almost always the audio codec. MP4s recorded by cameras, OBS Studio and smartphones almost always carry AAC audio, and DaVinci Resolve (especially on Linux) ships no licence to decode it.

The fix for your MP4: remux to MKV with FLAC audio

The trick is to separate the two halves of the problem. The video in your MP4 (normally H.264 or H.265) is almost always perfectly compatible; what DaVinci Resolve cannot stomach is the AAC or MP3 audio. VidToFLAC repackages the MP4 into an MKV container, copying the video across bit for bit and re-encoding only the audio track to lossless FLAC.

Because the video is never recompressed, no quality is lost and the job is far quicker than a full conversion. The resulting MKV imports with sound into DaVinci Resolve, Premiere Pro and Avid, with no codecs or plugins to install.

If your MP4 carries video the browser cannot decode (HEVC/H.265 on some machines, for instance) VidToFLAC re-encodes it to H.264 at high quality so that preview works on the page. The audio still ends up as FLAC either way.

Frequently asked questions

Frequently asked questions about converting MP4 to FLAC

How do I convert an MP4 to FLAC?

Drag the MP4 into VidToFLAC and press Convert. You get an MKV with the audio in FLAC, ready to import into DaVinci Resolve, Premiere or Avid. The video is copied without re-encoding, unless the browser cannot decode it (H.265/HEVC): then it is re-encoded to H.264.

Do I lose video quality converting an MP4 to FLAC?

If the video is H.264 it is copied bit for bit without recompression: that is a remux, not a re-encode. If it is H.265/HEVC the browser cannot decode it, so the video is re-encoded to H.264 at high quality (-crf 18): very close to the original, though not bit-for-bit identical. The audio becomes FLAC, which is lossless, in both cases.

Why does DaVinci Resolve open my MP4 but play no sound?

Because the MP4 almost always stores its audio as AAC, and DaVinci Resolve (especially on Linux) ships no licence to decode it. The video decoders are included, which is why you see the picture but hear nothing.

Does this work for MP4s recorded with OBS Studio or a phone?

Yes. MP4s from OBS, smartphones, cameras and capture cards all use AAC audio, which is exactly the source of the problem. VidToFLAC repackages them without touching the video.

Does it work with H.265 (HEVC) MP4 files?

Yes. The audio is converted to FLAC regardless. If your browser cannot decode the HEVC video for on-page preview, VidToFLAC re-encodes it to H.264, which is also what DaVinci Resolve Free prefers, since it struggles with HEVC in its own right.

How long does a large MP4 take?

When it is a remux the video is never re-rendered, so the time depends mostly on reading and writing the file rather than on its duration. The exact figure depends on the file size, your machine, and whether the video needs re-encoding.

Conversion guide

Everything about converting MP4 to FLAC

An MP4 audio track with no waveform in the DaVinci Resolve timeline
Our own screenshot: MP4 with AAC-LC audio in DaVinci Resolve Studio 21 on Ubuntu, with an empty track.

The MP4 container and its audio codecs

MP4 (MPEG-4 Part 14) is the most widespread video container there is: DSLRs, smartphones, OBS Studio and practically every video platform use it. Its popularity comes from packing H.264 or H.265 video together with audio into one compact file. The trouble is the audio codec: the overwhelming majority of MP4 files carry AAC-LC (Low Complexity), the standard profile for consumer devices. OBS can also produce MP3 depending on how it is configured. Less commonly, field recorders write MP4 with linear PCM, which Resolve does read without conversion.

Why DaVinci Resolve greys out the audio track

The free DaVinci Resolve (most visibly on Linux) ships no AAC decoder, because the licence is proprietary and costs money per distribution. Open an MP4 with AAC and the media inspector may show the audio greyed out, the clip with no waveform, or the message "Audio codec not supported (AAC)". The restriction affects audio only: H.264 and H.265 video open fine, because those decoders are included. The fix is to replace the AAC with FLAC, which Resolve decodes natively on every platform.

Step by step: converting your MP4 to FLAC

  1. Drop your .mp4 onto the upload area, or click Select files.
  2. Pick MKV as the output (recommended for Resolve compatibility), or MP4 if you would rather keep the extension.
  3. Press Convert. VidToFLAC detects the audio codec, re-encodes only that track to FLAC, and copies the video across untouched.
  4. Download the result and import it into Resolve's Media Pool. The audio track will appear in blue and play without errors.

Common problems and what to do

If your MP4 carries H.265 / HEVC video and the job takes longer than you expected, it is because the browser cannot decode HEVC for preview. VidToFLAC re-encodes the video to H.264 in that case; the audio is still FLAC and the file still works in Resolve. If the MP4 has several audio tracks (stereo plus surround, say), VidToFLAC detects them before converting and shows a checkbox per track, all ticked: each one you keep reaches the file as a separate FLAC track. From the terminal, ffmpeg -i input -map 0:v -map 0:a -c:v copy -c:a flac output.mkv does the same.

Where an MP4 keeps its index: the moov atom

Every MP4 carries an internal index called the moov atom that says where each chunk of video and audio begins. Depending on the software that wrote the file, that index can sit at the start or at the end. When it sits at the end, some players need the whole file before they can play anything, which is why a partly downloaded MP4 often refuses to open. VidToFLAC reads the entire file on your machine before converting, so the position of the moov atom makes no difference to the result.

Measured: what happened to a test MP4

In the test bench, a six-second MP4 was built with H.264 video and AAC-LC audio at 192 kbps, the profile cameras, phones and OBS use. Run through the tool, the video was copied without re-encoding and the file grew from 807 KB to 1,019 KB: 26 % larger. That growth is the price of moving from lossy to lossless audio, and it is normal for this format. If your MP4 carries H.265/HEVC video the story changes: in the same run, an HEVC MP4 went from 491 KB to 2,458 KB, because there the video does have to be re-encoded to H.264.

Guides and articles

Learn more about audio in DaVinci Resolve