For most OBS recording workflows, record to MKV, then remux to MP4 if your editor or upload process needs MP4. Start with the High Quality preset for a balance of image quality and file size, and check that your editor supports the codec as well as the container.
MKV is more resilient if a recording stops unexpectedly; regular MP4 is widely supported but needs finalising, so an interrupted write can leave it unusable. The practical workflow is to protect the recording first, then change its container without re-encoding if compatibility requires it.
Best OBS recording format: the short answer
Use MKV as the recording container when a completed, recoverable file matters more than being able to open it immediately in every editor. OBS recommends MKV for most use cases because it can preserve an unfinished recording after an interruption. If your editing software expects MP4, OBS can remux the MKV afterwards.
It helps to separate three choices that are often bundled together: container, codec and quality settings. The container, such as MKV or MP4, packages video and audio streams. The codec, such as H.264, HEVC or AV1, encodes the streams. The preset or encoder controls determine how OBS produces the recording, with consequences for file size and the load on your computer.
For a straightforward starting setup, choose MKV and the High Quality preset. Make a short test recording, play it back, and open it in your intended editor. If the editor does not accept MKV but does accept the selected codec in MP4, remux the file. If it will not accept that codec either, choose a more compatible codec for future recordings or use an appropriate editing conversion workflow.
This advice is about recording files, not the format your audience receives during a livestream. Recording and streaming can use different output settings, depending on your OBS configuration and hardware. A recording preset does not by itself improve the live stream, and a high-quality recording may take more storage or processing capacity than you need for a simple archive.
MKV versus MP4: what changes
MKV and MP4 are containers, not video quality levels. Changing a file from MKV to MP4 by remuxing changes the container while copying the encoded audio and video streams; it does not create a higher-quality image. If the codec inside the file is unsupported by your editor, changing only the container will not fix that incompatibility.
| Choice | Practical advantage | Practical risk or limit | Sensible use |
|---|---|---|---|
| MKV | An interrupted recording can remain playable and recoverable | Some editing software may not accept it directly | Record first, then remux if needed |
| Regular MP4 | Broad editing and playback support | A write interrupted before finalisation may make the file unrecoverable | Use when the recording process is reliable and workflow needs direct MP4 |
| Hybrid or fragmented MP4/MOV | Fragmented writing can improve resilience while retaining broad compatibility | Support and behaviour vary by workflow and software | Consider only after checking OBS and editor compatibility |
| MOV | Often favoured in Mac workflows | Container and codec support still need checking | Use when your Mac editing workflow calls for it |
OBS’s Audio/Video Formats Guide explains the supported container and codec combinations and their trade-offs. The guide describes regular MP4 and MOV as requiring finalisation, while hybrid and fragmented variants can write self-contained chunks. Availability and compatibility depend on the OBS version and the software that will open the file, so verify rather than assume.
MP4 may be the more convenient hand-off format for an editor, a collaborator or a direct upload workflow. That convenience is real, but it does not outweigh the risk of losing a recording if OBS or the computer stops while regular MP4 is being written. For an important long capture, the more conservative sequence is MKV first and an MP4 copy made after recording.
Record to MKV for resilience
A recording can end badly for ordinary reasons: OBS may close unexpectedly, the computer may restart, or power may be lost. With regular MP4, the file needs finalisation at the end of recording. OBS warns that if writing is interrupted, the file may not be recoverable. With MKV, the recording is designed to remain playable and recoverable even if it does not stop gracefully.
That difference matters particularly for long sessions, classes, interviews, devotional programmes, or a capture you cannot easily repeat. You may not notice a problem until the next morning. Starting with MKV gives you a better chance of having a usable source file to inspect rather than discovering that a direct-to-MP4 capture was never properly completed.
In OBS, choose MKV as the recording format in the output settings. The exact controls can vary by version and by whether you use Simple or Advanced Output mode. Confirm the chosen encoder and audio settings as well as the container, then make a brief recording and check it in a media player before relying on the setup for a long session.
MKV does not remove every possible failure. A disk can run out of space, a drive can fail, or an encoder can produce a file your editor cannot decode. It is also not a substitute for a second copy of a recording you cannot afford to lose. Check available storage before starting, and copy valuable recordings to another location once you have confirmed they are complete.
For a YouTube workflow, keep the recording question distinct from the problem of keeping a live broadcast running. If your aim is a continuous channel rather than an archive, the practical challenges include playlist endings and connection recovery; see how to keep an OBS YouTube stream connected after a video playlist ends. A resilient recording container protects a local file, not the continuity of a livestream.
Remux to MP4 when needed
Remuxing is the step to use when the recording’s streams are acceptable but the container is not. OBS copies the audio and video into a different container without decoding and encoding them again. Because it is not a re-encode, remuxing is generally much quicker than converting the video and does not introduce another generation of video compression. It cannot repair a damaged source or make an unsupported codec compatible.
The standard OBS workflow is to open File → Remux Recordings, choose the MKV recording and start the remux. OBS also provides an automatic-remux option in Advanced settings, so a completed MKV can be converted to MP4 as part of the wrap-up. Check the resulting MP4 in your editor and retain the original MKV until you know the new file opens and plays correctly.
Automatic remuxing can save a repeated step, but consider what it changes in your routine. You still need to check that the MKV was recorded and that the MP4 was produced successfully. If an interruption occurs before a recording finishes, do not assume an automatic step has run. Keep the MKV as the recovery source rather than deleting it as soon as an MP4 appears.
Remuxing helps only when the destination supports the streams already inside the recording. For example, an editor that accepts MP4 but not AV1 may still reject an AV1 video after remuxing. In that case, choose a codec the editor supports for future recordings, or deliberately transcode a copy using software appropriate to your workflow. A transcode does decode and re-encode, so it can take time and can affect quality depending on its settings.
OBS’s Standard Recording Output Guide documents recording settings and remuxing, including the option to remux recordings automatically. Check the current guide against your installed version before following menus exactly, as settings and labels can change.
Choose a quality preset
The preset controls how OBS balances recording quality, file size and, in some cases, processing demands. The names are useful starting points rather than promises about the result: your resolution, motion, encoder, hardware and available storage all matter. OBS’s Recording Encoder Presets Guide describes the trade-offs below.
| OBS preset | What OBS describes | A reasonable use |
|---|---|---|
| Same as stream | Uses the streaming encoder settings and gives the same quality as the stream; recording cannot be paused | When matching the live output matters more than pause controls |
| High Quality | High-quality video with a medium file size | First choice for a general recording workflow |
| Indistinguishable | Higher quality, larger files and possible performance impact on older or weaker hardware | When detail matters more and storage and system capacity allow it |
| Lossless | Lossless video with tremendously large files; uses the CPU encoder | A specific production workflow that needs lossless capture and can manage the files and CPU load |
High Quality is a sensible baseline because it avoids starting at the most demanding end of the scale. Record a representative scene, including the sort of movement or fine detail your content contains. Review the result at the size you expect to edit or publish. If you can see compression artefacts that matter for your use, test Indistinguishable and compare the resulting file size and system behaviour before adopting it.
Indistinguishable is not a free improvement. Larger files consume storage faster, and on older or weaker systems the encoder choice and workload can affect performance. A static devotional image with a slowly moving background may not need the same recording settings as fast gameplay or a detailed screen demonstration. Decide based on the actual content, and make a test before a long capture.
Lossless is a specialist choice, not the default route to a better-looking video. OBS’s 2023 guide estimates around 7 GB of data per minute for Lossless. That figure applies to this preset, not to OBS recordings generally. Even a short capture can become difficult to store, copy and edit, and the CPU encoding requirement may not suit a machine already handling other work.
Same as stream can be useful if the recording should match the stream output. Its limitation is that OBS does not allow pausing the recording with this option. It also means the recording inherits the quality decisions made for streaming, which may have been chosen to fit an internet connection rather than to create an editing master. Choose it for the match, not because it is automatically the highest-quality setting.
Advanced Output: encoder baselines
Simple Output is easier to configure and is a good place to start if you do not need control over individual encoder options. Advanced Output exposes more settings and can be useful when you have a defined editing or capture requirement. OBS publishes encoder-specific baseline values intended to effectively match its Simple mode presets; they are reference points, not universal optimal settings.
The table gives the values from OBS’s Advanced Recording Settings Guide, dated 30 November 2023. These controls depend on which encoder your computer exposes and on your OBS version. If a control is absent or named differently, do not try to force a matching value through an unrelated setting.
| Encoder | OBS baseline starting values |
|---|---|
| NVENC | Constant QP; CQP 16–23; keyframe interval 2; preset P5; High Quality tuning; Two Passes (Quarter Resolution); High profile; look-ahead off; adaptive quantisation on; 2 B-frames |
| x264 | CRF 16–23; keyframe interval 2; CPU usage preset veryfast; High profile; no tune |
| AMD | CQP; CQ level 16–23; keyframe interval 2; Quality preset; High profile; maximum 0 B-frames |
| Quick Sync | ICQ; ICQ quality 16–23; TU4 target usage; High profile; keyframe interval 2; normal latency; 3 B-frames |
For the quality-number controls shown, OBS says a lower CQ, CRF or ICQ value produces higher quality and larger files. The ranges are starting points: moving within them changes the balance rather than supplying a single correct answer. Make a test with the encoder you actually plan to use, inspect the image, and check whether your computer can keep up during the same applications and scenes you expect to record.
OBS’s Advanced Recording Settings Guide explains these baselines and their relationship to Simple mode. Hardware, workload and software version affect what settings are available and how they perform. A value that makes sense for one encoder is not a drop-in setting for another, so identify your encoder before changing controls.
Codec choice has a similar trade-off. OBS gives a general local-recording order of AV1, then HEVC, then H.264 when suitable hardware encoders are available. That is guidance about compression efficiency, not a guarantee of compatibility or performance on your machine. OBS describes H.264 as broadly supported, while AV1 has weaker editing support; HEVC can offer better quality at a given bitrate or file size than H.264 but may be less convenient for some workflows.
If you prioritise opening files in a wide range of editing applications, H.264 may be the more predictable choice. If you have a suitable hardware encoder and your editor supports the codec, AV1 or HEVC may suit a storage-conscious workflow. Do not choose a codec solely from a ranking: check that the encoder exists on your system, that your editor can import it, and that a test file behaves as expected.
Check editor compatibility before the long capture
Compatibility is a combination of container, video codec, audio codec and sometimes the editor’s version or operating system. An application that accepts MP4 does not necessarily accept every codec stored inside MP4. Equally, some editors can work directly with MKV, while others require a remux or a transcode. Test the full combination rather than relying on a format label alone.
A short preflight can prevent a frustrating morning. Record a minute that includes the real audio sources and representative visuals. Confirm the file plays, import it into the editor, scrub through the timeline, and listen to the tracks you intend to use. If you plan to remux, test that too. This catches issues such as an unsupported video codec, missing audio, or an unexpectedly large file before you capture a long programme.
If you use multiple audio sources, Advanced Output allows selection of audio tracks for recording. Separate tracks can make editing and source control easier, for instance when you want to adjust a microphone independently of desktop audio. They do not improve image quality, and a suitable track layout depends on your microphone, applications and editing needs. Avoid copying a track arrangement without checking which sources you want in the file.
Audio codec support also varies. OBS lists AAC as widely supported and a default choice, while formats such as Opus, ALAC, FLAC and PCM depend on the selected container and video codec. Opus may offer higher audio quality than AAC but has weaker editing compatibility; PCM is uncompressed and can increase file size. Keep the audio choices simple unless you have a post-production reason to preserve separate or uncompressed sources.
If your broader goal is to run a continuous YouTube channel, remember that a local recording and a live broadcast solve different problems. For a file-based channel, see how to keep a YouTube livestream from ending when the video file finishes. If the overnight burden is specifically keeping a computer and OBS available, the comparison of free and paid 24/7 streaming options addresses that separate operating decision. StreamNeo removes the need to leave your computer running for a file-based YouTube broadcast, so the machine handling your recording and editing does not also have to carry the overnight stream.
A resilient recording routine
A reliable format choice is only one part of a useful routine. Before a session, confirm the recording path, available storage, container, encoder and audio tracks. Start a brief test and verify the recording in the media player and editor you intend to use. For a long or important capture, avoid changing several variables at once; otherwise, it becomes difficult to know which setting caused a problem.
During setup, check that the recording destination is on a drive with enough room for the expected file, and that OBS has permission to write there. Choose MKV if recovery from an interrupted write matters. After the session, confirm the file is complete, remux only if your next application needs a different container, and keep the original until the hand-off file has been checked. Store another copy of valuable footage separately.
If the machine struggles, test a less demanding preset or encoder before reducing settings blindly. Close unnecessary workloads and make a representative test under the same conditions as the real session. A recording that looks good in a still frame may stutter or drop frames during motion if the encoder is overloaded. A test gives you a chance to see both the output and the computer’s behaviour without risking an irreplaceable session.
If file size is the constraint, compare the actual outputs from High Quality and Indistinguishable using the same content and duration. Keep the setting that meets your editing needs while fitting your storage and transfer routine. Avoid treating a smaller file as evidence of better settings, or a larger file as evidence of a visibly better result; inspect the footage and account for the extra space and time required to move it.
When you have checked your recording and channel workflow, compare the operating options on the pricing page. When the file and channel are ready, start free — 24-hour trial, no card.
Before committing, compare the operating options on the pricing page. When the file and channel are ready, start free — 24-hour trial, no card.
FAQ
Should I record OBS in MKV or MP4?
For most recording workflows, use MKV first because it is more resilient if the recording is interrupted. Remux it to MP4 when your editor or hand-off workflow needs MP4, and confirm the editor supports the codecs in the file.
Does remuxing MKV to MP4 reduce quality?
Remuxing changes the container without re-encoding the audio or video, so it does not reduce quality through another compression pass. It also cannot fix a codec that the destination editor does not support; that requires a compatible codec or a transcode.
Which OBS quality preset should I start with?
High Quality is a practical starting point for a general recording because OBS describes it as high quality with a medium file size. Try Indistinguishable if greater image quality is worth the larger files and possible performance cost on your system, and reserve Lossless for a workflow that specifically needs it.
Will every editor open an OBS MKV recording?
No. Editor support depends on the container and on the audio and video codecs inside it. Make a short test recording and import it into the software you will use; if the container is the only issue, try remuxing before considering a transcode.