Why does DaVinci Resolve have no audio from your MKV files?
An MKV is a container that accepts almost any codec, and that is exactly where the trouble starts. MKVs from OBS Studio, screen recorders and cameras usually store audio as AAC, sometimes Opus, and the free DaVinci Resolve decodes neither reliably, least of all on Linux.
The fix for your MKV: swap the audio, keep the container
Because MKV is already the output container, nothing about the packaging has to change. VidToFLAC copies the video stream across untouched and re-encodes only the audio track to lossless FLAC. The file you get back is the same MKV in every respect that matters, with an audio track DaVinci Resolve can actually read.
This is the cleanest case on the whole site: when the video codec can be copied, nothing is decoded, nothing is recompressed, and the picture that comes out is identical to the one that went in.
If the MKV carries H.265/HEVC video, the browser cannot decode it for preview and VidToFLAC re-encodes it to H.264 at high quality. Everything else is copied as-is.
Advertisement
Frequently asked questions
Frequently asked questions about converting MKV to FLAC
Do I lose quality converting an MKV to FLAC?
If the video codec can be copied (H.264, AV1, VP8, VP9, Xvid) it is copied bit for bit and the picture is exactly the original. If the MKV holds H.265/HEVC it is re-encoded to H.264 at high quality. Only the audio track changes in either case, and FLAC is lossless.
Why does my OBS recording have no audio in DaVinci Resolve?
OBS records AAC audio by default, sometimes Opus, and DaVinci Resolve (most notably on Linux) ships no decoder for either. Converting that track to FLAC inside the same MKV restores the sound.
Is there a size limit for an MKV?
We impose none: processing happens on your own computer with FFmpeg (WebAssembly) and nothing is uploaded. The practical ceiling is the WebAssembly engine's memory: roughly 2 GB for input and output combined, which works comfortably up to around 1 GB of source file.
Advertisement
What if my MKV has several audio tracks?
VidToFLAC detects them before converting and shows a checkbox per track, all ticked; every track you keep comes out as a separate FLAC track. That matters for OBS recordings with game audio and a microphone on separate tracks. From the terminal, ffmpeg -i input -map 0:v -map 0:a -c:v copy -c:a flac output.mkv keeps them all. If DaVinci Resolve then shows a single track, the file is fine: set the tracks under Clip Attributes.
Can I keep MKV instead of converting to MP4?
Yes, and you should. DaVinci Resolve handles MKV without trouble, and MP4 does not officially support FLAC audio. Staying with MKV is the path of least resistance.
Conversion guide
Everything about converting MKV to FLAC
The usual audio codec in each format and what it does in DaVinci Resolve on Linux.
Why MKV is both the best and the worst container
Matroska (MKV) is an open container that imposes almost no limits on what goes inside it: any video codec, any audio codec, any number of tracks, subtitles and chapters. That flexibility is why OBS Studio recommends it for recording: an MKV survives a crash, whereas a half-written MP4 is often unusable. The flip side is that "MKV" tells you nothing about whether your editor can read the contents. Two MKVs can behave completely differently.
The OBS Studio case
OBS records MKV with AAC audio at 160 kbps by default. That single default is behind a large share of the "no audio in DaVinci Resolve" reports from people editing on Linux. The video, normally H.264, imports perfectly; the audio track shows up greyed out or silent. Converting that audio to FLAC inside the same MKV is enough: the container never has to change.
Step by step: converting your MKV to FLAC
Drop the .mkv file onto the upload area. You can queue several recordings at once.
Leave MKV as the output. The container stays the same; only the audio track changes.
Press Convert. The video stream is copied across and only the audio is re-encoded to FLAC.
Import the result into DaVinci Resolve. The waveform appears and the sound plays.
Common problems and what to do
If your MKV carries H.265 / HEVC video, the browser cannot decode it for preview and VidToFLAC re-encodes it to H.264 at high quality. If the file holds several audio tracks, such as a game feed plus a microphone, only one of them is converted; the FAQ below explains how to keep them all. And if the MKV came from a download rather than a recording, check first whether the audio is Opus: Resolve struggles with that one even on Windows, and the same conversion fixes it.
Why Matroska is the container of choice for remuxing
Matroska carries no patent restrictions in the container itself, and it accepts almost any combination of codecs without recompressing anything. That is why remuxing tools reach for it, and it is the same principle VidToFLAC applies: change the wrapper and the audio track, leave the video untouched.
Measured: what happened to a test MKV
The test bench includes a six-second MKV with VP9 video and Opus audio, the usual pairing in an OBS recording or web video. The VP9 was copied as it was and the file went from 559 KB to 763 KB once the Opus became FLAC. What did need fixing was the track's start: the Opus pre-skip left it beginning seven milliseconds after zero, and that was enough for Resolve to import it silent. In the same run, an MKV with AC-3 audio and others with E-AC-3 and DTS also converted without a single error: those are precisely the three codecs that most often leave a silent track in an editor.