Streaming software, tested with real files
OBS MKV to MP4: remux the recording, do not convert it

Short answer
Remux, do not re-encode: the MP4 gets the same picture and sound, and it takes about as long as copying the file once (our 30-second test file: under a second). In OBS, open File, Remux Recordings, pick the MKV and press Remux. Without OBS, the free MKV to MP4 tool does it in your browser for files up to 100 MiB; checksums of the video and both audio tracks matched. With ffmpeg, add -map 0, or the second audio track disappears. Keep recording to MKV or Hybrid MP4/MOV, not plain MP4: after a killed recording the MKV gave 10.9 seconds of video, while ffmpeg could not open the plain MP4.
Key takeaways
- Remuxing copies the video and audio into a new container. Our two-track file went from 15,145,120 to 15,160,541 bytes, and checksums of the video and both audio tracks matched the original.
- Plain ffmpeg -c copy kept 2 of 3 streams: one video, one audio. Adding -map 0 kept all 3, and so did our browser tool when its copy step worked. OBS's own remux copies every stream, according to its source code.
- Remuxing took 0.66 seconds; re-encoding the same file took 19.70 seconds and changes the picture.
- HEVC recordings: plain ffmpeg tags the video hev1. Add -tag:v hvc1, the tag OBS's own remux uses "for wider device compatibility". H.264 and AV1 files need no tag.
- PCM audio copies into MP4 with ffmpeg 6.1, but OBS warns it is "not supported in all applications". Converting just the audio to AAC (compressed, 192 kb/s) took 2.83 seconds and left the video untouched.
Remux in the browser when OBS is not on this computer
Got the file from a friend, or on a laptop without OBS? The free MKV to MP4 tool runs FFmpeg inside your browser, so the file never leaves your computer. For an MKV it first tries the same stream copy, video and every audio track, and the page labels it Remux (container swap).
We ran the live tool twice on our test file: 1080p H.264 with two AAC tracks named Desktop and Mic, 15.1 MB. Each run started a fresh browser and was timed from picking the file to the Download button, so the time includes loading the converter engine (about 30 MB) over our server's fast connection. It finished in 2.9 and 2.8 seconds and returned a 15,160,549-byte MP4 with one video and two audio streams. Checksums of the video and of each audio track matched the MKV. That is the result you want: nothing re-encoded, nothing dropped.
The tool takes files up to 100 MiB (104,857,600 bytes, about 104.9 MB). A long OBS recording is usually bigger, so use OBS or ffmpeg for those. On a home connection the first file of a visit also waits for the engine download. If a stream cannot be copied into MP4, the tool falls back to a full re-encode, which takes minutes rather than seconds: our PCM test file showed 30% after 120 seconds. That fallback, according to the tool's code, does not pick streams, so FFmpeg keeps one audio track: an OBS recording with two PCM tracks would lose the second one. For PCM, use OBS's remux or the ffmpeg line in the PCM section below instead.
Free tool:Remux an MKV to MP4 in your browser

