> ## Content Index
> Fetch the complete content index at: https://handbrakeguide.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# HandBrake vs FFmpeg: choose by the job, quality and control
- URL: https://handbrakeguide.com/handbrake-vs-ffmpeg/
- Published: 2026-11-23T15:13:13.000Z
- Updated: 2026-12-04T21:58:15.000Z
- Description: Choose the operation your file needs: a preset-based transcode, a stream copy, an audio-only export or a multi-input processing chain.
- Author: Lucas Bennett
- Tags: Command line

Choose HandBrake for a smaller playback or upload copy when you want to review presets, picture settings and queued jobs in a desktop interface. Choose FFmpeg for copying existing streams into another container, extracting audio, or connecting several inputs and filters. I'd start an ordinary delivery encode in HandBrake because the preset and preview make the important choices easier to inspect; I'd use FFmpeg when the job needs stream-level control.

Both tools have a command line, and neither app name guarantees a better picture or a faster encode. First decide what must change in the file, then compare settings that perform the same work.

## HandBrake vs FFmpeg: choose the operation

| What you need                                      | My starting choice              | What to check                                                           |
| -------------------------------------------------- | ------------------------------- | ----------------------------------------------------------------------- |
| A smaller, compatible viewing copy                 | HandBrake                       | Destination preset, quality, dimensions, audio and subtitle rows        |
| The same encoded picture in a different container  | FFmpeg streamcopy               | Whether the container and receiving player support every selected codec |
| An audio-only file                                 | FFmpeg                          | Wanted soundtrack, audio codec and output container                     |
| Several prepared delivery encodes                  | HandBrake queue or HandBrakeCLI | Per-file track selection, unique output names and a checked sample      |
| Several inputs, overlays or an audio-mixing chain  | FFmpeg                          | Filtergraph connections, mapped outputs and required encoders           |
| Detailed track or metadata handling after encoding | FFmpeg                          | Explicit stream selection and what the output format can retain         |

A container such as MP4 or MKV holds video, audio and other streams. Changing the wrapper can leave the encoded picture intact. Changing the picture's resolution, codec, framing or burned-in subtitles needs a video processing and encoding stage.

