Closed acrilique closed 1 week ago
Hi @acrilique
I also used the static libs of gstreamer-1.22.9 from the official website.
What version of gstreamer do you use? Have you set up GSTREAMER_ROOT
in app/src/main/cpp/cmake-external-modules/dependencies.cmake
?
Right, that must be the problem. I'm using the latest stable 1.24.9 and that requires a different NDK version too. GSTREAMER_ROOT
has been set correctly. I'll try with 1.22 on monday, but anyway it would be nice to get it running with the latest version.
Thx 4 the answer
Yeah, according to release notes for 1.24 version they removed ivorbisdec
and kate
.
I've created new branch gstreamer-1.24.x
where I've made some changes. Please try it out.
Also try delete app/.cxx
folder in the project in Android Studio. Because Android Studio cashes the paths to the dependencies there and may not react to your changes in cmakelists.
Tried with the gstreamer-1.24.x
branch and it builds correctly. I didn't know about the app/.cxx
folder, so thanks for the tip, and thanks for taking the time to look into this. I'll now start porting my GStreamer app to android.
Hi, I'm trying to get this working on my machine. I downloaded the latest statically linked gstreamer android libraries from the official website. Opened the repo with Android Studio, I was able to sync with Gradle successfully. However, the compilation step results in a lot of errors coming from ninja (specifically, linker errors):
In the armeabi-v7a and x86 builds however, the linker errors are different to the ones in the x64 builds:
As you can see, most of the errors in the 32-bit builds are related to soup. I tried commenting vorbis and kate imports in
gstreamer_android.c
andgstreamer-libs.cmake
but that didn't seem to fix the linker errors in the 64-bit builds at all.I'm wondering, did you build the GStreamer libs you're using yourself? If so, what configuration did you use (if I may ask)? Thanks in advance for any assistance you can bring.