mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-10-19 09:53:18 +00:00
1.1 KiB
1.1 KiB
Installing FFmpeg
-
If you like to include source plugins, merge them before configure for example run tools/merge-all-source-plugins
-
Type
./configure
to create the configuration. A list of configure options is printed by runningconfigure --help
.configure
can be launched from a directory different from the FFmpeg sources to build the objects out of tree. To do this, use an absolute path when launchingconfigure
, e.g./ffmpegdir/ffmpeg/configure
. -
Then type
make
to build FFmpeg. GNU Make 3.81 or later is required. -
Type
make install
to install all binaries and libraries you built.
NOTICE
- Non system dependencies (e.g. libx264, libvpx) are disabled by default.
NOTICE for Package Maintainers
- It is recommended to build FFmpeg twice, first with minimal external dependencies so that 3rd party packages, which depend on FFmpegs libavutil/libavfilter/libavcodec/libavformat can then be built. And last build FFmpeg with full dependencies (which may in turn depend on some of these 3rd party packages). This avoids circular dependencies during build.