VidSlim
Video guides

HandBrake Video Compression: Settings, File Size, and Quality Checks

HandBrake is a desktop app for making a new video copy. Choose settings for your destination, preview a difficult passage, then check the finished file before sharing it.

Based on official HandBrake documentation reviewed ; desktop UI and sample encodes were not tested for this guide.

1. Decide what the smaller copy must do

Keep your original in a separate location. Write down the receiving app's supported container and codecs, any size limit, and the details that must remain readable or audible.

  • A smaller copy, with room to vary: start with a preset and Constant Quality, then compare the result.
  • A hard upload limit: estimate an Average Bitrate budget that includes every audio track and leaves space for overhead.
  • A specific player: check the whole format combination. The MOV vs MP4 guide explains why an extension alone does not establish compatibility.

2. Open the source and set up the desktop job

Get the app from HandBrake's official downloads page, which listed version 1.11.2 when reviewed. Controls and their positions can differ by operating system and version; the linked documentation uses the moving latest branch.

  1. Open Source: select the original video. If it contains multiple titles, choose the intended clip with Title.
  2. Preset: choose one suited to the destination. The official quick start uses Fast 1080p30 as an example. Inspect its effect on a 4K or 60fps source; a preset can change dimensions and frame rate.
  3. Output settings: check the container, dimensions and frame rate before proceeding. Do not assume HDR colour or multichannel audio will be preserved by the preset.
  4. Video: confirm the encoder, then select Constant Quality or Average Bitrate using the sections below.
  5. Audio: inspect each selected track, its codec, mixdown and bitrate or quality setting. Passthru copies supported source audio; it still takes space. Auto Passthru can use a fallback encoder when the source format or output container is unsupported.
  6. Save As / Destination: give the copy a new name and use Browse... to confirm its folder. Keep the original separate.
  7. Continue to preview, start and check the output before sending it.

Sources: Quick start, Audio quality and Audio codecs. The two audio references are marked as drafts.

3. Use Constant Quality when size can vary

Constant Quality aims for a quality level, so its finished size is unknown in advance. Begin with the preset's setting and adjust in small steps after previewing.

For x264 or x265 at 1080p, HandBrake's official starting range is RF 20–24. For example, if you explicitly choose x264 for a 1080p copy, use that range as a starting point rather than a promise of acceptable quality. Raising RF slightly with these encoders lowers quality and may reduce size; compare faces, moving edges and small text.

RF values are not interchangeable between encoders, including x264 and x265. Some hardware encoders use the opposite numerical direction. A complex or grainy source, or one already efficiently compressed, can still produce a large output. There is no universal RF, compression percentage or lossless result promised here.

Source: Adjusting quality and encoder quality scales.

4. Estimate an Average Bitrate for a hard limit

In Video, Average Bitrate lets you set a video bitrate budget. The official mode reference recommends multi-pass encoding for this mode; use that option when available for your selected encoder. This is an estimate, not an exact file-size guarantee.

Illustrative arithmetic, not a measured encode: 60 seconds, 10 decimal MB limit, one 128 kbps audio track
Budget stepCalculation
Total bits10,000,000 bytes × 8 = 80,000,000 bits
Total bitrate80,000,000 ÷ 60 ÷ 1,000 ≈ 1,333.33 kbps
After audio1,333.33 − 128 ≈ 1,205.33 kbps before overhead and margin

Set the video budget below about 1,205 kbps in this example to leave space for container overhead and a safety margin. That number is not a safe exact setting. Add the bitrates of all audio tracks; copied audio is not free. Recheck the finished file's actual byte size against the destination's units and limit, then lower the budget and retry if necessary.

If the available bitrate makes important details unreadable, shorten the clip, reduce dimensions where appropriate, or increase the allowed size. Keep the original for each attempt.

Source: Constant Quality vs Average Bit Rate (draft). This guide uses its mode distinction and multi-pass advice, rather than its older RF examples.

5. Preview, start, then validate the exact copy

  1. Open Preview. Set Position and Duration around a difficult passage, then choose Live Preview. Inspect motion, faces and small text, and listen to the sound. Repeat at another passage if needed.
  2. Adjust settings if the preview is unsuitable. A good short sample does not validate the whole video.
  3. Confirm the output name and folder, close Preview, then select Start to encode the full job.
  4. Open that finished destination file. Check actual size, duration, resolution, expected audio tracks, lip sync, subtitles and colour. Inspect the beginning, middle and end, and compare important details with the original.
  5. Play the same copy in the receiving player or check it at the destination site before sharing. A completion notification alone does not prove the copy meets the limit or your quality needs.

Sources: Previewing your settings and starting the full encode.

6. Check a failed result before choosing the next tool

The output is larger
Check the quality mode and all audio tracks. Constant Quality does not cap bytes; revisit the bitrate budget when the destination has a hard limit.
There is no sound
Reopen Audio and check the selected source track, output codec and any passthru fallback. Test the finished copy in the intended player.
Small text is blurry
Check whether the preset reduced dimensions. Compare a preview with a higher quality setting or a larger size budget before encoding again.
The file will not play
Compare its container, video codec and audio codec with the receiving device's requirements. A different extension alone will not fix unsupported tracks.

VidSlim is a separate tool that runs FFmpeg WebAssembly locally in your browser. If you prefer setting a size target in the browser, try the VidSlim video compressor and check its downloaded output.