


下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、编译ffmpeg开源项目(编译环境、用vs2013编译和调试) ffmpeg开源项目编译说明 -搭建编译环境、用vs2013编译和调试 一、准备工作 1、本机环境:win7 sp1,74位,vs2013 2、ffmpeg官上有源代码和现成的静态库和动态库可以调用。如果需要定制ffmpeg的模块,或者跟踪调试和分析研究,则需要进行编译和调试。这里采用的ffmpeg版本为当前最新版本:2.6.2。 3、ffmpeg本身是linux下的开源项目。它在linux、windows系统中都可以编译。在windows系统,尽量选择vs2013编译工具,是因为vs2013支持大部分c99的特性,基本不需要改动
2、代码,也不需要使用c99转c89的工具。 4、ffmpeg是一个开源的多媒体库,使用非常广泛。在linux下编译ffmpeg非常简单,而在windows下编译就不是那么容易了。一般在windows下使用mingw的gcc toolchain进行编译,这样的话,因为ffmpeg的导出函数均是c风格,因而gcc编译的lib可以被vs链接。但是gcc的debug符号与vs的debug符号(*.pdb)是无法兼容的,因此我们用vs来开发基于ffmpeg的程序时无法深入ffmpeg内部进行debug 二、搭建编译环境 mingw和yasm是绕不过去的,因为需要使用mingw来生成config.h,而ff
3、mpeg的汇编语法和vs的不一样,因此需要yasm。具体步骤如下: 1、 下载ffmpeg源码,下载地址:pages do not build html documentation pages -disable-manpages do not build man documentation pages -disable-podpages do not build pod documentation pages -disable-txtpages do not build text documentation pages component options: -disable-avdevice
4、disable libavdevice build -disable-avcodec disable libavcodec build -disable-avformat disable libavformat build -disable-avutil disable libavutil build -disable-swresample disable libswresample build -disable-swscale disable libswscale build -disable-postproc disable libpostproc build -disable-avfil
5、ter disable libavfilter build -enable-avresample enable libavresample build no -disable-pthreads disable pthreads autodetect -disable-w32threads disable win32 threads autodetect -disable-os2threads disable os/2 threads autodetect -disable-network disable network support no -disable-dct disable dct c
6、ode -disable-dwt disable dwt code -disable-error-resilience disable error resilience code -disable-lsp disable lsp code -disable-lzo disable lzo decoder code -disable-mdct disable mdct code -disable-rdft disable rdft code -disable-fft disable fft code -disable-faan disable floating point aan (i)dct
7、code -disable-pixelutils disable pixel utils in libavutil hardware accelerators: -disable-dxva2 disable dxva2 code autodetect -disable-vaapi disable vaapi code autodetect -disable-vda disable vda code autodetect -disable-vdpau disable vdpau code autodetect individual component options: -disable-everything disable all components listed below -disable-encoder=name disable encoder name -enable-encoder=name enable encoder name -disa
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 工业互联网平台数字水印技术2025年数据安全防护与网络威胁情报分析报告
- 2025年浙江省保安员考试试题及答案解析必背(含答案)
- 计量仪器校正试题和答案
- 医疗美容行业2025年医疗美容行业市场趋势与市场监管研究报告
- 教育与培训行业报告:教育行业在线教育平台用户满意度研究
- 山东选调生笔试真题2024
- 2025-2030海外矿产资源并购对钢铁企业供应链安全影响
- 2025-2030民用无人机适航维修人员资质认证体系构建报告
- 2025-2030民宿行业政策环境与发展机遇全景分析报告
- 2024年嘉兴市第一医院招聘真题
- 城中村综合整治总体规划
- 人工智能实验学校申报材料
- 复杂网络上的演化博弈及其学习机制与演化动态综述
- 2024年江苏省成考(专升本)大学政治考试真题含解析
- 四年级数学(四则混合运算带括号)计算题与答案
- 2023年新高考全国Ⅱ卷英语试题真题及答案详解(含作文范文)
- 消毒隔离技术
- 2023年中国邮轮游船游艇行业发展报告
- 符合RBT214-2017防雷装置检测机构质量手册+检测作业指导书2021首版
- 中国铁路高速综合检测列车
- 2015年考研英语二真题及答案解析
评论
0/150
提交评论