What happens, in one sentence

The basic command for turning a video into FLAC is ffmpeg -i input -c:v copy -c:a flac output.mkv, and it has no -map. Without that option FFmpeg applies its default selection: one video stream, one audio stream, everything else left out. With a single-track file — most files — you never notice. With a multitrack OBS recording, half the recording is gone. It is what many converters do, and it is what VidToFLAC did until 24 September 2026. If your file is a video, convert it to FLAC in your browser.

The practical summary: VidToFLAC now detects the audio tracks in your file and, if there is more than one, shows you a checkbox per track before converting; every track you leave ticked comes out as FLAC. It is measured further down. If you prefer the terminal, the equivalent is -map 0:v -map 0:a. And if Resolve shows a single track when you drag the file in, the file is fine: it is a Clip Attributes matter.

Why OBS records several tracks

Under Settings → Output → Recording, OBS has a row of checkboxes labelled "Audio Track". Each box you tick adds an independent track to the file, and in the mixer you decide which source goes to which. The usual split for someone recording gameplay is: track 1 with the full mix, track 2 with the game audio and track 3 with the microphone.

There is a very specific reason for it: while editing you want to pull the game down without pulling your voice down with it, or clean up a noise on the mic without touching the music. With everything mixed into one track that is no longer possible. So someone recording multitrack does not want "the good track" — they want all of them.

The price is that from then on, any tool that is not built for multitrack may keep just one, and that discard almost never shows up on screen.

The test: two tracks in, one out

To measure it I used FFmpeg to build a file shaped like what OBS produces: H.264 video and two stereo AAC tracks at 160 kbps, with different content on each so they could be told apart afterwards.

What happens to each track without -map and with -mapAn OBS MP4 with one video track and two AAC audio tracks. Without -map the output keeps the video and only the first audio track; with -map 0:v -map 0:a the output keeps the video and both tracks converted to FLAC.What goes in and what comes outOBS RECORDINGH.264 videotrack 1 - AACtrack 2 - AACno -mapwith -mapOUTPUT WITHOUT -MAPvideo copiedtrack 1 - FLACtrack 2 is goneOUTPUT WITH -MAPvideo copiedtrack 1 - FLACtrack 2 - FLAC
The same file converted two ways. Without -map the output carries only the first track; with -map 0:v -map 0:a both arrive, already as FLAC. Verified with FFmpeg 6.1.1 on Ubuntu.
ffprobe -v error -show_entries stream=index,codec_type,codec_name -of csv=p=0 obs.mp4 0,video,h264 1,audio,aac 2,audio,aac

That file went through the command without -map, the same one the tool issued before track selection existed. The result:

ffprobe -v error -show_entries stream=index,codec_type,codec_name -of csv=p=0 output.mkv 0,video,h264 1,audio,flac

Two tracks in, one out. The file takes 2,546 KB instead of the 3,402 KB it takes when both are kept, and there is no error message anywhere: FFmpeg considers that it did exactly what it was asked, because it did.

Which of the two survives

FFmpeg does not take the first one by position — it takes the one it considers "best": first it looks at the channel count, then at the bitrate, and only on a tie does it keep the one that appears earlier in the file. Since both test tracks were stereo at the same bitrate, the first one won.

To confirm that without trusting the theory, I decoded all three signals — the two input tracks and the output — and compared them sample by sample:

Comparison Maximum difference Conclusion
Output against track 11.19 × 10⁻⁷Same signal
Output against track 20.92Unrelated

That 1.19 × 10⁻⁷ is one 24-bit quantisation step: track 1 arrives whole, merely rounded when stored as FLAC. The 0.92 figure is simply a different signal.

What that means in practice depends on how your OBS tracks are laid out. If track 1 is the full mix, you got lucky: what reaches the editor has everything in it, even if you can no longer separate it. If track 1 is the game and the microphone is on track 2, what reaches the editor is the session without your voice.

