HandBrake Guide

Convert MKV to MP4 with HandBrake and keep the right tracks

An MP4 delivery copy needs compatible picture, sound and captions. Select the wanted tracks deliberately, distinguish soft subtitles from a permanent burn, and keep the MKV for another use.

Two mounted film slides showing the same mountain road

To convert MKV to MP4 in HandBrake, open the MKV, choose a preset for the receiving device, set Summary > Format to MP4, then check Audio and Subtitles before starting the encode. For an ordinary SDR playback copy at up to 1080p30, I'd start with General > Fast 1080p30: it supplies H.264 video and AAC stereo. HandBrake always encodes a new video, so choose a remux tool instead when you only need a different container and the existing tracks already suit the player.

Keep the MKV and write the MP4 to a different filename. The useful result is a copy that plays on its destination with the right picture, sound and captions; an .mp4 extension alone doesn't establish any of those things.

Choose between conversion and a lossless remux

MKV and MP4 are containers: they organize video, audio, subtitles and other information. The video codec, audio codec and receiving player's limits still matter. Changing the filename from movie.mkv to movie.mp4 leaves the contents in the original container and doesn't solve incompatibility.

What needs to change?Route I'd chooseWhat to check first
Only the container; the video and sound already play on the destinationRemux compatible streams with a stream-copy toolWhich audio and subtitle tracks MP4 and the player can accept
Video codec, resolution, file-size budget or permanently visible captionsEncode a new copy in HandBrakePreset limits, retained tracks and a representative output sample
Keep multiple selectable PGS subtitle languagesRetain MKV for a player that supports those tracks, or supply compatible text subtitles separatelyHandBrake cannot pass PGS through into MP4

A remux copies selected compressed streams rather than decoding and encoding them. FFmpeg's stream-copy explanation describes that distinction. The copied picture data stays unchanged, although the whole file's byte count can change because its packaging or retained tracks differ. A smaller file therefore doesn't prove that the video was recompressed.

For container-only jobs, use the OBS or FFmpeg remux steps below. If the video needs converting, follow the preset and track workflow next.

Pick a preset from the destination, not the filename

For a phone, browser or TV that accepts ordinary H.264/AAC MP4, Fast 1080p30 is a sensible starting point for SDR material. Its name sets ceilings rather than promising to preserve every source. The official preset guide explains those resolution and frame-rate limits.

Source and requirementPractical choice
1080p SDR, up to 30 fps, ordinary stereo playbackStart with Fast 1080p30, then inspect the selected tracks and crop.
1080p60 motion that must stay at 60 fpsChoose a suitable 60 fps preset or change the video settings to a supported 60 fps output. A 30 fps ceiling discards the extra temporal detail.
4K that must remain 4KUse a suitable 2160p preset and confirm the player's codec, bit-depth and frame-rate support.
A receiver with a strict upload allowanceChoose compatibility first, then calculate a video bitrate budget from duration and audio. A fixed RF value cannot promise a byte limit.
An editor demanding a fixed frame rateSet the required Constant Frame Rate and supported codec/profile explicitly. An MP4 accepted by a TV isn't automatically the right editing format.

I wouldn't choose HEVC or AV1 solely because a file is large. They require compatible decoding, and their quality scales and encoder behavior differ. Start from the receiver's supported format.

Open the source and set the picture

  1. Open the MKV. Use the official HandBrake download if you need the app, then select Open Source or drag the file onto HandBrake. Let the scan finish, then verify the selected Title, duration and range. A failed scan needs diagnosis before any output setting can help.
  2. Apply the preset first. Choosing another preset can replace settings you've already adjusted. Select the delivery preset, then make the track and picture changes below.
  3. Set Summary > Format to MP4. Confirm the output container after changing presets. Web Optimized arranges an MP4 for progressive download; it isn't a quality improvement or a switch that makes the encode smaller.
  4. Inspect Dimensions and Preview. Check the output dimensions, aspect ratio and automatic crop. If content reaches an edge, inspect more than the opening frame before accepting the crop. A different container doesn't require removing black bars.
  5. Check Video. Confirm the intended encoder, quality and frame rate. With Fast 1080p30, the 1.11.2 preset definition specifies x264 at RF 22, a 30 fps peak rate, and AAC stereo at 160 kbit/s. Those are a starting configuration, not a requirement for every MKV.

