Skip to content
New issue

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

libqtav_mediacodec is too old and uses libgnustl_shared from a very old ndk #1397

Open
rubenjavier opened this issue Nov 30, 2021 · 1 comment

Comments

@rubenjavier
Copy link

QtAV, Qt version and platform

QtAV 1.7 for android and Qt 5.12.11 armeabi-v7a

Reproduction steps

build QtAV for Android with libqtav_mediacodec enabled for armaebi-v7a (wth MediaCodecTextureStandAlone.h on the Qt include folder and libqtav_mediacodec.so and libgnustl_shared on the lib folder, libgnustl_shared obtained from QMLPlayer signed apk)

build qtav mediaplayer qml for android, (adding libgnustl_shared on the libs/armeabi-v7a/ folder because libqtav_mediacodec.so complains about it)
set the videoCodecPriority to MediaCodec -> crash because newer ndks use clang llvm, and libqtav_mediacodec.so with libgnustl_shared are incompatible

Expected behavior

play videos with MediaCodec acceleration

Actual behavior

crash because newer ndks use clang llvm, and libqtav_mediacodec.so with libgnustl_shared are incompatible

Please rebuild libqtav_mediacodec.so for armeabi-va and arm64-v8a for Qt 5.12.11 or 5.12.12, its the last LTS version of Qt with separated armv7 and arm64v8 folders for libs, it should last for a long while now that uses ndk with clang llvm

Thanks in advance
Best regards

@wang-bin
Copy link
Owner

wang-bin commented Dec 1, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants