FFmpeg is an open-source and free cross-platform video and audio stream solution that uses lgpl or GPL licenses. FFmpeg is easier to compile in Linux. In Windows, it is relatively troublesome.
The following software is required to compile FFMPEG:
Msys:Minimal GNU (POSIX) System on Windows is a small GNU environment, including basic bash and make. Is the best GNU environment in windows.
FFmpeg 0.6: the latest release version is 0.6. Of course, you can also download the latest version through SVN, but there are certainly many bugs.
SDL:Simple DirectMedia Layer is a free cross-platform multimedia development kit, applicable to games, game sdks, demo software, simulators, MPEG players, and other application software.
- Download msys
Msys China project has detailed documentation on msys development environment and development tools. Download the msys Basic System (updated, 2010.07.23 ):Http://msys-cn.googlecode.com/files/MSYS-Update.7z
After downloading the msysbasic package, first download ming1_7zand decompress ming1_7z to any path (no Chinese characters or spaces are allowed in any folder in the path), and drag the mingw directory to the decompressed bin, etc directory at the same level to complete installation. Then run msys. The system will perform some initialization and then automatically create the home directory under the msys directory to complete msys installation.
For more information about msys environment configuration and tools, see the msys China project (http://code.google.com/p/msys-cn/) tutorial.
Quick tutorialBytes ¶
-
- Introduction, download and Installation
- Operating system history review
-
- Msys development environment and development tools
-
- Short C language tutorial Based on msys Environment
-
- Windows Programming Tutorial Based on msys and mingw
-
- Msys-based Flex & Bison (compiler Development Tool) Tutorial
- Development of Win32 dynamic link library DLL Based on msys
-
- Msys-based Windows DriverProgramDevelopment
- download FFMPEG 0.6
download the latest FFMPEG version to the official homepage of FFMPEG. Http://www.ffmpeg.org/download.html
: http://www.ffmpeg.org/releases/ffmpeg-0.6.tar.gz
SVN address: SVN: // svn.ffmpeg.org/ffmpeg/trunk
after downloading, decompress ffmpeg to the msys/home/your_name directory
- Add SDL
http://www.libsdl.org/release/SDL-devel-1.2.11-mingw32.tar.gz
Decompress the package;
Copy all files under lib to msys/lib;
Copy all files under include to msys/include;
Copy the i386-mingw32msvc-sdl-config under bin to msys/bin and rename it SDL-config;
Copy SDL. dll in BIN to C :/ Msys/bin
- Compile FFMPEG
Run msys. BAT to enter the FFMPEG directory (cd ffmpeg ).
Enter
./Configure -- enable-memalign-hack
Reference:
Msys China Projects home: http://code.google.com/p/msys-cn/
Msys introduction, download and Installation Method: http://code.google.com/p/msys-cn/wiki/ChapterInstallation
Msys development environment and development tools: http://code.google.com/p/msys-cn/wiki/ChapterTwo
Compile FFMPEG in mingw:Http://jeremiah.blog.51cto.com/539865/126804
FFmpeg home: http://www.ffmpeg.org