-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from ionutdanila/develop
Update readme.md
- Loading branch information
Showing
2 changed files
with
26 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,27 @@ | ||
# ffmpeg.UWP | ||
ffmpeg NuGet package for UWP | ||
|
||
Visual Studio Setup | ||
Download and install Microsoft Visual Studio 2017 on a Windows 10 machine. | ||
|
||
MSYS2 Setup | ||
Download the latest MSYS2 installer from http://msys2.github.io/ and follow the installation instruction closely from the installation webpage. In order for the environment from the Windows side to be inherited on the MSYS2 side, uncomment the following line from msys2_shell.cmd if it is present: replace rem set MSYS2_PATH_TYPE=inherit with set MSYS2_PATH_TYPE=inherit this will allow the environment variables for Visual Studio to be transferred to the MSYS2 environment and back. | ||
|
||
Once base MSYS2 is successfully installed, get the latest make package by invoking the following command in your MSYS2 shell | ||
|
||
pacman -S make | ||
Also get the latest gcc package | ||
|
||
pacman -S gcc | ||
Rename or remove link.exe in the MSYS2 usr bin folder (E.g. C:\msys64\usr\bin\link.exe) to prevent conflict with MSVC link.exe | ||
|
||
Install perl as it will be needed to run 'gas-preprocessor.pl' | ||
|
||
pacman -S perl | ||
Install also diffutils for configure script | ||
|
||
pacman -S diffutils | ||
|
||
YASM Setup | ||
Download YASM executable from http://yasm.tortall.net/Download.html. You have to download the "general use" binaries and NOT the ones for VS2010. Either Win32 or Win64 binaries support outputting object files for both architectures so that should not matter. The last tested version was yasm-1.3.0-win64.exe. | ||
|
||
Rename the downloaded executable to yasm.exe and place it in your MSYS2 path. E.g.C:\msys64\usr\bin\yasm.exe. | ||
|
||
gas-preprocessor Setup | ||
Download gas-preprocessor.pl Perl script from https://github.com/FFmpeg/gas-preprocessor | ||
|
||
Place the downloaded Perl script in your MSYS2 path. E.g. C:\msys64\usr\bin\gas-preprocessor.pl | ||
##### Build ffmpeg libraries for UWP (x86, x64, ARM and ARM64) | ||
##### The resulted libraries can be used with [FFmpegInterop Project](https://github.com/Microsoft/FFmpegInterop "FFmpegInterop Project") | ||
|
||
## Prerequisites | ||
|
||
#### Visual Studio Setup | ||
Download and install [Microsoft Visual Studio 2017](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=15 "Microsoft Visual Studio 2017") on a Windows 10 machine. | ||
|
||
--- | ||
#### MSYS2 Setup | ||
- Download the latest [MSYS2 installer](http://msys2.github.io/ "MSYS2 installer") on a directory on your PC (eg.: C:\msys64\) and follow the installation instruction closely from the installation webpage. | ||
- From **msys2_shell.cmd**, replace **rem set MSYS2_PATH_TYPE=inherit** with **set MSYS2_PATH_TYPE=inherit**. This will allow the environment variables for Visual Studio to be transferred to the MSYS2 environment and back. | ||
- Once base MSYS2 is successfully installed, get the latest make package by invoking the following command in your MSYS2 shell: `pacman -S make` | ||
- Also get the latest gcc package: `pacman -S gcc` | ||
- Rename or remove link.exe in the MSYS2 usr bin folder (eg.: C:\msys64\usr\bin\link.exe) to prevent conflict with MSVC link.exe | ||
- Install perl as it will be needed to run gas-preprocessor.pl: `pacman -S perl` | ||
- Install also diffutils for configure script: `pacman -S diffutils` | ||
|
||
--- | ||
#### YASM Setup | ||
- Download [YASM executable](http://yasm.tortall.net/Download.html "YASM executable"). You have to download the "general use" binaries and NOT the ones for VS2010. Either Win32 or Win64 binaries support outputting object files for both architectures so that should not matter. The last tested version was yasm-1.3.0-win64.exe. | ||
- Rename the downloaded executable to yasm.exe and place it in your MSYS2 path. | ||
|
||
--- | ||
#### gas-preprocessor Setup | ||
Download [gas-preprocessor.pl](https://github.com/ionutdanila/ffmpeg.UWP/blob/master/Dependencies/gas-preprocessor.pl "gas-preprocessor.pl") Perl script and place it in your MSYS2 path (eg.: C:\msys64\usr\bin\gas-preprocessor.pl) |