Skip to content

opcodevoid/ffmpeg-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modular FFmpeg builder

This builder will create a shared FFmpeg build with statically linked libraries. It's a multi-file build script, where each library is responsible for its compilation process and its dependencies. The compilation process of a library is defined in its own file. This makes the builder easy to maintain.

Options

-h,  --help               print this help.
-i,  --prefix             installation directory.
-p,  --profile            target os profile, see below.
-l,  --libs               space separated list of libraries to include into FFmpeg [optional].

Profiles

Profile Toolchain
linux-x86
linux-x86_64
Linux native
mac-x86_64 OS X native
mingw-msys-x86
mingw-msys-x86_64
MSYS MinGW on Windows
mingw-x86
mingw-x86_64
MinGW, e.g. on Linux
msvc-15-x86
msvc-15-x86_64
MSYS using Visual Studio on Windows

For mingw-msys and msvc-15 profiles refer to the Initial setup of MSYS2 wiki.

Examples

OS X 64-bit build

$ ./ffmpeg-builder -p mac-x86_64 -i /usr/local/ffmpeg -l "opus vpx x264 x265"

Windows 64-bit build with MSYS2 and Visual Studio toolchain.

$ ./ffmpeg-builder -p msvc-15-x86_64 -i /usr/local/ffmpeg-win-64 -l "opus vpx"

Windows 32-bit build with Mingw-w64 cross compiler on a Unix host.

$ ./ffmpeg-builder -p mingw-x86 -i /usr/local/ffmpeg-win-32 -l "opus vpx"

Todos

  • ARM support
  • Add option to create a static build

About

Modular FFmpeg builder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published