QtAV编译及使用
参考地址:
https://github.com/wang-bin/QtAV/wiki/Build-QtAV
Prerequisites
- Get QtAV source code
git clone https://github.com/wang-bin/QtAV.git
cd QtAV && git submodule update --init
- FFmpeg>=1.0/Libav>=9.0. The latest release is recommended.
You can download latest prebuilt FFmpeg, or build yourself.(下载对应版本的ffmpeg )
Setup the environment
- 推荐 使用 将对应版本的ffmpeg 拷贝一份到对应的qt安装路径里(放在对应的头文件 和链接文件)
It’s the simplest and best way. Qt include and lib dir are always searched in QtAV. It should work for all platforms, including android, iOS, WinRT and meego etc.
Take Windows for example, Qt is installed in C:\Qt\5.7\msvc2015_64\ . Goto that