How VidToFLAC handles it now

Since 24 September 2026 the tool probes the file before converting. If it finds a single audio track, it converts without asking, as it always did. If it finds several, it stops and shows a checkbox per track — “Track 1 · AAC”, “Track 2 · AAC” — all ticked. You untick the ones you do not want, press Start conversion, and every track still ticked reaches the final file as a separate FLAC track.

I tested it on 25 September by putting an OBS-style MKV through the app itself, in the browser: H.264 video and two AAC tracks with different content, a low tone on the first and a high one on the second, so I could tell which was which at the end.

Case Tracks in the output Audio start
Both ticked, MKV outputTwo FLAC: the low one and the high one0.000 s on both
Only the first tickedOne FLAC: the low one0.000 s
Both ticked, MP4 outputTwo FLAC: the low one and the high one0.000 s on both
Single-track fileOne FLAC, no checkboxes on screen0.000 s

The start column matters more than it looks: DaVinci Resolve imports with no sound any audio track that does not start at exactly zero, and the source AAC started at −0.021 s. It is explained on the test bench.

Counting the tracks was not enough to identify them: I decoded each one and measured its frequency, and the track I unticked is the one missing, not some other. The one thing that does not change is the extra step: with a multitrack file you press twice, once so the tool can see the tracks and once to convert.

The command that keeps them all

If you prefer the terminal, or you have a whole folder of recordings, with FFmpeg installed you just have to tell it explicitly which streams you want in the output:

ffmpeg -i obs.mp4 -map 0:v -map 0:a -c:v copy -c:a flac output.mkv

-map 0:v takes every video stream from the first input and -map 0:a every audio stream. The video is copied untouched, exactly as the tool does it, and each audio track is encoded to FLAC separately. In the test the output went from one track to two, and the file from 2,546 to 3,402 KB.

For a whole folder of recordings:

for f in *.mp4; do ffmpeg -i "$f" -map 0:v -map 0:a -c:v copy -c:a flac "${f%.mp4}.mkv"; done

MKV is the better choice. MP4 also takes several FLAC tracks — the tool writes them correctly, and Resolve opened such an MP4 with both of its tracks — but FFmpeg still flags it as experimental and in the terminal it needs -strict experimental; MKV holds as many FLAC tracks as you need without any odd flags. If you have never used FFmpeg in a terminal, the guide on converting video with FFmpeg without installing anything covers the rest of the syntax.

And Resolve may still show you a single track

Here is the part no guide mentions, and it only turns up once you drag the real files into the program. An MKV with two FLAC tracks inside — confirmed with ffprobe, no room for doubt — imported into DaVinci Resolve Studio 21.0.4 on Ubuntu with a single audio track on the timeline. The command had done its job; the editor was not showing the result.

The odd thing is that it does not always happen. I generated thirteen variants of the same clip, changing one thing at a time — the default-track flag, the track names, 16 against 24 bits, 44.1 against 48 kHz, the resolution, the duration, the tags inherited from an MP4 source — and some opened two tracks while others opened one, with none of those properties explaining the difference. With every one of them ruled out on its own, the honest conclusion is that it is not in the file: it depends on the state of Resolve, which stores a clip's audio attributes the first time it reads it.

What matters is that the audio was never lost. It is inside the file, and Resolve can see it:

  1. Right-click the clip in the Media Pool.
  2. Clip Attributes… → Audio tab.
  3. Under Format, choose how many tracks you want and of what kind: two mono tracks, in the usual OBS case of game and microphone.
  4. Under Source Channel for each track, assign Embedded Channel 1 and Embedded Channel 2.

Once you accept, the clip carries the two separate tracks on the timeline, each with its own volume and effects, which is the whole point of recording multitrack. Do it before dragging it in: if it is already on the timeline, remove it, change the attributes and drag it again.

