/ffmpeg-msvc-build

Script for building ffmpeg with msvc.

Primary LanguagePowerShellMIT LicenseMIT

ffmpeg-msvc-build

Build status

Scripts for building FFmpeg with MSVC on AppVeyor.

The script uses vcpkg which closely follows the official instructions. By default, only static LGPL builds are generated (in 32 and 64 bit, and in debug and release configurations). However, the build matrix can be easily modified to allow different configurations to be built as well.

Requirements

Usage

Prebuilt static LGPL builds with Visual Studio 2019 (toolset v142) can be found here. If you want to build your own version on your local machine, then execute the build script as follows:

.\build.ps1 `
  -vcpkg <path-to-vcpkg-root>
  -platform {x86,x64} `
  -runtime_library {MT,MD} `
  -linkage {dynamic,static} `
  -toolset {v120,v140,v141,v142,...} `
  -features {core,vpx,...}

License

All scripts for creating the builds are licensed under the conditions of the MIT license. For the examples in the examples folder, see individual files for license details.

The builds themselves are covered by the relevant license for your build (see here for full details).