参考链接:《基于 FFmpeg + SDL 的视频播放器的制作》课程的视频_雷霄骅(leixiaohua1020)的专栏-CSDN博客_雷霄骅ffmpeg视频教程
如有困惑,可以直接观看雷神的视频,讲解的很详细,向雷神致敬。
基础配置:
把相关文件放到testffmpeg的同级目录下并设置相关的属性
avcodec.lib;
avformat.lib;
avutil.lib;
avdevice.lib;
avfilter.lib;
postproc.lib;
swresample.lib;
swscale.lib
#include "stdafx.h"
extern "C"
{
#include "libavcodec/avcodec.h "
}
int _tmain(int argc, _TCHAR* arvg[]) {
//打印出FFmpeg的配置信息
printf("%s", avcodec_configuration());
return 0;
}
若能成功打印信息说明配置成功。