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

本文档详细介绍了如何编译QtAV,包括获取源码、设置环境、解决编译问题,以及如何在项目中使用QtAV。特别强调了在Windows环境下配置FFmpeg和Qt的步骤,并给出了在运行时处理依赖库的方法。此外,还提到了播放实时流时调整连接方式和硬解码的设置建议。
最低0.47元/天 解锁文章
3802

被折叠的 条评论
为什么被折叠?



