Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-136493

FFmpeg not properly configured with multi-abi builds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • 6.8.4, 6.9.2, 6.10.0 Beta3
    • 6.8.2, 6.9.0, 6.10
    • Build System: CMake
    • None
    • Windows building for Android multi-ABI
    • Android, Windows
    • 7aa2d1f5d (dev), a867a16ef (dev), c2915c84c (6.9), 38c76f704 (6.9), 83ac9c670 (tqtc/lts-6.8), 9898b1d01 (tqtc/lts-6.8)
    • 2025wk22s1-2QtforAndroid

      When building a multi-abi APK in Windows, using CMake with:

      QT_ANDROID_ABIS "armeabi-v7a;arm64-v8a"
      

      Then the resulting APK is broken. In particular, when I browse the APK for resources.arsc (using Android Studio), I see there is an "array" block with the property "load_local_libs". Looking at the contents, I see that "libplugins_multimedia_ffmpegmediaplugin_arm64-v8a.so" is only present for one of the ABIs.

      The result is that you cannot use the camera on the secondary platform, i.e. if you built with arm64-v8a, then the camera will fail to load on armv7 devices. All other functionality seems to work though.

        1. declarative-camera.zip
          731 kB
          Justin Steventon
        2. analyzer_output.txt
          17 kB
          Alexey Edelev
        For Gerrit Dashboard: QTBUG-136493
        # Subject Branch Project Status CR V

            semlanik Alexey Edelev
            justin.steventon Justin Steventon
            Maycon Stamboroski Maycon Stamboroski
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                There is 1 open Gerrit change