Home  >  Article  >  Database  >  使用ffmpeg sdk v3.2和vc6.0编译output

使用ffmpeg sdk v3.2和vc6.0编译output

WBOY
WBOYOriginal
2016-06-07 15:18:521105browse

本文需要用的的文件都在我的网盘中,有需要的可以去下载 链接地址: http://xiaomeng008.ys168.com/ 编译过程如下: 1:新建工程,名称为:TestFfmpeg。下载output_example.c文件(本文下面给出),将文件添加到TestFfmpeg工程中 2:拷贝sdk中的include文件

本文需要用的的文件都在我的网盘中,有需要的可以去下载

链接地址:http://xiaomeng008.ys168.com/

编译过程如下:

1:新建工程,名称为:TestFfmpeg。下载output_example.c文件(本文下面给出),将文件添加到TestFfmpeg工程中

2:拷贝sdk中的include文件夹下的所有文件到工程目录下,和output_example.c 在同一目录中

3:去掉output_example.c中的#include“snprintf.h”,

4: 将sdk中的lib文件夹拷贝到工程目录下,然后打开project-->settings->Link, Category选择Input,
   在Additional Library path中填入:build-test\lib,
   在Project options中增加avcodec.lib avdevice.lib avfilter.lib avformat.lib avutil.lib swscale.lib。
5.打开project-->settings->C/C++, Category选择Precompiled Headers, 选择not using precompiled headers.
6.将sdk的bin目录下的文件拷贝到build-test、Debug目录下。

志不强者智不达” 博客,请务必保留此出处http://marico.blog.51cto.com/1929668/387152

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn