GithubHelp home page GithubHelp logo

mcmtroffaes / ffmpeg-msvc-build Goto Github PK

View Code? Open in Web Editor NEW
72.0 6.0 11.0 596 KB

Script for building ffmpeg with msvc.

License: MIT License

PowerShell 9.02% CMake 38.89% C++ 26.85% Batchfile 7.16% Shell 2.91% Python 15.17%
ffmpeg msvc build windows lgpl gpl

ffmpeg-msvc-build's Introduction

ffmpeg-msvc-build

test

Scripts for building FFmpeg with MSVC.

The script uses vcpkg which closely follows the official instructions.

The purpose of this repository is:

  1. To enable the latest git version of ffmpeg to be built with vcpkg, with a few minimal patches on top of upstream vcpkg.
  2. Do full feature testing for windows, linux, and osx (far more in-depth compared to what upstream vcpkg continuous integration is testing).
  3. Provide a few builds for convenience. Given that there are so many different combinations of features that might make sense for specific purposes, what is currently provided is an LGPLv2 build including all ffmpeg features exposed by vcpkg.

Requirements

Usage

Clone the repository and run the following in powershell or cmd:

cd vcpkg
.\bootstrap-vcpkg.bat
.\vcpkg.exe install ffmpeg[core,all]:x64-windows

You can pick another triplet, or another set of features. See the ffmpeg vcpkg.json file for a list of all features. The above will result in an LGPLv2 licensed ffmpeg library built with all LGPL compatible features that are supported in vcpkg.

Prebuilt LGPLv2 builds for Visual Studio 2019 can be found here. See the vcpkg export documentation for more information on how to use these pre-built packages.

License

All scripts for creating the builds are licensed under the conditions of the MIT license.

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

ffmpeg-msvc-build's People

Contributors

mcmtroffaes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ffmpeg-msvc-build's Issues

Build options and features static link

Hello! I have some questions.

  • ffmpeg build includes do not contain deprecated api. Can i build ffmpeg with "enable-deprecated" or something like that.
  • All ffmpeg libs have shared linkage. I want to have features static link to avcodec.dll. For example to link libx264.dll, libx265.dll staticly to avcodec.
    Big thanks in advance!

Audio only FFmpeg flavor

Hi,

Would it be possible for you to release a flavor of FFmpeg (LGPL, shared, MSVC, x64) with just audio-related features enabled?

Many programs that use FFmpeg don't care about the video features (codec, parser,...) and would appreciate to have much lighter DLLs to distribute (and with less dependencies).

Thanks in advance!

custom configure options

It would be nice to allow builds with custom configure options for enabling/disabling features not exposed by upstream vcpkg.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.