camera-samples icon indicating copy to clipboard operation
camera-samples copied to clipboard

[Camera2Video] Pixel 5 4K cannot record

Open ZacharyTech opened this issue 2 years ago • 1 comments

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:

  1. Pixel 6 Pro performs as expected
  2. Add CaptureCallback#onCaptureFailed in here to get CaptureFailure#REASON_ERROR

ZacharyTech avatar Dec 29 '21 12:12 ZacharyTech

Thank you for reporting the issue: will take a look at it (I have not get chance to look at Camera2 examples).

ggfan avatar Jan 11 '22 16:01 ggfan