Hi,
Our company is planning to use the rock5b to power up smart mirror devices. Our use-case requires 60FPS for the Camera Preview but on android we are getting only 30 FPS.
Here’s our current setup:
release: Android12_rkr14_20240419 (We’re using the GMS Package)
Camera Module: Radxa Camera 4k with Sony IMX415 Sensor capable of up-to 90FPS.
Camera API: Android CameraX & Camera2 API.
Reproducing the issue:
One of the fastest way to check the capabilities is to run this piece of code:
val cameraManager = getSystemService(Context.CAMERA_SERVICE) as CameraManager
cameraManager.cameraIdList.forEach {
cameraId ->
val characteristics = cameraManager.getCameraCharacteristics(cameraId)
val configs = characteristics.get(CameraCharacteristics.CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES)
configs?.forEach { range ->
Log.d("CameraFPSRange", "Available FPS range: ${range.lower} - ${range.upper}")
}
}
Which gives the following output:
Available FPS range: 15 - 30
Available FPS range: 30 - 30
Some other ways we have tried and got similar results:
- Ran the Camera2 API Probe App from PlayStore
- Used the Camera object from cameraProvider in CameraX library to see supported FPS
Any help regarding this matter would be much appreciated as it’s hindering us from implementing some of the key features of the product.
I’ve also opened an issue on git but not sure if those are being monitored?
Thanks!