2015. 7. 23. 21:07
FFMPEG 라이브러리 파일 다운로드
위의 링크로 들어가서 빌드된 다음 파일을 다운 받는다
파일을 다운 받은 후 압축을 푼다
Shared 폴더 안에서 bin 파일을 복사하여 링크를 한다
Dev 폴더 안에서 include, lib를 복사하여 링크를 한다
다음의 헤더파일을 포함한다
extern "C"{
#include <libavformat/avformat.h>
#include <libavcodec/avcodec.h>
#include <libswscale/swscale.h>
}
필요한 라이브러리만 링크하면 되지만 다음의 파일을 링크한다
lib 파일
avcodec.lib
avdevice.lib
avformat.lib
avutil.lib
postproc.lib
swresample.lib
swscale.lib