For x264/x265, the official quality recommendations put 1080p in the RF 20–24 range. Lower RF means higher quality and usually more data within that encoder. Keep the preset value for the first short sample; lower it modestly if moving detail, grain or gradients break up. Don't jump to RF 0 to avoid a remux: that still creates a new encode and can produce an unnecessarily large file.

The same RF number doesn't mean the same quality across x264, x265 and SVT-AV1. Hardware encoder scales can behave differently too. If the goal is a strict size allowance, use the file-size budget workflow rather than repeatedly guessing RF.

Frame rate needs its own decision. With a 30 fps Peak Frame Rate, material below that ceiling can retain its timing while higher rates are limited. Same as Source with Variable Frame Rate preserves source timing; Constant Frame Rate makes it uniform. Choose CFR when the receiving editor or device requires it, rather than treating it as a universal fix for every sync problem.

For a shorter delivery copy, set the wanted interval using the start and end range controls in this same job. That avoids encoding an entire long recording only to trim it afterward.

If the source has chapter navigation you want to retain, open Chapters and enable Create chapter markers. HandBrake can copy and rename source chapter markers; check navigation in the receiving player too. A delivery MP4 still isn't a promise to preserve every attachment or feature of the original MKV.

Select the right audio, including commentary and surround

Open Audio after applying the preset. A preset's track-selection rules don't promise to retain every language or the main soundtrack. In particular, Fast 1080p30 selects the first audio track by default. A commentary and main dialogue track can share the same language label, so identify the source row rather than accepting the label alone.

HandBrake Audio tab with source and AAC output codec fields
Check Source and Codec for each wanted soundtrack before starting the MP4 encode. Open full size.

Retain a row for every soundtrack you want. On Windows, Tracks > Add New Track adds a row; then choose its source track. Mac and Linux expose corresponding track selection in the Audio tab. Remove unwanted rows from this output job, leaving the original MKV intact.

For a stereo receiver, AAC with a stereo mixdown is the straightforward compatibility choice. That mixdown combines the source channels; it doesn't preserve discrete surround. If you need surround, choose an output codec/channel arrangement the receiver supports, or add a compatible stereo track alongside a supported surround track.

Audio passthru copies a selected source soundtrack. It doesn't prevent video encoding. Use it only when the source codec, MP4 muxer and player agree; Auto Passthru can use the fallback encoder if copying isn't allowed. The 1.11.2 codec definitions permit more MP4 audio types than older quick-reference lists suggest, but a muxer's capabilities don't establish your television's decoding capabilities.

Check which retained track the destination starts playing. If a TV or app ignores your preferred selection, the MP4 can contain the right language and still start with the wrong one. Confirm playback on that destination before queuing more files.

Keep subtitles selectable or burn the wanted language

Open Subtitles, inspect any automatically added rows, and add the specific source subtitle you need. Burn In writes captions into the video picture permanently; they cannot be switched off. HandBrake can burn one subtitle track per encode. Default and Forced Only answer different questions and don't mean “keep all English subtitles.”

Subtitle Defaults with Track Selection Behaviour None and the separate Add Foreign Audio Scan checkbox
Review automatic selection and burn-in defaults before choosing and checking the actual tracks on the Subtitles tab. Open full size.
Subtitle in the MKVMP4 decisionConsequence
SRT or supported plain textLeave Burn In off for a selectable track that the player can display.Check language, timing and character encoding in the delivered file.
Styled ASS/SSABurn one track when its layout matters; otherwise accept MP4 text conversion or retain MKV.Soft MP4 conversion retains only basic bold, italic and underline formatting.
Blu-ray PGS bitmap subtitlesBurn the wanted track for MP4, or retain MKV for selectable PGS.HandBrake cannot pass PGS into MP4. Several switchable PGS languages need another delivery arrangement.
DVD VobSub bitmap subtitlesHandBrake 1.11.2 can retain them in MP4; verify player support.If the receiver cannot display them, burning one track gives permanent captions.

The subtitle guide documents burn-in and ASS/SSA conversion. Its older VobSub wording is narrower than the 1.11.2 MP4 subtitle support rules, which include VobSub and omit PGS. Keep those two bitmap types separate when choosing a route.

PGS subtitle choices: permanent burn-in for MP4 or selectable PGS in a compatible MKV player
PGS can be burned into an MP4 picture or kept selectable in MKV. Switchable MP4 captions need a supported subtitle format. Open full size.

For a full subtitle language, leave Forced Only off where applicable. Forced flags can identify just the portions meant to appear over foreign-language dialogue. Foreign Audio Search is useful for that narrower purpose; it isn't a substitute for adding a full known track. If characters are broken or missing in an imported SRT, inspect the selected character encoding and offset before committing a long encode.

