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

Cannot record the video with MMC

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.0 Beta2
    • Multimedia
    • None
    • 2024wk10FOQtforAndroid

    Description

      MacOS 14.3

      Qt Creator 12.0.1

      Qt 6.7.0-beta2

       

      Device: Samsung Galaxy S22 13.0

      Steps to reproduce:

      1. Open and run camera example on Android device - https://doc.qt.io/qt-6/qtmultimedia-camera-example.html
      2. Select file and change settings.
      3. Change file format to Matroska Media Container.
      4. Try to record the video.

      Expected: The video is recorded.

      Actual: "Cannot start writing the stream" message appears.

      Reproducibility:  100% **

       

      W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPEN for client org.qtproject.example.camera API Level 2
      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.
      I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client org.qtproject.example.camera API Level 2
      I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPEN for client org.qtproject.example.camera API Level 2
      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.
      I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client org.qtproject.example.camera API Level 2
      I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPEN for client org.qtproject.example.camera API Level 2
      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.
      I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client org.qtproject.example.camera API Level 2
      I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPEN for client org.qtproject.example.camera API Level 2
      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.
      I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client org.qtproject.example.camera API Level 2
      I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPEN for client org.qtproject.example.camera API Level 2
      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

        Issue Links

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

          Activity

            People

              artemiy Artem Dyomin
              lkos Łukasz Kosiorowski
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes