quamotion / ffmpeg-win32

Cross-building ffmpeg for Windows
GNU Lesser General Public License v3.0
16 stars 5 forks source link

NuGet packages for LGPL FFmpeg

Build Status

This project contains build scripts which create NuGet packages of a LGPL build of FFmpeg. You can use it together with FFmpeg.AutoGen to use FFmpeg from your .NET Core projects.

How are you building?

The Windows builds are built from the source tarballs published by ffmpeg, and cross-compiled on Ubuntu 14.04. All files in the NuGet package are built on Travis and published from there.

At the time of writing, ffmpeg is not linked with any of the external libraries (but that could be changed by a pull request), but hardware acceleration is enabled.

ffmpeg is built with this command line:

./configure --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --disable-static --enable-shared --enable-version3 --enable-cuda --enable-cuvid --enable-dxva2

What's included?

A note about the external dependencies

Most ffmpeg dependencies should be fairly trivial to cross-build on Ubuntu - feel free to send a PR that enables that. GNU TLS (gnutls) is probably the most complex dependency. Building ffmpeg with gnutls support is not a requirement per se on Windows, as ffmpeg will use Windows built-in APIs to perform cryptography.