Burn-in suits a player that can't display the desired subtitle format, but it commits this copy to one visible language. Keep the MKV when you may later need clean pictures or a different language. An MP4 requirement plus several selectable PGS tracks cannot be solved by checking more subtitle rows.

Handle HDR as a separate output choice

A standard SDR H.264 preset isn't an instruction to preserve every feature of a 10-bit HDR MKV. Decide whether the target needs HDR or SDR before encoding. For HDR delivery, select a compatible 10-bit encoder and check the destination's HDR profile, container and codec support together.

The HDR support table distinguishes HDR10, HDR10+ and supported Dolby Vision paths. Those formats aren't interchangeable, and Dolby Vision behavior depends on the source profile and encoder. On supported HEVC Dolby Vision paths, a profile 7.6 source uses the base layer and converts to 8.1. The documented AV1 output uses profile 10. Retaining an MP4 extension does not establish that every layer or dynamic metadata feature survived.

For a conventional SDR copy, select Filters > Colorspace > BT.709 and inspect an encoded sample on the intended display. HandBrake's Colorspace filter converts and tone-maps the video; leaving it Off keeps the source colorspace. Check bright highlights, faces and shadows. If those look wrong, revisit this conversion before running the full job. An HDR-preserving job should keep the HDR path instead of applying that SDR filter.

Remux compatible tracks when the picture should stay unchanged

For MKV recordings made in OBS Studio, there's a graphical route in the app you already used: File > Remux Recordings, select the recording with the … control, then choose Remux. The OBS recording guide describes this workflow. It repackages suitable recorded streams; it won't make an unsupported video codec play on a receiver that can't decode it.

For someone already using FFmpeg, this documented command pattern copies the first moving video and, if present, the first audio stream into a separate MP4. Uppercase V excludes attached artwork and thumbnails:

ffmpeg -n -i "input.mkv" -map 0:V:0 -map "0:a:0?" -c copy "output.mp4"

Replace the example paths with your own. The explicit stream mapping intentionally leaves out other audio tracks, subtitles and attachments; it is not an archive of the entire MKV. Both selected codecs must work in MP4 and on the receiver. If only the sound is incompatible, an audio conversion with video copy is another muxing workflow; HandBrake will still encode the picture. Use HandBrake when that picture conversion is part of the job.

Encode a sample, then verify the delivered MP4

Choose a separate destination folder and filename. Open Preview and encode a short preview: Windows labels the control Encode Preview, while Mac uses Live Preview. Include motion, detailed texture and a scene where the intended subtitles appear. For testing track selection over a known scene, a short range encode also gives you a small file to inspect.

Open that copy in the receiving player or editor. Inspect the frame edges, detail and motion, switch through the retained audio, and toggle soft subtitles. Test a burned track where it should appear; disabling the player's subtitle display cannot remove text already written into the picture. After the sample meets the requirement, restore the intended full range and confirm Save As. Choose Start Encode on Windows or Start on Mac to write the complete output to that destination.

Symptom after conversionCheckNext action
MP4 has no sound on the TVDoes the retained track use a codec/channel arrangement that TV supports?Make a new copy with a supported AAC track; don't assume a track that plays on the computer will play everywhere.
Wrong language or commentaryWhich source audio row was selected after the preset?Select the intended soundtrack explicitly and verify its playback.
Full subtitles missingIs the full source track present, and is Forced Only filtering it?Add the full track, then choose supported soft output or the correct burn-in route.
MP4 will not open, though the encode completedCodec, profile, bit depth, resolution and frame rate against the receiver's specificationChoose a supported delivery combination and repeat the sample.
The copy is larger or slower to create than expectedWas the aim just a remux? Was quality set unnecessarily high?Use stream copy for compatible unchanged tracks, or revise the encode's quality/size target.
Scan or encode failsThe failing stage and message in the Activity LogFollow the HandBrake error checks instead of changing unrelated settings.

If HandBrake saves .m4v, the MP4 and M4V container is the same. Set the filename to .mp4 when the destination insists on that extension, while retaining MP4 as Format. This is different from renaming an MKV.

Once the full encode finishes, confirm its duration and any byte limit, then play the delivered file again before discarding anything. Keep the original MKV as the source for future changes. The conversion hub covers other source/output combinations when the next job needs a different route.

Filed under Convert video, Getting started