2017年4月11日

静态链接ffmpeg库注意的问题(转)

摘要: 1. 最近使用ffmpeg静态库进行链接,提示 undefined reference,排查发现静态库的顺序导致的,静态库对先后顺序有严格要求 2. 使用ffmpeg库时,在链接时,需要加上-lm -ldl -lpthread -lrt 阅读全文

posted @ 2017-04-11 16:05 xihong 阅读(1512) 评论(0) 推荐(0)

基于ffmpegSDK的开发

摘要: #include <stdio.h> #include <libavutil/avutil.h> #include <libavcodec/avcodec.h> #include <libavformat/avformat.h> int main() { printf("Hello World!\n 阅读全文

posted @ 2017-04-11 12:57 xihong 阅读(1099) 评论(0) 推荐(0)

导航