Fixed
Status Update
Comments
fu...@google.com <fu...@google.com>
wu...@google.com <wu...@google.com>
sc...@google.com <sc...@google.com>
ap...@google.com <ap...@google.com> #2
Hi Ed, Thank you so much for these suggestions. I've been reviewing them and merging them in. Hopefully it should be live. I've included a thank you note too in the article.
sh...@gmail.com <sh...@gmail.com> #3
Great! Thanks a lot, I'll look for the live updates soon!
le...@google.com <le...@google.com> #4
Thanks for reporting this bug. The solution will be included in CameraX 1.1.0-alpha12 release.
The release status can also be tracked on
ap...@google.com <ap...@google.com> #5
Project: platform/frameworks/support
Branch: androidx-main
commit 559b1229074e25008a777b9208c97cadfda57a14
Author: leo huang <leohuang@google.com>
Date: Wed Nov 24 19:54:08 2021
Fix Preview color line issue when recording UHD video on Pixel1
aosp/1892815 only can fix Preview + VideoCapture, but Preview + ImageCapture + VideoCapture has the same problem when ImageCapture surface is in front of Preview surface while creating CameraCaptureSession. The workaround put Preview in front of both ImageCapture and VideoCapture.
Bug: 205340278
Test: Manually testing
Change-Id: Id215db3fe726adc6e0a320bbcc860fbcb6d14c13
M camera/camera-core/src/main/java/androidx/camera/core/internal/compat/quirk/SurfaceOrderQuirk.java
M camera/camera-core/src/main/java/androidx/camera/core/internal/compat/workaround/SurfaceSorter.java
M camera/camera-core/src/test/java/androidx/camera/core/internal/compat/workaround/SurfaceSorterTest.kt
https://android-review.googlesource.com/1901413
Branch: androidx-main
commit 559b1229074e25008a777b9208c97cadfda57a14
Author: leo huang <leohuang@google.com>
Date: Wed Nov 24 19:54:08 2021
Fix Preview color line issue when recording UHD video on Pixel1
aosp/1892815 only can fix Preview + VideoCapture, but Preview + ImageCapture + VideoCapture has the same problem when ImageCapture surface is in front of Preview surface while creating CameraCaptureSession. The workaround put Preview in front of both ImageCapture and VideoCapture.
Bug: 205340278
Test: Manually testing
Change-Id: Id215db3fe726adc6e0a320bbcc860fbcb6d14c13
M camera/camera-core/src/main/java/androidx/camera/core/internal/compat/quirk/SurfaceOrderQuirk.java
M camera/camera-core/src/main/java/androidx/camera/core/internal/compat/workaround/SurfaceSorter.java
M camera/camera-core/src/test/java/androidx/camera/core/internal/compat/workaround/SurfaceSorterTest.kt
Description
The preview starts behaving abnormally while recording starts in 16:9 on a Pixel 1. Random color lines just randomly flash on the phone screen.
Here's a recording of this issue:https://matrix-client.matrix.org/_matrix/media/r0/download/matrix.org/dCaWZuidryOOHNCsBTPJEpjb
To quickly test the camera app, here's the link to the repository of our open-source camera app:https://github.com/GrapheneOS/Camera
(The apk can be obtained from the releases section too [present in the right column])
Thanks a lot for the help and support!
Regards, Mohit