Short answer: To compress a video with HandBrake on a Mac, open the file, pick the Fast 1080p30 preset (or a preset that matches your source resolution), set Format to MP4, leave the video encoder on H.264 (x264), set Constant Quality to RF 22–24, and click Start. To convert a video (MOV, MKV, AVI, WebM) to MP4, do the same thing: HandBrake always re-encodes, so every compression is also a conversion.
HandBrake is a free, open-source video transcoder for macOS, Windows and Linux, licensed under the GPL and downloaded from handbrake.fr. It has no watermark, no account and no time limit. This guide covers the settings that actually matter when you use it as a HandBrake video compressor or HandBrake video converter: the preset, the RF value, H.264 vs H.265, and audio. Each has a step-by-step. At the end there's an honest section on when a browser tool is the faster choice.
What HandBrake Does (and What It Doesn't)
HandBrake takes almost any video file and encodes it again into a new MP4, MKV or WebM file. That one job covers most of what people need:
- Compress a large screen recording or phone video so it fits email, Slack or an upload limit
- Convert MOV, MKV, AVI or WebM to MP4
- Change the codec from H.264 to H.265 (HEVC), AV1 or VP9
- Downscale 4K to 1080p or 720p
- Cut a range by seconds or frames, and burn in or add subtitles
What it doesn't do is just as useful to know before you start:
- It always re-encodes the video. HandBrake has no "copy the video stream as is" option, so even a simple MOV to MP4 conversion takes encoding time and loses a little quality.
- No GIF and no audio-only output. It can't export a GIF or an MP3.
- No merging. It can't join two clips into one file.
- It's not an editor. There's no timeline, no cuts in the middle, no music or text.
Step 1: Install HandBrake on Mac
- Go to handbrake.fr and download the macOS version. Only download it from the official site or the project's GitHub releases page. In 2017 one of HandBrake's download mirrors was compromised and briefly served a malware-infected Mac build, so third-party download sites aren't worth the risk.
- Open the
.dmgand drag HandBrake into Applications. - Launch it. If macOS asks whether you want to open an app downloaded from the internet, click Open.
- HandBrake opens a file picker. Choose your video, or close the picker and drag a file onto the window later.
You don't need to grant Screen Recording or Microphone permission. HandBrake only reads files. If your videos are in a protected folder like Desktop or Documents, macOS may ask once whether HandBrake can access it.
Sponsored by the makers
Tired of boring screen recordings?
Try Screen Charm.
Auto-zoom, captions, motion blur, camera overlay and a vertical layout for Shorts. Record once, export a polished video.
Screen Charm is a native macOS app.
Step 2: Choose the Right HandBrake Preset
The Preset menu in the toolbar sets everything at once: format, encoder, quality, resolution and audio. Start from a preset, then change only what you need.
HandBrake groups presets into categories. The ones you'll actually use:
| Category | What it's for | Good starting preset |
|---|---|---|
| General | Everyday compression, MP4 output, H.264 | Fast 1080p30 (the default) or HQ 1080p30 Surround |
| Web | Uploads to YouTube, Vimeo, Discord, email size caps | Creator 1080p60 for screen recordings at 60 fps |
| Devices | Playback on a specific device (Apple, Android, Chromecast, consoles) | The preset for your device |
| Matroska | MKV output | Only if you need MKV |
| Hardware | Fast encodes on your Mac's built-in media engine | The VideoToolbox preset for your resolution |
How to pick:
- Match the source resolution or go lower, never higher. A 1080p preset on a 4K screen recording downscales it, which is usually what you want for sharing. A 4K preset on a 1080p video makes the file bigger for nothing.
- Match the frame rate. Screen recordings and game captures are often 60 fps. The "30" presets cap the frame rate at 30, which halves the frames and shrinks the file, but scrolling and cursor motion look less smooth. Use a 60 preset if smoothness matters.
- Speed vs size. "Very Fast" and "Fast" presets encode quickly with slightly larger files. "HQ" and "Super HQ" take longer and squeeze more quality into each megabyte.
Step-by-step:
- Open your video in HandBrake (File → Open Source, or drag it onto the window).
- Click the Preset menu in the toolbar.
- Choose General → Fast 1080p30 for a quick, small, compatible MP4. For a 60 fps screen recording, try Web → Creator 1080p60 instead.
- In the Summary tab, set Format to MP4 and check Web Optimized if the file will be played in a browser. That moves the index to the start of the file so playback can begin before the whole file downloads.
Step 3: Set the RF Value (Constant Quality)
The single most important setting is in the Video tab: Quality. Leave it on Constant Quality and use the RF slider.
RF (rate factor) sets how much detail the encoder keeps:
- Lower RF = higher quality and a bigger file.
- Higher RF = more compression and a smaller file.
- Each step is small. Moving a few points changes file size noticeably, and moving 6 points roughly halves or doubles the bitrate with the x264 encoder.
HandBrake's own documentation suggests these ranges for the x264 and x265 software encoders:
| Source resolution | Suggested RF range |
|---|---|
| 480p / 576p | 18–22 |
| 720p | 19–23 |
| 1080p | 20–24 |
| 2160p (4K) | 22–28 |
For screen recordings, sit at the lower end of the range. Small text, code and thin UI lines are the first things to smear when the RF is too high, and there's no way to get them back. A 1080p tutorial usually looks clean at RF 20–22. A talking-head or phone video can go higher.
Step-by-step:
- Open the Video tab.
- Make sure Constant Quality is selected (not Avg Bitrate).
- Set RF to 22 for 1080p, or 24 for a smaller file.
- Set Framerate (FPS) to Same as source with Variable Framerate unless a platform needs a constant rate.
- Before encoding the whole file, test it: in the range controls at the top, switch the range to Seconds and encode just 20–30 seconds. Open the result in QuickTime, zoom into some text, and check the size. Adjust and repeat.
What about a target file size? If you must hit an exact size (say, 25 MB for an upload limit), switch to Avg Bitrate and work out the bitrate from the length of your video. Our video bitrate calculator helps with the math. Check Multi-Pass Encoding for better quality at that bitrate. Constant Quality is still the better default when you only want "smaller but still good".
A note on Apple VideoToolbox encoders: the H.264 (VideoToolbox) and H.265 (VideoToolbox) encoders use your Mac's hardware and are much faster, especially on Apple Silicon. Their quality slider doesn't follow the RF scale above, and at the same file size they usually look a little worse than x264 or x265. Use them when speed matters more than the last bit of quality, and test a short range first.
Step 4: Choose H.264 vs H.265 (HEVC)
Pick the codec in the Video tab under Video Encoder.
| H.264 (x264) | H.265 / HEVC (x265) | |
|---|---|---|
| File size at similar quality | Larger | Noticeably smaller |
| Encoding speed | Fast | Much slower with x265 software encoding |
| Plays in | Practically everything: browsers, Windows, Android, old Macs, social apps | Recent Apple devices, most modern phones and TVs; browser and older-PC support is patchier |
| Best for | Sharing, web, email, Slack, uploads, anything you send to other people | Archiving on your own Apple devices, large libraries, 4K |
The practical rule: send H.264, keep H.265. If someone else will open the file and you don't know what they use, H.264 just plays. If you're shrinking a folder of 4K recordings to keep on your own Mac, iPhone or Apple TV, H.265 saves real disk space.
Step-by-step for H.264:
- Video tab → Video Encoder → H.264 (x264).
- Encoder Preset: leave it on fast or medium. Slower presets give slightly smaller files for the same RF but take longer.
- Profile: High (or Auto). Level: Auto.
- RF 20–24 as above.
Step-by-step for H.265:
- Video tab → Video Encoder → H.265 (x265), or H.265 (VideoToolbox) for a hardware encode that's far faster.
- With x265, start at an RF one or two points higher than you'd use for H.264. It holds detail better at the same number.
- Keep Format on MP4 for Apple devices. Expect the x265 encode to take several times longer than x264 on the same Mac.
Step 5: Set the Audio
Audio is a small part of the file, but the wrong settings can drop a track or make your voice sound thin. Open the Audio tab.
- Check the track list. HandBrake picks tracks based on the preset's selection rules. If your source has two tracks (for example, a mic track and a system audio track from a screen recorder), make sure both are listed, or that the one you want is first.
- Codec: choose AAC (CoreAudio) on Mac. It's Apple's AAC encoder and plays everywhere. AAC (avcodec) also works.
- Mixdown: Stereo for most videos. Mono is fine for voice-only tutorials and saves a few kilobytes.
- Samplerate: Auto.
- Bitrate: 160 kbps for music or mixed audio (the default in most presets). 96–128 kbps is plenty for a voice-over.
- Passthru: if the source audio is already AAC, the AAC Passthru option copies it without re-encoding. Use it when you don't need to change anything about the audio.
If a converted file has no sound, the usual cause is that the track wasn't added in this tab, or the preset picked a different language track. Click Tracks → Add All Tracks, or add the right one by hand.
Step 6: Start the Encode and Check the Result
- Choose where to save with the Save As field and Browse button at the bottom of the window. Give the file a new name so you don't overwrite the original.
- Click Start in the toolbar. To process several files, click Add to Queue for each one, then start the queue.
- When it finishes, compare the two files in Finder (File → Get Info shows the size), and play the new one end to end. Look at text, fast motion and the first and last seconds, where audio sync problems show up first.
How to Convert Video with HandBrake (MOV, MKV, AVI, WebM to MP4)
Converting is the same workflow, with the focus on the container and compatibility instead of size.
- Open the MOV, MKV, AVI or WebM file.
- Pick General → Fast 1080p30 (or a preset matching the source resolution and frame rate).
- Summary tab → Format: MP4. Check Web Optimized for web playback.
- Video tab → H.264 (x264) for maximum compatibility, RF 20–22 to keep quality close to the original.
- Audio tab → AAC (CoreAudio), Stereo, 160 kbps.
- Subtitles tab → add soft subtitles from an MKV, or check Burn In if the player won't show them.
- Click Start.
Two things to expect: the conversion takes as long as an encode (HandBrake re-encodes the video even when the codec is already H.264), and the MP4 will often be smaller than an iPhone or QuickTime MOV, because those are recorded at a high bitrate. If you want a converter list beyond HandBrake, see our best MOV converters for Mac.
Recommended HandBrake Settings for Common Jobs
| Job | Preset | Encoder | RF | Audio |
|---|---|---|---|---|
| Share a 1080p screen recording | Fast 1080p30, or Creator 1080p60 for 60 fps | H.264 (x264) | 20–22 | AAC 128 kbps |
| Shrink a 4K recording for Slack or email | Fast 1080p30 | H.264 (x264) | 22–24 | AAC 128 kbps |
| Archive 4K video on your Mac | HQ 2160p60 4K HEVC Surround, or a Hardware preset | H.265 (x265 or VideoToolbox) | 22–26 | AAC 160 kbps or Passthru |
| Convert MKV to MP4 for an iPhone | Fast 1080p30, or a Devices preset | H.264 (x264) | 20–22 | AAC 160 kbps |
| Fastest possible encode | A Hardware (VideoToolbox) preset | H.264 or H.265 (VideoToolbox) | Test a short range | AAC 160 kbps |
Common HandBrake Problems on Mac
The output file is bigger than the original
The source was already efficiently compressed (an MP4 from a phone app or a streaming download), and your RF is too low or your preset resolution is higher than the source. Raise the RF by 2–4 and pick a preset at or below the source resolution.
Text in my screen recording is blurry
The RF is too high, or the preset downscaled the video. Lower the RF to 20, keep the source resolution in the Dimensions tab, and avoid VideoToolbox for text-heavy recordings.
The encode is very slow
You're probably on x265 with a slow encoder preset. Switch to H.264 (x264) with the fast preset, or use a VideoToolbox encoder. Close other heavy apps while it runs.
The converted video has no sound
Check the Audio tab before you encode. If it's empty, choose Tracks → Add All Tracks.
When a Browser Tool Is Faster Than HandBrake
HandBrake is the better tool for big files, batches and fine control. It runs natively, uses every core of your Mac, and has no file size limit. But for a single quick job, installing it and walking through six tabs is often slower than the job itself. Be honest about which case you're in:
- "I just need this MOV to be an MP4." HandBrake re-encodes the whole video. Our MOV to MP4 converter first tries to copy the existing video and audio streams into an MP4 container without re-encoding, which takes seconds and loses no quality when the codecs are MP4-compatible.
- "It has to be under 25 MB." HandBrake makes you calculate a bitrate. The video compressor lets you type a target size in MB or pick a quality preset.
- "I need a WebM, GIF or a different format." HandBrake can't make GIFs. The video converter handles MP4, MOV, MKV, WebM and GIF in one place.
- "I'm on a work laptop where I can't install apps." The browser tools run locally in the page. Nothing is uploaded, and there's no sign-up or watermark.
Where the browser loses: browser-based encoding is slower than native HandBrake on long or 4K files, and very large files can run out of browser memory. For a 2-hour 4K recording or a folder of 50 videos, use HandBrake.
Avoid the Compression Step: Record Smaller Files to Begin With
A lot of HandBrake jobs start with a screen recording that came out huge. QuickTime and the Shift-Command-5 toolbar save high-bitrate MOV files, and a few minutes of Retina screen can run to hundreds of megabytes.
Screen Charm records your Mac screen and exports an MP4 directly, at 4K or lower, with automatic zoom on clicks, captions and a webcam overlay. Because the file is already an MP4 at a sensible size, most recordings can be shared or uploaded without a trip through HandBrake. It costs $19/month or $89/year, with a free download to try it. For more ways to cut size, see how to reduce video file size on Mac and the best video format for screen recording.
HandBrake Video Compressor FAQ
Is HandBrake free and safe?
Yes. HandBrake is free and open source under the GPL, with no ads, watermark or paid tier. It's safe when you download it from handbrake.fr or the project's official GitHub page. Avoid third-party download sites.
What is the best HandBrake preset for compressing video?
For most videos, General → Fast 1080p30 with RF 22 gives a small, compatible MP4. For 60 fps screen recordings, use Web → Creator 1080p60. For the smallest files on Apple devices, switch the encoder to H.265.
What RF should I use in HandBrake?
Use RF 20–24 for 1080p, 19–23 for 720p and 22–28 for 4K with the x264 or x265 encoders. Lower numbers mean better quality and bigger files. For screen recordings with small text, stay near the low end.
Should I use H.264 or H.265 in HandBrake?
Use H.264 for anything you share, because it plays everywhere. Use H.265 when you're keeping files on your own Apple devices and want them smaller. Software x265 encoding is much slower than x264.
Can HandBrake convert MOV to MP4?
Yes. Open the MOV, set Format to MP4 in the Summary tab, and click Start. HandBrake re-encodes the video while it converts. If you only need the container changed, a remux tool such as our free MOV to MP4 converter is faster.
Why is my HandBrake file bigger than the original?
The source was already well compressed, or your RF is too low for it. Raise the RF a few points and use a preset at or below the source resolution.
Can HandBrake compress video without losing quality?
No lossy encode is perfectly lossless, but at RF 18–20 most people can't see a difference from the source, and the file is usually still smaller than a high-bitrate MOV.
Does HandBrake work on Apple Silicon Macs?
Yes. HandBrake runs natively on Apple Silicon and Intel Macs, and its VideoToolbox encoders use the Mac's hardware media engine for fast H.264 and H.265 encodes.


