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

Camera with ffmpeg backend freezes the application

    XMLWordPrintable

Details

    • Android
    • c41a483e6 (dev), f5408905c (6.7), 966c7b150 (tqtc/lts-6.5)
    • 2024wk20s2FOQtforAndroid

    Description

      To reproduce, run attached example and click start.

      It freezes about halfway of the stack animation and then keeps spamming the output with:

      I CameraManagerGlobal: Connecting to camera service
      W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      E QtCamera2: Image processing taking too long. Let's wait 0,5s more java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      E QtCamera2: Will not wait anymore. Restart camera session. java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      E QtCamera2: Image processing taking too long. Let's wait 0,5s more java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      E QtCamera2: Will not wait anymore. Restart camera session. java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      E QtCamera2: Image processing taking too long. Let's wait 0,5s more java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      E QtCamera2: Will not wait anymore. Restart camera session. java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      E QtCamera2: Image processing taking too long. Let's wait 0,5s more java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      E QtCamera2: Will not wait anymore. Restart camera session. java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      E QtCamera2: Image processing taking too long. Let's wait 0,5s more java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      E QtCamera2: Will not wait anymore. Restart camera session. java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      E QtCamera2: Image processing taking too long. Let's wait 0,5s more java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      

      Attachments

        1. qtbug119472.zip
          2 kB
          Joni Poikelin

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              bartlomiejmoskal Bartlomiej Moskal
              poikelin Joni Poikelin
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes