## M2-Team / FFmpegUniversal .gitee-modal { width: 500px !important; }

Explore and code with more than 6 million developers，Free private repositories ！：）
Notice: Creating folder will generate an empty file .keep, because not support in Git

# FFmpegUniversal

Merged FFmpeg dynamic linked library for the Windows Universal Platform.

## Prerequisites

Getting a compatible build of FFmpeg is required for this to work.

You can get the code for FFmpeg on Github yourself by cloning git://source.ffmpeg.org/ffmpeg.git.

Your FFmpegUniversal folder should look as follows

FFmpegUniversal\
FFmpeg\             - ffmpeg source code from the latest release in
git://github.com/FFmpeg/FFmpeg.git
FFmpegUniversal\    - FFmpegUniversal Generate WinRT DLL Project
FFmpegUniversalSDK\ - FFmpegUniversal Headers and DLL Project for
developer use.
FFmpegBuild.bat     - Helper script to build FFmpeg libraries as
described in
https://trac.ffmpeg.org/wiki/CompilationGuide/WinRT
FFmpegConfig.sh     - Internal script that contains FFmpeg configure
options
FFmpegCopy.bat      - Internal script to copy the appropriate builds of
FFmpeg libraries to the FFmpegUniversal project.
FFmpegUniversal.sln - Microsoft Visual Studio 2017 solution file
README.md

Now that you have the FFmpeg source code, you can follow the instructions on how to build FFmpeg for WinRT apps. Follow the setup instruction carefuly to avoid build issues. After completing the setup as instructed, you can invoke FFmpegBuild.bat script to build or do it manually using the instructions in the compilation guide after you modify the MSYS2_BIN variable in the FFmpegBuild.bat.

BuildFFmpeg.bat    - Build for Windows 10 ARM, x64, and x86

If you use the build script or follow the Wiki instructions as is you should find the appropriate builds of FFmpeg libraries in the Output/FFmpeg folders.

Simply open the FFmpegUniversal.sln and build the FFmpegUniversal, you will get the merged FFmpeg dynamic library for the Windows Universal Platform. Then, you copy the FFmpegUniversalSDK folder to your Visual Studio solution folder and add it to your solution and use "add reference" to add it to your project.

Finally, enjoy it.

Same as the FFmpeg, the default setting of FFmpeg compilation in FFmpegUniversal is distributed under the LGPL version 2.1 or later.

LGPL-2.1

No release