Skip to content

Rock 5b Official 4k Camera Module Low FPS on Android #54

@physxP

Description

@physxP

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: https://github.com/radxa/manifests/releases/tag/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
  • 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.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions