Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
6.7.0 Beta2
-
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:
- Open and run camera example on Android device - https://doc.qt.io/qt-6/qtmultimedia-camera-example.html
- Select file and change settings.
- Change file format to Matroska Media Container.
- 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
- duplicates
-
QTBUG-126291 [FFmpeg] Recording from camera to MKV (Matroska Multimedia Container) fails with H.265 / H.264 codec.
- Reported
- relates to
-
QTQAINFRA-6104 Qt Test Attack - Q1, 2024
- Open