Remux with ffmpeg and keep every audio track
ffmpeg is the tool for big files and whole folders. The one flag people leave out is -map 0. Without it, ffmpeg picks streams for you, and the FFmpeg manual says how: "For each acceptable stream type, ffmpeg will pick one stream". One video, one audio. If you recorded your game on track 1 and your microphone on track 2, the microphone is gone.
| Method | Streams out of 3 | Time | Video and audio identical? |
|---|---|---|---|
| ffmpeg -c copy | 2 (second audio track dropped) | 0.50 s | yes, for what is left |
| ffmpeg -map 0 -c copy | 3 | 0.66 s | yes |
| Koldflux MKV to MP4 tool | 3 | 2.8 to 2.9 s, including the engine download on a fast server link | yes |
| Re-encode (libx264, CRF 21) | 3 | 19.70 s | no, the picture is encoded again |
Ffmpeg 6.1.1.
Re-encoding is what most converter apps do. It takes about 30 times longer on our file, and every encode loses a little detail. For an MKV from OBS there is rarely a reason to do it.
If ffmpeg stops with "codec not currently supported in container", the MKV holds a stream MP4 cannot take, usually a subtitle track in a file that did not come from OBS. -map 0 then makes the whole command fail (exit 234 on our test file with an SRT track), and the folder loop skips that file. Then keep only the video and every audio track with the third command above, which also worked on our ordinary two-track file.
ffmpeg -i recording.mkv -map 0 -c copy -movflags +faststart recording.mp4for f in *.mkv; do ffmpeg -n -i "$f" -map 0 -c copy -movflags +faststart "${f%.mkv}.mp4"; doneffmpeg -i recording.mkv -map 0:v -map 0:a -c copy -movflags +faststart recording.mp4HEVC recordings need one extra flag
If you record with an HEVC (H.265) encoder, ffmpeg copies the video fine but labels it with the hev1 tag. OBS's remux code does something different on purpose: "Tag HEVC files with industry standard HVC1 tag for wider device compatibility". Do the same by hand:
Not sure which codec you recorded? Run ffprobe recording.mkv and look at the Video line: h264 or av1 needs no tag, hevc does. On H.264 and on AV1, ffmpeg stops with the same "Tag hvc1 incompatible" error (exit 183). The encoder name in the OBS output settings tells you too: x264, H.264 or AV1 means no tag, HEVC or H.265 means add it.
ffmpeg -i hevc.mkv -map 0 -c copy -tag:v hvc1 -movflags +faststart hevc.mp4PCM audio: copy it, or play it safe with AAC
OBS can record uncompressed PCM audio. Whether that survives the move to MP4 depends on the software. ffmpeg 6.1 copied both our PCM files without complaint, 16-bit as ipcm and 32-bit float as fpcm, the newer MP4 PCM tags. The OBS knowledge base is careful about exactly this: "PCM in MP4 is a relatively recent addition to the standard, and not supported in all applications."
We did not open these files in any editor, so we cannot tell you which apps read them. If yours refuses the file, keep the video as it is and turn only the audio into AAC. The sound becomes compressed AAC at 192 kb/s instead of uncompressed PCM, so keep the MKV if you need the original audio:
ffmpeg -i pcm.mkv -map 0 -c:v copy -c:a aac -b:a 192k -movflags +faststart pcm.mp4Why OBS records MKV first, and what Hybrid MP4 changes
A plain MP4 writes its index, the moov atom, at the very end. If OBS crashes, the power goes, or the disk fills up, that index never gets written. OBS's recording guide says MKV "will not corrupt the whole file if there is no graceful stoppage of recording". We checked what that means in seconds.
We recorded the same clip into three containers and killed the recorder with kill -9 after 12 seconds. The MKV remuxed to 10.9 seconds of video. A fragmented MP4 gave 9.1 seconds. In our test ffmpeg could not open the plain MP4 at all: it reported "moov atom not found" and exited with 183. Cutting finished files at 70% of their bytes gave the same picture: 19.6 seconds, 19.1 seconds and nothing. The fragmented MP4 kept less sound than picture: 8.0 seconds of audio after the kill and 18.0 after the cut, while the MKV kept slightly more sound than video. As a control, the same clip recorded to the three containers without interruption opened at full length (30 seconds).
Newer OBS versions add a third option. Hybrid MP4 and Hybrid MOV were "introduced in OBS 30.2 (Hybrid MP4) and OBS 32.0 (Hybrid MOV)", and the knowledge base says such a file "remains recoverable even if writing the file is aborted". In the OBS 33.0.3 source code, new profiles default to Hybrid MOV on macOS and Hybrid MP4 elsewhere. So if you set up OBS recently and see .mp4 files, you may not need to remux at all. Older profiles keep whatever format they had. That may be MKV, or fragmented MP4/MOV, which the OBS blog says was briefly the default before Hybrid MP4; which one you have depends on how the profile was set up.
One catch for Hybrid files: chapter markers are written at the end, and OBS notes they are "not recoverable in the event of a crash". Our fragmented MP4 is the older cousin, not OBS's Hybrid format, so read its bar as a rough idea only.