Put another way: if you convert keeping the tracks — with the tool or with -map — and see a single one when you drag the file in, do not convert it again. The file is fine. Clip Attributes is what needs changing.

How to see how many tracks you have

Before converting anything, look at what is inside. With FFmpeg installed:

ffprobe -v error -show_entries stream=index,codec_type,codec_name -of csv=p=0 recording.mp4

Each line is one stream. If more than one says audio, your file is multitrack. Without FFmpeg, the same information shows up in MediaInfo. In DaVinci Resolve, do not trust how many tracks you see on the timeline — it can show one while the file holds two, as explained above: check it in Clip Attributes → Audio, where Source Channel lists the channels the file actually carries.

How to avoid it from OBS

If you are not going to mix separately, leave only track 1 ticked under Settings → Output → Recording and make sure every source in the mixer is routed to it. That is a smaller file, it converts in the tool without touching a terminal, and it imports anywhere without surprises.

If you are going to mix separately, keep the tracks, but also send the full mix to track 1. That way, if one day you convert the file with a tool that keeps only one, what survives is the complete mix rather than half the recording.

And there is a third option that skips the problem entirely: record in MKV from the start. Under Settings → Output → Recording → Recording Format, choose mkv instead of mp4. You can then use FLAC as the recording's audio codec, which leaves nothing to convert afterwards. It is also safer if something crashes: an MP4 cut off mid-write is corrupt, an MKV is not.

One track or several

Convert the audio to FLAC in your browser

Drop in the recording, hit Convert and download the MKV ready to import into DaVinci Resolve. Nothing is uploaded to any server. If your recording is multitrack, it shows you a checkbox per track and keeps the ones you tick.

Convert now
What was verified here: the two-track file was generated and converted with FFmpeg 6.1.1 on Ubuntu on 20 September 2026, using the same command the app runs, and the signals were compared sample by sample to identify which track survives. The tool’s track selection was tested in the app itself, in the browser, on 25 September 2026, with MKV and MP4 outputs checked with ffprobe. What was not verified here is OBS behaviour version by version: the setting names match OBS Studio 30 and may differ in earlier releases.

Frequently asked questions

Does VidToFLAC keep both audio tracks from an OBS recording?

Yes, since 24 September 2026. If the file has several tracks, the tool shows a checkbox per track before converting, all ticked, and each one you keep comes out as a separate FLAC track. Tested with a two-track AAC file: both came out, in MKV and in MP4, both starting at zero. Before that date it converted only one.

Which track survives if you convert without -map?

The one FFmpeg considers best: with equal channel count and bitrate, the first one in the file. In the measurement, the output audio matched track 1 sample for sample and had no relation to track 2. In a typical OBS recording track 1 is the mix or the game sound, and the microphone sits on track 2.

Which FFmpeg command keeps every track when converting to FLAC?

ffmpeg -i input.mp4 -map 0:v -map 0:a -c:v copy -c:a flac output.mkv. The -map 0:a selects every audio track in the input instead of letting FFmpeg choose one. In the test, the output went from one to two FLAC tracks and the file grew from 2,546 to 3,402 KB.

How do I know how many audio tracks my recording has?

Run ffprobe -v error -show_entries stream=index,codec_type,codec_name -of csv=p=0 file.mp4 to list every stream in the file. In OBS, the number of tracks is the number of boxes ticked under Settings → Output → Recording → Audio Track.

Is it better to record a single mixed track in OBS?

It depends on whether you will want to duck the game under your voice while editing. If the answer is yes, record separate tracks and convert them keeping both: the tool lets you pick them, and in the terminal it is -map. If you will never touch them separately, one track simplifies the whole workflow: a smaller file, a conversion the tool handles on its own, and an import that works in any editor.

If the underlying problem is that Resolve plays nothing at all, start with DaVinci Resolve not importing audio from an OBS MP4. And if what worries you is the size of the resulting file, it is measured in how much space FLAC takes by source codec.