This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "sws_freeContext" m4 macbook #1065
Labels
invalid
This doesn't seem right
Description
cannot locate symbol "sws_freeContext" while using ffmpeg open source code
add the qtavplayer path in the project file according to readme of QtAVPlayer
Expected behavior
set the lib of all in prebuilt of ffmpeg into the Qt directory in all android architecture but it could not locate the particular symbol.
Current behavior
crashed during the run time
Logs
E AndroidRuntime: FATAL EXCEPTION: qtMainLoopThread
E AndroidRuntime: Process: com.datavideo.bcviewassist, PID: 30074
E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "sws_freeContext" referenced by "/data/app/~~NUkaTFpkNqaR6e_xvV0vfw==/com.datavideo.bcviewassist-FNqY9EiouqygcGQUwbf6nQ==/lib/arm64/libplugins_multimedia_ffmpegmediaplugin_arm64-v8a.so"...
E AndroidRuntime: at java.lang.Runtime.load0(Runtime.java:933)
E AndroidRuntime: at java.lang.System.load(System.java:1729)
E AndroidRuntime: at org.qtproject.qt.android.QtLoader.loadLibraryHelper(QtLoader.java:493)
E AndroidRuntime: at org.qtproject.qt.android.QtLoader.lambda$loadLibraries$1$org-qtproject-qt-android-QtLoader(QtLoader.java:566)
E AndroidRuntime: at org.qtproject.qt.android.QtLoader$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
E AndroidRuntime: at org.qtproject.qt.android.QtThread.lambda$run$0(QtThread.java:57)
E AndroidRuntime: at org.qtproject.qt.android.QtThread$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
E AndroidRuntime: at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25)
E AndroidRuntime: at java.lang.Thread.run(Thread.java:1012)
I Process : Sending signal. PID: 30074 SIG: 9
Environment
macOS
/`arm64-v8a
,arm64
, `v6.0LTS
main
,development
16.1
1.10.3
34
26.
Other
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: