Status Update
Comments
sc...@google.com <sc...@google.com>
le...@google.com <le...@google.com> #2
I cannot confirm it since I don't have the device, but from the log attached, it seems clearly says that the device doesn't support fps over 30?
ERROR: mImgParams.mFps:60 is bigger than pUserParam.mMaxFps(30)!!
So it might be an issue that the device reports inconsistent available fps ranges.
Just to confirm, have you tried dumping the available fps ranges directly by Camera2 API?
ex:
CameraManager manager = (CameraManager)activity.getSystemService(Context.CAMERA_SERVICE);
String cameraId = manager.getCameraIdList()[0];
CameraCharacteristics characteristics = manager.getCameraCharacteristics(cameraId);
Range<Integer>[] fpsRanges = characteristics.get(CameraCharacteristics.CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES);
Log.d(TAG, "fpsRanges = " + Arrays.toString(fpsRanges));
le...@google.com <le...@google.com> #3
One more question, does the device native camera app can support 60 fps ?
gi...@gmail.com <gi...@gmail.com> #4
One more question, does the device native camera app can support 60 fps ?
Yep it does.
I cannot confirm it since I don't have the device, but from the log attached, it seems clearly says that the device doesn't support fps over 30?
ERROR: mImgParams.mFps:60 is bigger than pUserParam.mMaxFps(30)!!
So it might be an issue that the device reports inconsistent available fps ranges.
Just to confirm, have you tried dumping the available fps ranges directly by Camera2 API?
ex:
CameraManager manager = (CameraManager)activity.getSystemService(Context.CAMERA_SERVICE); String cameraId = manager.getCameraIdList()[0]; CameraCharacteristics characteristics = manager.getCameraCharacteristics(cameraId); Range<Integer>[] fpsRanges = characteristics.get(CameraCharacteristics.CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES); Log.d(TAG, "fpsRanges = " + Arrays.toString(fpsRanges));
Will give a try later on ;D
wu...@google.com <wu...@google.com> #5
Hey there, just checking in – did it help resolve your issue?
Description
Please note: This component is for the CameraX API used in Jetpack. Please DO NOT file Pixel Camera issues here.
Please describe your issue and include details such as the version of CameraX you are using and any relevant logs related to your issue.
// If at all possible, capture an Android logcat (https://developer.android.com/studio/command-line/logcat ) when you're experiencing the issue, preferably while the camera is still active.
CAMERAX VERSION 1.4.0-alpha03
CAMERA APPLICATION NAME AND VERSION: Aperture (https://github.com/LineageOS/android_packages_apps_Aperture ) (+ https://github.com/ItsVixano/android_packages_apps_Aperture/commit/aca406be322ddbf0900d4ee647a04cfbb9a59b1f ), version 13
ANDROID OS BUILD NUMBER: TP1A.220624.014
DEVICE NAME: POCO X4 GT
DESCRIPTION: While recording a video with 60 FPS mode, both the Viewfinder and the actual recorded video are on 30 FPS, and logcat get's filled with this error:
LIST ANY EXPERIMENTAL FEATURES:
STEPS TO REPRODUCE:
OBSERVED RESULTS: As said, While recording a video with 60 FPS mode, both the Viewfinder and the actual recorded video are on 30 FPS
EXPECTED RESULTS: Both Viewfinder and the recorded video should be on 60 FPS
REPRODUCIBILITY: Not applicable
ADDITIONAL INFORMATION: N/A
CODE FRAGMENTS (this will help us troubleshoot your issues): N/A