camera-samples
camera-samples copied to clipboard
[Camera2Video] Pixel 5 4K cannot record
Device: Pixel 5 System: Android 12 (S2B1.211112.006)
Phenomenon 1: Without any modification, select "Back(0) 3840x2160 60 FPS" and the camera has a black screen
Phenomenon 2:
After adding set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, Range(args.fps, args.fps))
in here, "Back(0) 3840x2160 60 FPS" is displayed normally, modifiedFPS is 30 cameras Black screen
Notice:
- Pixel 6 Pro performs as expected
- Add
CaptureCallback#onCaptureFailed
in here to getCaptureFailure#REASON_ERROR
Thank you for reporting the issue: will take a look at it (I have not get chance to look at Camera2 examples).