1 Star 0 Fork 1

M2-Team / FFmpegUniversal

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 2.38 KB
一键复制 编辑 原始数据 按行查看 历史

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
  LICENSE
  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.

License

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

M2-Team

1
https://gitee.com/M2-Team/FFmpegUniversal.git
git@gitee.com:M2-Team/FFmpegUniversal.git
M2-Team
FFmpegUniversal
FFmpegUniversal
master

搜索帮助