The limits of what we tested
These numbers come from one 30-second clip on November 30, 2026. Here is what that leaves open.
- The MKV files were built with ffmpeg 6.1.1 to match OBS settings (2-second keyframes, H.264 or HEVC, AAC, PCM or Opus audio, two named tracks). OBS itself was not run, and its remux uses its own copy of FFmpeg.
- Hybrid MP4 and Hybrid MOV files were not tested. The crash test used a fragmented MP4 as a stand-in, and a kill -9 on Linux, not a real power cut on Windows or macOS.
- No editor, phone, browser player or upload form opened the outputs. Matching checksums mean the video and audio data are the same as in the MKV, not that every app will play the file.
- The browser tool was timed on a server running headless Chromium, including the engine download over a data-centre connection. A laptop on home internet may be slower. Files over 100 MiB were not tried, and the tool's PCM fallback was not run to the end.
- Opus audio copied into MP4 with ffmpeg (tag Opus); support for Opus in MP4 varies by app, which we did not check.
Do it in your browser
Free Koldflux tool, no account needed.
Questions people ask
Does remuxing MKV to MP4 lose quality?
No. Remuxing copies the encoded video and audio into a new container. In our test, the MD5 checksums of the video and of both audio tracks matched before and after, and the file grew by 15,421 bytes, about 0.1%, which we read as the difference in container overhead.
Why is my mic missing after converting OBS MKV to MP4?
Most likely the converter kept only the first audio track. Plain ffmpeg -c copy kept 1 of our 2 audio tracks. Use -map 0 or the MKV to MP4 tool, which kept both on our AAC file; OBS's File, Remux Recordings copies every track too. One exception for the tool: with PCM audio it re-encodes, and its code keeps only one audio track, so use OBS or the ffmpeg AAC line for multi-track PCM recordings. Also check your player: many play only the first track.
Can OBS record straight to MP4?
Yes. Recent OBS versions offer Hybrid MP4, which stays recoverable after a crash, and the 33.0.3 source code makes it the default for new profiles outside macOS (Hybrid MOV on macOS). Plain MP4 is the risky one: in our test, ffmpeg could not open a plain MP4 whose recording was killed (moov atom not found).
How long does it take to remux a one-hour recording?
We did not time an hour-long file. Remuxing reads and writes the file once without encoding, so it is bounded by disk speed: our 15 MB, 30-second file took 0.66 seconds with ffmpeg on our server.
Can I delete the MKV after remuxing?
After you have played the MP4 and checked every audio track, yes. Until then keep it: the MKV is the copy that survives a bad stop, and remuxing again takes about as long as copying the file.
My remux fails or the MP4 has no sound. What now?
Check the audio codec with ffprobe. If it is PCM, keep the video and convert only the audio: ffmpeg -i in.mkv -map 0 -c:v copy -c:a aac -b:a 192k out.mp4 worked on our PCM file. The PCM section line adds +faststart and took 2.83 seconds. If ffmpeg says "codec not currently supported in container", use -map 0:v -map 0:a instead of -map 0.
Related
More guides on this topic
Sources and how we checked
- OBS Knowledge Base: Standard Recording Output Guide (MKV recommendation, Remux Recordings, Automatically remux to mp4) (checked 2026-11-30)
- OBS Knowledge Base: Hybrid MP4 and Hybrid MOV Formats (versions, recovery, PCM note, chapters) (checked 2026-11-30)
- OBS Knowledge Base: Advanced Recording Guide and Multi Track Audio (checked 2026-11-30)
- OBS blog: Writing an MP4 Muxer for Fun and Profit (Hybrid MP4, and why fragmented MP4 stopped being the default) (checked 2026-11-30)
- OBS Studio 33.0.3 source: media-remux.c (copies every stream, hvc1 tag for HEVC) (checked 2026-11-30)
- OBS Studio 33.0.3 source: OBSBasic.cpp (default recording format Hybrid MOV on macOS, Hybrid MP4 elsewhere) (checked 2026-11-30)
- OBS Studio 33.0.3 source: RemuxQueueModel.cpp (output names in Remux Recordings) (checked 2026-11-30)
- OBS Studio 33.0.3 source: OBSBasic_Recording.cpp (automatic remux, skipped for Custom Output (FFmpeg)) (checked 2026-11-30)
- FFmpeg documentation: stream selection without -map (checked 2026-11-30)
- Wikimedia Commons: Sintel trailer 1080p (Blender Foundation, Durian Open Movie project), CC BY 3.0: the test footage (checked 2026-11-30)
- Our test log: every remux, checksum, crash test and tool run (test-results.txt) (checked 2026-11-30)
- Test script that rebuilds the files and numbers (test-run.sh, with chart.py and the Playwright tool runner tool-run.cjs) (checked 2026-11-30)
- Every published command with its exit code and edge inputs (commands.log) (checked 2026-11-30)
On November 30, 2026 we cut 30 seconds from the Sintel trailer (Blender Foundation, CC BY 3.0, Wikimedia Commons) and built five MKV files with ffmpeg 6.1.1 to match common OBS settings: H.264 with two AAC tracks named Desktop and Mic, HEVC with AAC, and H.264 with 16-bit PCM, 32-bit float PCM or Opus audio, all with 2-second keyframes. Each was remuxed to MP4 with ffmpeg, with and without -map 0 and -tag:v hvc1, and the H.264 file was also re-encoded for timing. Streams and tags were read with ffprobe; the video and every audio track were compared with MD5 checksums of the copied packets. For the crash test the same clip was recorded into MKV, plain MP4 and fragmented MP4 and the recorder was killed with kill -9 after 12 seconds; finished files were also cut at 70% of their bytes, and the same clip recorded to each container without interruption served as the control. Chart durations are the video stream; audio durations are logged separately. The live Koldflux MKV to MP4 tool ran twice on the two-track file in headless Chromium (Playwright), timed from file selection to Download with a fresh browser each time, and was tried twice on the PCM file (one attempt timed out at 300 seconds, the other was watched for 120 seconds). Every published command was re-run with edge inputs (missing and empty files, names with spaces and accents, a second run, an empty folder, uppercase .MKV, the hvc1 flag on H.264 and AV1, an AV1 file, an MKV with a subtitle track, two PCM tracks) in commands.log. OBS documentation, blog and the 33.0.3 source code were read the same day. OBS itself, Hybrid MP4 files and playback apps were not tested.