ffmpeg lame faad faac 的编译
2007-06-15 09:49
218 查看
写一个备忘在这里,免得下次不记得了,又从头再来。
ffmpeg compile with Visual C++ compatibility
Install Visual C++ (if you haven't done so already).
Install MinGW and MSYS as described above.
Add a call to `vcvars32.bat' (which sets up the environment variables for the Visual C++ tools) as the first line of `msys.bat'. The standard location for `vcvars32.bat' is `C:/Program Files/Microsoft Visual Studio 8/VC/bin/vcvars32.bat', and the standard location for `msys.bat' is `C:/msys/1.0/msys.bat'. If this corresponds to your setup, add the following line as the first line of `msys.bat':
Start the MSYS shell (file `msys.bat') and type
Extract the current version of FFmpeg and change to the FFmpeg directory.
Type the command
The subdirectories `libavformat', `libavcodec', and `libavutil' should now contain the files `avformat.dll', `avformat.lib', `avcodec.dll', `avcodec.lib', `avutil.dll', and `avutil.lib', respectively. Copy the three DLLs to your System32 directory (typically `C:/Windows/System32').
ffmpeg compile with Visual C++ compatibility
Install Visual C++ (if you haven't done so already).
Install MinGW and MSYS as described above.
Add a call to `vcvars32.bat' (which sets up the environment variables for the Visual C++ tools) as the first line of `msys.bat'. The standard location for `vcvars32.bat' is `C:/Program Files/Microsoft Visual Studio 8/VC/bin/vcvars32.bat', and the standard location for `msys.bat' is `C:/msys/1.0/msys.bat'. If this corresponds to your setup, add the following line as the first line of `msys.bat':
call "C:/Program Files/Microsoft Visual Studio 8/VC/bin/vcvars32.bat"
Start the MSYS shell (file `msys.bat') and type
link.exe. If you get a help message with the command line options of
link.exe, this means your environment variables are set up correctly, the Microsoft linker is on the path and will be used by FFmpeg to create Visual-C++-compatible import libraries.
Extract the current version of FFmpeg and change to the FFmpeg directory.
Type the command
./configure --enable-shared --disable-static --enable-memalign-hackto configure and, if that didn't produce any errors, type
maketo build FFmpeg.
The subdirectories `libavformat', `libavcodec', and `libavutil' should now contain the files `avformat.dll', `avformat.lib', `avcodec.dll', `avcodec.lib', `avutil.dll', and `avutil.lib', respectively. Copy the three DLLs to your System32 directory (typically `C:/Windows/System32').
相关文章推荐
- xcode 下 ffmpeg soundtouch faac x264 libyuv lame 一次打包armv7 armv7s arm64
- 专题:Windows编译x264、SDL、faac、ffmpeg过程
- 编译安装ffmpeg 要支持xvid、x264、mp3、ogg、amr、faac
- android音频(三)——利用ndk直接编译faac和faad
- 编译安装FFmpeg 要支持xvid、x264、mp3、ogg、amr、faac
- ffmpeg开发之旅(4):MP3编码格式分析与lame库编译封装
- android音频(三)——利用ndk直接编译faac和faad(续2)
- 编译安装ffmpeg 要支持xvid、x264、mp3、ogg、amr、faac
- mac 下移植 ffmpeg 支持x264 faac lame png 开启asm neon 加速
- android音频(三)——利用ndk直接编译faac和faad(续1)
- 专题:Windows编译x264、SDL、faac、ffmpeg过程
- 专题:Windows编译x264、SDL、faac、ffmpeg过程
- 专题:Windows编译x264、SDL、faac、ffmpeg过程
- 使用androidNDK编译ffmpeg2.2 学习笔记
- windows编译ffmpeg
- 从零开始编译属于你的FFmpeg
- windows7下ffmpeg编译支持x265
- 图文介绍windows下实现编译ffmpeg工程的详细步骤
- <android编译ffmpeg+x264+faac> <Android/NDK环境下FFmpeg及AAC,MP3,X264的编译>
- ubuntu14.04 64bit中非编译安装ffmpeg