-
Installing MinGW From FFmpeg on WindowsMedia_Dev 2010. 1. 11. 15:47반응형
Go to MinGW on Sourceforge
Get these packages:
- binutils-2.19.1-mingw32-bin.tar.gz
- mingwrt-3.15.2-mingw32-dll.tar.gz
- mingwrt-3.15.2-mingw32-dev.tar.gz
- w32api-3.13-mingw32-dev.tar.gz
And you also need to choose a compiler. In this guide we use GCC, but there have been reports in the ffmpeg-devel mailinglist about people getting Intel's ICC to work.Each version of GCC has its ups and downs regarding Windows. You may choose to use official releases from the MinGW team, or unofficial releases, or build your own. Building your own takes long and is annoying, and anyways you'll need to have one build to start with.
In this guide we'll use official builds from the MinGW team. You may choose to use version 3.4.5, which is the latest stable release, or version 4.2.1, which is a technology preview release. GCC 4.3 or 4.4 are not recommended by this wiki because they are known to screw up on shared builds, and because no extensive testing for FFmpeg has been made using them. Using versions prior to 4.2, you will not be able to link to the libav* libraries from MSVC++. It will link, but your program will crash on most SSE optimizations and be slow on most MMX optimizations.
You may also choose to use an unofficial build, although they're not supported in this wiki. But there's no reason to be more afraid of them than any other Windows GCC build. Good websites with such builds are:
-
- So, to follow on the wiki, choose either:
gcc-core-3.4.5-20060117-1.tar.gz
gcc-g++-3.4.5-20060117-1.tar.gz
-
- or
gcc-core-4.2.1-sjlj-2.tar.gz
gcc-g++-4.2.1-sjlj-2.tar.gzThen proceed with extracting all downloaded files to C:\msys\mingw
If you chose gcc version 4.2.1, go to C:\msys\mingw\bin\ and rename:
c++-sjlj.exe to c++.exe
cpp-sjlj.exe to cpp.exe
g++-sjlj.exe to g++.exe
gcc-sjlj.exe to gcc.exe
http://ffmpeg.arrozcru.org/wiki/index.php?title=Installing_MinGWhttp://ffmpeg.arrozcru.org/wiki/index.php?title=Static_LIB_MSVC
반응형'Media_Dev' 카테고리의 다른 글
Compiling X264 on Windows (0) 2010.01.15 setup to MinGw , msys for FFmpeg (0) 2010.01.14 The Core codec that it use a cuda (0) 2010.01.11 FFmpeg Windows Help (0) 2010.01.02 MPlayer/FFmpeg samples collection (0) 2009.12.23 - binutils-2.19.1-mingw32-bin.tar.gz