如何在vc6下编译x264

Peter Lee(lspbeyond@sohu.com)
  1
、下载 x264
 
x264 的主页: http://videolan.org/
x264 是用版权控制工具 CVS 进行更新的,其主页上不提供源码压缩包,所以我们要用专用的工具下载。
工具名: TortoiseSVN
使用方法:如图 1 所示。其中下载地址为: svn://svn.videolan.org/x264/trunk/
1
   
2 、准备编译环境所需文件
note:2 3 部分参考了《 How to Compile XviD with Microsoft Visual C++ 6.0 》一文的内容
1) Service Pack 5 for Visual Studio 6 - http://msdn.microsoft.com/vstudio/downloads/updates/sp/vs6/sp5/default.asp
The service pack contains all the latest bug fixes for Visual C++ 6.0 as well as updates to essential libraries. You can
download the service pack or order it on CD from the Microsoft Developers Network (MSDN) by clicking the link
above.
vc6 补丁,所选的语言和VC的语言一致就可以了
2) Visual C++ 6.0 Processor Pack - http://msdn.microsoft.com/vstudio/downloads/tools/ppack/default.aspx
The processors pack adds support for Intel's SSE, SEE2 and AMD's 3DNow! instructions.
支持处理器多媒体汇编指令的补丁
3) NASM - the famous Netwide Assembler - http://sourceforge.net/projects/nasm/
Xvid uses NASM to "compile" the code written in assembly language (the *.asm files). Download the Win32 binary.
x264 同样会用到这个编译器
4) DirectX 9.0 SDK - http://msdn.microsoft.com/library/default.asp?url=/downloads/list/directx.asp
To build the DirectShow filter, you need the DirectX SDK (Software Development Kit). Unfortunately for dial-up
users, the ~200MB DirectX SDK is no longer available on CD.
编译x264中的vfw工程时要用到
3 、设置编译环境
 
1) Installing Service Pack 5
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值