[![Two processing paths: FFmpeg copies compatible encoded streams, while HandBrake or FFmpeg decodes and encodes video when the picture or codec must change](https://storage.ghost.io/c/8e/77/8e778fda-def0-4fcb-ab82-ef7dd5ea524f/content/images/2026/11/copy-or-encode.webp)](https://storage.ghost.io/c/8e/77/8e778fda-def0-4fcb-ab82-ef7dd5ea524f/content/images/2026/11/copy-or-encode.webp?ref=handbrakeguide.com) 

Keep compatible encoded streams when only the container needs to change. A picture-changing filter needs decoded frames and a new encode. [Open full size](https://storage.ghost.io/c/8e/77/8e778fda-def0-4fcb-ab82-ef7dd5ea524f/content/images/2026/11/copy-or-encode.webp?ref=handbrakeguide.com).

## Is HandBrake just an FFmpeg interface?

HandBrake uses FFmpeg libraries, but it does not simply translate its buttons into an `ffmpeg` command. A [HandBrake maintainer identifies libavformat, libavcodec and libavfilter](https://github.com/HandBrake/HandBrake/discussions/7766?ref=handbrakeguide.com) as shared components and distinguishes them from the FFmpeg command line application. HandBrake has its own processing pipeline and interface.

That shared code helps explain the broad input support. The [current source-format documentation](https://github.com/HandBrake/HandBrake-docs/blob/3553ecc22468475017614d6e0e79e3e095f7c41c/source/docs/en/latest/technical/source-formats.markdown?ref=handbrakeguide.com) covers common camera files, recordings and disc structures. An editing project still needs to be exported to a media file first, and HandBrake does not circumvent disc copy protection or DRM.

Input support and output support are different. Current HandBrake writes MP4, MKV, WebM and MOV; [version 1.11 added MOV output, ProRes and DNxHR encoders](https://github.com/HandBrake/HandBrake/releases/tag/1.11.0?ref=handbrakeguide.com). Advice that limits it to MP4 and MKV misses those additions. FFmpeg's available formats and encoders depend on the build, so check the package you will actually use rather than assuming that every binary includes every library.

## When HandBrake is the easier choice

For an ordinary viewing copy, HandBrake puts the destination decisions in one place. A [preset groups settings for a device or delivery purpose](https://github.com/HandBrake/HandBrake-docs/blob/3553ecc22468475017614d6e0e79e3e095f7c41c/source/docs/en/latest/workflow/select-preset.markdown?ref=handbrakeguide.com); its name is a starting point, followed by a check of the source and receiver.

1. **Open the source and choose the title.** Keep the original separate from the output. A disc or folder may contain several titles; confirm that the selected one is the clip you intend to deliver.
2. **Select the destination preset before making adjustments.** Review the container, dimensions and frame rate. A 1080p30 recipe can change a higher-resolution or higher-frame-rate source, which may be useful for delivery but would make an unmatched speed comparison.
3. **Inspect Video, Audio and Subtitles.** Confirm the encoder and quality method, the wanted language tracks, channel layout and whether subtitles will be selectable or burned in. An audio passthru row does not imply video passthrough.
4. **Encode a short preview.** Open Preview, choose a representative position and duration, and run its preview encode. Include motion, fine detail or a difficult dark scene when those matter to the source. The [preview workflow](https://github.com/HandBrake/HandBrake-docs/blob/3553ecc22468475017614d6e0e79e3e095f7c41c/source/docs/en/latest/workflow/preview-settings.markdown?ref=handbrakeguide.com) produces a short encoded sample to inspect.
5. **Queue the reviewed job.** Use Add to Queue, give the next job a distinct destination, then inspect the [queue before starting it](https://github.com/HandBrake/HandBrake-docs/blob/3553ecc22468475017614d6e0e79e3e095f7c41c/source/docs/en/latest/advanced/queue.markdown?ref=handbrakeguide.com). A queued job has its own settings; changing the main window does not review every earlier job.

[![HandBrake Summary with the chosen preset, MP4 output container and H.264 and AAC tracks](https://storage.ghost.io/c/8e/77/8e778fda-def0-4fcb-ab82-ef7dd5ea524f/content/images/2026/11/hb-encode-summary.webp)](https://storage.ghost.io/c/8e/77/8e778fda-def0-4fcb-ab82-ef7dd5ea524f/content/images/2026/11/hb-encode-summary.webp?ref=handbrakeguide.com)

Summary shows the container and selected output streams after you apply a preset. [Open full size](https://storage.ghost.io/c/8e/77/8e778fda-def0-4fcb-ab82-ef7dd5ea524f/content/images/2026/11/hb-encode-summary.webp?ref=handbrakeguide.com).

HandBrake encodes the video in its output job. [Its stated scope excludes video passthrough and audio-only output](https://github.com/HandBrake/HandBrake-docs/blob/3553ecc22468475017614d6e0e79e3e095f7c41c/source/docs/en/latest/introduction/about.markdown?ref=handbrakeguide.com). Supported audio passthru copies a soundtrack while the video is encoded. That is useful for preserving an appropriate audio track, but it is a different operation from copying the whole original file's streams.

If your target is a strict upload-size limit, use the duration and combined video/audio bitrate budget in the [file-size reduction guide](https://handbrakeguide.com/handbrake-video-size-reduction/). A constant-quality number cannot promise a particular final size across different videos.

## When FFmpeg gives you the control you need

### Inspect the streams before selecting them

Start with the input's actual contents. [ffprobe reports stream and container information](https://ffmpeg.org/ffprobe.html?ref=handbrakeguide.com); this command prints both as JSON:

```
ffprobe -v error -show_streams -show_format -of json "input.mkv"
```

Look for each stream's codec type and name, video dimensions and pixel format, audio channels, and language or title tags where present. The first audio stream may be commentary rather than the wanted language. Use the reported information to select a track deliberately, then repeat the inspection on the output.

### Remux compatible video and audio without a new encode

FFmpeg's [streamcopy path copies encoded packets without decoding or encoding them](https://ffmpeg.org/ffmpeg.html?ref=handbrakeguide.com#Streamcopy). It avoids another encoding loss and usually involves far less processing than a transcode. It does not make an unsupported codec playable just because the filename now ends in `.mp4`.

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

This selects the first video and first audio stream from input zero. Uppercase `V` excludes attached pictures, thumbnails and cover art. Both must exist and be suitable for MP4 and the receiving player. `-n` refuses to overwrite an existing output. The command intentionally omits other audio tracks, subtitles and attachments; select additional wanted streams explicitly after checking their compatibility.

`-map` selects streams; `-c copy` describes how the selected streams are handled. The [stream-selection documentation](https://ffmpeg.org/ffmpeg.html?ref=handbrakeguide.com#Stream-selection) explains why relying on automatic selection can leave out wanted tracks. Conversely, copying every stream with `-map 0` can fail when the target container cannot store an attachment or subtitle type. I prefer the explicit two-stream example for a simple delivery copy because its omissions are visible.

If only the audio is incompatible, keep the compatible video on a copy path and encode the audio to a supported format. If you need cropping, scaling or another picture-changing filter, decode and encode the video. The [MKV-to-MP4 guide](https://handbrakeguide.com/handbrake-mkv-to-mp4/) explains this decision for the common container-change case.

### Extract one soundtrack

For a source whose first audio stream is AAC, this copies that stream into an M4A file and excludes video:

```
ffmpeg -n -i "input.mp4" -map 0:a:0 -vn -c:a copy "soundtrack.m4a"
```

Check the codec first: changing the extension does not turn another audio codec into AAC or MP3\. Choose a compatible container for the existing codec, or encode the audio into the required format. Here `-vn` is an output option that disables video, and `-c:a copy` keeps the selected encoded audio. The required `-map 0:a:0` fails if that audio stream is absent instead of quietly delivering a file without the soundtrack you expected.

### Connect multiple inputs

FFmpeg's [complex filtergraphs connect multiple inputs, filters and outputs](https://ffmpeg.org/ffmpeg.html?ref=handbrakeguide.com#Complex-filtergraphs). An overlay or audio mix is a reason to use that processing model. HandBrake's queue processes separate jobs; it does not turn several clips into one edited sequence. For a timeline with repeated editorial decisions, use a video editor rather than building an unnecessarily complicated conversion job.

## Subtitles and metadata can decide the choice

Before switching tools, list what the delivery must retain: alternate audio, surround channels, selectable subtitles, chapters, language tags and any metadata the receiving application needs. The video may look correct while the delivered file still fails its purpose.

HandBrake supports both selectable and burned-in subtitle paths, with limits set by the subtitle type and container. For example, [PGS subtitles can pass through in MKV but cannot pass through into MP4](https://github.com/HandBrake/HandBrake-docs/blob/3553ecc22468475017614d6e0e79e3e095f7c41c/source/docs/en/latest/advanced/subtitles.markdown?ref=handbrakeguide.com). Burning them into the picture makes them permanent and requires video encoding. Styled ASS/SSA converted to a simpler text format can lose styling; do not assume every subtitle is forced into SSA or that changing tools removes the container restriction.

For metadata, HandBrakeCLI offers `--keep-metadata` for common source metadata. FFmpeg allows more explicit mapping and editing. Its [metadata mapping rules](https://ffmpeg.org/ffmpeg.html?ref=handbrakeguide.com) distinguish global, stream and chapter metadata: `-map_metadata 0` defaults to global metadata from input zero. It does not mean that every camera-specific field, stream tag or HDR property is preserved in every output format.

Keep HDR handling separate from ordinary descriptive tags. Matching a title tag says nothing about tone mapping, bit depth or HDR signalling. Check the delivered file and the receiving app's interpretation whenever those properties matter.

## Which gives better quality or smaller files?

The encoder and its complete configuration determine the compression trade-off. HandBrake and FFmpeg can expose the same encoder family, but a similarly named quality control or preset does not establish an identical pipeline. A smaller result can come from discarded detail, fewer frames, different audio or missing tracks.

[HandBrake's quality guidance explicitly separates encoder quality scales](https://github.com/HandBrake/HandBrake-docs/blob/3553ecc22468475017614d6e0e79e3e095f7c41c/source/docs/en/latest/workflow/adjust-quality.markdown?ref=handbrakeguide.com). An x264 RF value is not a quality equivalent for x265, SVT-AV1 or a hardware encoder. CQ and constant-QP modes also need to be matched by what they do, rather than by a shared number.

For a useful comparison, align these settings and inspect the actual output:

- **Source and range:** the same input file, start/end and frame count.
- **Geometry:** crop, output dimensions, pixel aspect ratio and scaling method.
- **Picture processing:** deinterlacing, denoising, sharpening, colour conversion and HDR-to-SDR handling.
- **Timing and pixel format:** frame-rate policy, 8-bit versus 10-bit output, chroma format and colour signalling.
- **Encoder:** the implementation and version, software versus hardware, rate-control mode, quality or bitrate, preset, tune, keyframe interval and relevant lookahead settings.
- **Other streams:** the same audio, channel layout, bitrate or copy operation, subtitles and chapters.

Save the HandBrake activity log and FFmpeg command/version alongside the sample. If two outputs differ, work through those differences before replacing one app. Compare motion and difficult scenes at the intended viewing size, then weigh picture quality, file size and time together. A single screenshot or smaller file is insufficient evidence of a better encode.

## Speed tests: what the published numbers show

[HandBrake's performance guide](https://github.com/HandBrake/HandBrake-docs/blob/3553ecc22468475017614d6e0e79e3e095f7c41c/source/docs/en/latest/technical/performance.markdown?ref=handbrakeguide.com) shows how resolution, filters, encoder settings and audio can change processing time. Hardware support adds another condition: decoding, filtering and encoding are separate stages, and a hardware video encoder does not establish that every stage uses the GPU.

Two published comparisons illustrate why the conditions matter. Their workloads are different, so the measurements stay separate.

| Published workload                                                                                                                                                   | Reported result                                                               | Conditions affecting the comparison                                                                                                                                                                 |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Caspershire, February 2020](https://meta.caspershire.net/hevc-nvenc-handbrake-ffmpeg/?ref=handbrakeguide.com): 720p H.264 at 24 fps to HEVC using a GTX 1050 Ti     | FFmpeg: 94.02 seconds, 389 MB. HandBrakeCLI: 99.15 seconds, 327 MB.           | Ryzen R5 1400, Ubuntu 18.04; FFmpeg 3.4.6 for the NVENC run; HandBrake snapshot 20190914125452\. Defaults, audio/subtitle handling and MP4/MKV containers differed. No picture-quality measurement. |
| [Apple M4 report, August 2025](https://github.com/HandBrake/HandBrake/discussions/7142?ref=handbrakeguide.com): 4K H.264 Tears of Steel to 1080p HEVC, 17,616 frames | HandBrake GUI: about 46 seconds, about 380 fps. FFmpeg: 121 seconds, 145 fps. | HandBrake Hardware preset versus FFmpeg VideoToolbox decode/scale, quality 27 and copied audio. Full HandBrake settings and app versions were not supplied. No picture-quality measurement.         |

The first comparison's quicker output was also larger. In the M4 discussion, the poster later reported matching FFmpeg's frame rate after changing speed-related flags. A maintainer clarified in June 2026 that VideoToolbox speed priority is controlled by the Video tab's encoder preset slider and RealTime is always false. The earlier explanation of those flags should not become a current tuning recipe.

I'd choose neither application as a universal speed winner from these results. They show that different processing choices can reverse the apparent winner. For your source, compare matched jobs and usable output; a fast streamcopy and a full transcode answer different questions.

## Both can automate a folder of work

HandBrakeCLI can use a named preset, import a JSON preset, or import a GUI-created queue. Its [command line reference](https://github.com/HandBrake/HandBrake-docs/blob/3553ecc22468475017614d6e0e79e3e095f7c41c/source/docs/en/latest/cli/command-line-reference.markdown?ref=handbrakeguide.com) documents these routes and warns that available options vary with the installed version, operating system and hardware.

```
HandBrakeCLI -i "input.mkv" -o "delivery.mp4" -Z "Fast 1080p30"
```

This requests a preset-based transcode, not a remux or a settings-equivalent replacement for the FFmpeg copy command. The preset name is case-sensitive. Check `HandBrakeCLI --preset-list` and `HandBrakeCLI --help` on the intended machine, use an unused output path, and verify the preset's frame-rate, dimensions and track choices before repeating it.

FFmpeg is convenient when the repeated job needs explicit stream rules, filtering or several outputs. Option order matters: most options apply to the next input or output. In the examples above, the maps and codec choices come after the input and before the output. Keep input and output directories separate so a folder loop does not discover its own generated files. Treat a missing required soundtrack or failed encode as an error to investigate.

Download HandBrake from its [official project](https://handbrake.fr/?ref=handbrakeguide.com). For FFmpeg, the [official download page links executable builds and distribution packages](https://ffmpeg.org/download.html?ref=handbrakeguide.com); the project itself provides source code. Record the binary version and build capabilities when reproducibility matters.

## Check one complete delivery before the batch

Open the finished sample in the application or device that will receive it. Check framing, aspect ratio, motion and colour, select each required audio/subtitle track, and confirm seeking and duration. Inspect the output's codec, dimensions and tracks with ffprobe when those properties form part of the delivery requirement.

[![HandBrake macOS Preview window with Live Preview and the sample position slider](https://storage.ghost.io/c/8e/77/8e778fda-def0-4fcb-ab82-ef7dd5ea524f/content/images/2026/11/hb-trim-preview.webp)](https://storage.ghost.io/c/8e/77/8e778fda-def0-4fcb-ab82-ef7dd5ea524f/content/images/2026/11/hb-trim-preview.webp?ref=handbrakeguide.com)

Compare both tools at the same source position and play the exported samples in the intended player. [Open full size](https://storage.ghost.io/c/8e/77/8e778fda-def0-4fcb-ab82-ef7dd5ea524f/content/images/2026/11/hb-trim-preview.webp?ref=handbrakeguide.com).

Then process one complete file and inspect its beginning, middle and end before committing the folder. A short preview helps choose settings; it cannot prove that every part of a long file or every other source will decode correctly. Retain the originals until the delivery copies have passed these checks.

For most preset-based viewing copies, I'd keep HandBrake's review-and-queue workflow. For compatible stream copying, audio extraction or a precise processing chain, I'd use FFmpeg. They can also work together: encode a picture once, then copy compatible streams during a finishing step instead of adding an unnecessary second video encode.