1.编译前注意加环境变量,在Qt中打开pro文件进行编译
2. avutil is required, but compiler can not find it
在root下.qmake.conf添加从作者那里下载的编译好的ffmpeg库:
3. libavresample or libswresample is required problem问题:
在root/.qmake/.qmake.conf文件中添加:
CONFIG += no_config_tests
CONFIG+=config_avutil config_avformat config_avcodec config_swscale config_swresample
4.编译出现QtAV::pixelFormatFromFourcc(int)问题:
在libQtAV.pro的win32:!winrt部分添加CONFIG *= d3dva