1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-08 13:22:53 +02:00
FFmpeg/INSTALL.md
Michael Niedermayer b580a59e6d
INSTALL: explain the circular dependency issue and solution
Sponsored-by: Sovereign Tech Fund
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit df00705e00)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2024-12-24 00:32:31 +01:00

1.0 KiB

#Installing FFmpeg:

  1. Type ./configure to create the configuration. A list of configure options is printed by running configure --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 launching configure, e.g. /ffmpegdir/ffmpeg/configure.

  2. Then type make to build FFmpeg. GNU Make 3.81 or later is required.

  3. 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 dependancies (which may in turn depend on some of these 3rd party packages). This avoids circular dependencies during build.