-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathbuilding_ffmpeg.txt
More file actions
13 lines (9 loc) · 827 Bytes
/
building_ffmpeg.txt
File metadata and controls
13 lines (9 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
*** Windows ***
https://pracucci.com/compile-ffmpeg-on-windows-with-visual-studio-compiler.html
-> 'msys2_shell.cmd -msys -use-full-path' instead of 'C:\workspace\windows\msys64\msys_shell.bat'
./configure --toolchain=msvc --arch=x86 --disable-ffmpeg --disable-ffplay --enable-yasm --enable-asm --disable-shared --enable-static --prefix=/c/Projects/ffmpeg-3.3.1/output/x86
"vcvars64.bat" must be executed before "msys2_shell.cmd...."
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.bat
./configure --toolchain=msvc --arch=x86_64 --disable-ffmpeg --disable-ffplay --enable-yasm --enable-asm --disable-shared --enable-static --prefix=/c/Projects/ffmpeg-3.3.1/output/x64
Make sure 'ARCH_X86_64' is set to '1' in config.h
Run 'cl.exe' from command prompt to check if we're building for Win32 or Win64