Building FFmpeg from source

This page describes the process of configuring and building FFmpeg on supported platforms.

You may need to build FFmpeg when:

  • You need a custom configuration or static build of FFmpeg.
  • FFmpeg builds available online are not suitable for your product.
  • FFmpeg needs to be updated on an existing product between Qt releases.

In these guides, we describe how to build FFmpeg with the same feature support as the FFmpeg binaries that are bundled with the Qt Online Installer. FFmpeg has a wide variety of configuration options to tune the FFmpeg library size, performance, and feature support. To read more about these options, see the FFmpeg Compilation Guide.

Windows

macOS

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.