We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
想在rk3399上运行qt,使用ffmpeg,编译器是aarch64-linux-gnu-g++,好像这个编译器无法用ffmpeg里的库,如下
aarch64-linux-gnu-g++
contains(QT_ARCH, x86_64) { path_lib = libwin64 } else { path_lib = libwin32 }
那应该怎么办,有ffmpeg源码吗,可以自己生成库文件吗?
望解答,非常感谢!!!
The text was updated successfully, but these errors were encountered:
需要自己交叉编译好ffmpeg,并把这里的代码换成自己的路径
Sorry, something went wrong.
@feiyangqingyun 感谢回复!但我又遇到一些问题。QT交叉编译遇到很多报错:
而且静态库文件非常大(例如libavcodec.a有170MB),可能我编译指令有问题(我不知道哪些组建可以disable):
libavcodec.a
../configure --cross-prefix=aarch64-linux-gnu- \ --target-os=linux \ --arch=aarch64 \ --enable-static \ --enable-gpl \ --pkg-config="pkg-config --static" \ --prefix=/home/lhj/Desktop/QT_project/rk3399/FFmpeg/build \ --enable-ffmpeg
我下载的源代码来自于https://github.com/FFmpeg/FFmpeg.git,不用ffmpeg的qt程序可以交叉编译并可以在开发板上运行了。请问我现在需要如何解决这个报错,是要更换ffmpeg的版本还是要更改编译指令,谢谢!
https://github.com/FFmpeg/FFmpeg.git
@feiyangqingyun 我看到playffmpeg目录下的readme了,我在网盘中找到了对应的版本,然后解决了问题,非常感谢!但我打不开编译步骤.txt中的网址https://feiyangqingyun.gitee.io/qwidgetdemo/video_system/##139-编译ffmpeg,所以现在我编译后的静态库还是很大(170MB),请问正确的网址是什么?
playffmpeg
readme
编译步骤.txt
https://feiyangqingyun.gitee.io/qwidgetdemo/video_system/##139-编译ffmpeg
No branches or pull requests
想在rk3399上运行qt,使用ffmpeg,编译器是
aarch64-linux-gnu-g++
,好像这个编译器无法用ffmpeg里的库,如下那应该怎么办,有ffmpeg源码吗,可以自己生成库文件吗?
望解答,非常感谢!!!
The text was updated successfully, but these errors were encountered: