-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathINSTALL-WINDOWS
42 lines (34 loc) · 1.32 KB
/
INSTALL-WINDOWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
This contain instruction for building glffmpeg and ffmpeg on Windows
* Building glffmpeg with Visual Studio:
Requirements:
* Microsoft Visual Studio 2013
* ffmpeg 3.3.3 libraries and headers http://ffmpeg.zeranoe.com/builds/
Build steps:
* Place the ffmmpeg directory at the root, where this README is located
* Open glffmpeg_vc10.sln or glffmpeg_vc12.sln depending on your compiler
* Select build
* Building ffmpeg with Visual Studio
Requirements:
* Microsoft Visual Studio 2013, or 2015
* MSYS2 http://www.msys2.org/ and the following packages:
* pkg-config
* make
* diffutils
* YASM http://yasm.tortall.net/
* ffmpeg 3.3.3 source http://ffmpeg.zeranoe.com/builds/
Note on MSYS2:
Verify that the required packages are installed using the following command
pacman -S pkg-config make diffutils
Note on YASM:
Verify that the yasm executable is named "yasm.exe" and placed in your PATH
Build steps:
* Open a command prompt
* Sets the environment for Visual Studio:
call "%PROGRAMFILES(X86)%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64
* Sets the environment for MSYS2:
set PATH=%PATH%;C:\msys64\usr\bin
* Start the bash shell
bash.exe
* Build the libraries
./configure --toolchain=msvc --enable-shared --disable-static --disable-programs
make