FFMpeg SDK使用0使用注意事项

Posted 叮咚咕噜

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了FFMpeg SDK使用0使用注意事项相关的知识,希望对你有一定的参考价值。

1、ffmpeg是用C语言实现的,所以在cpp文件中引用,需要将头文件使用extern “C”包含:

extern "C"
{
	#include "libavutil/opt.h"
	#include "libavcodec/avcodec.h"
	#include "libavutil/channel_layout.h"
	#include "libavutil/common.h"
	#include "libavutil/imgutils.h"
	#include "libavutil/mathematics.h"
	#include "libavutil/samplefmt.h"
}

以上是关于FFMpeg SDK使用0使用注意事项的主要内容,如果未能解决你的问题,请参考以下文章