-
Notifications
You must be signed in to change notification settings - Fork 179
DJI SDK 5.13 - Mini 4 Pro – Unexpected values from CameraKey.KeyVideoResolutionFrameRate #532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Agent comment from YIGUI LIU in Zendesk ticket #136022: I'm sorry I can't see the picture you provided. It seems to be truncated. KeyVideoResolutionFrameRateRange:https://developer.dji.com/api-reference-v5/android-api/Components/IKeyManager/Key_Camera_CameraKey.html?search=keyvideoresolutionframeraterange&i=0&#key_camera_videoresolutionframeraterange_inline We appreciate your email and wish you a wonderful day! °°° |
Dear Yigui Liu, Thank you very much for your reply. Yes, I'm already using the KeyCameraVideoResolutionFrameRateRange key as suggested. However, as mentioned in my previous message, the values it returns do not seem to be accurate or complete. Here is the array of results I'm getting: I'm attaching the screenshot again, hoping it comes through properly this time. Thank you again for your support and have a great day! |
Agent comment from YIGUI LIU in Zendesk ticket #136022: We have found the model of Mini 4 Pro and reproduced your problem. Currently, we have already reported the problem to the MSDK R&D team and are waiting for them to evaluate whether to fix it. I will keep you updated if there is any progress. Best Regards, °°° |
Agent comment from YIGUI LIU in Zendesk ticket #136022: Regarding the inaccurate acquisition of the camera lens video resolution and frame rate range by using KeyCameraVideoResolutionFrameRateRange on the Mini 4 Pro model, the MSDK R&D team has also confirmed that this is a bug, which is expected to be fixed in the MSDK v5.15.0 version. Best Regards, °°° |
I'm using the CameraKey.KeyVideoResolutionFrameRate key to retrieve the supported video resolutions and frame rates on the DJI Mini 4 Pro.
The call returns successfully, but the data seems incorrect or incomplete:
[
{"resolution":22,"frameRate":1},
{"resolution":16,"frameRate":1},
{"resolution":10,"frameRate":1},
{"resolution":4,"frameRate":1},
{"resolution":22,"frameRate":2},
{"resolution":16,"frameRate":2},
{"resolution":10,"frameRate":2},
{"resolution":4,"frameRate":2},
{"resolution":10,"frameRate":4},
{"resolution":4,"frameRate":4},
{"resolution":10,"frameRate":5},
{"resolution":4,"frameRate":5}
]
Mapping these enum values, it corresponds to something like:
Resolution | Frame Rate (fps)
4096x2160 | 24, 25
3840x2160 | 24, 25
1920x1080 | 24, 25, 48, 50
1280x720 | 24, 25, 48, 50
This does not reflect the full list of supported combinations available on the Mini 4 Pro, which should include options like:
4K @ 60fps
1080p @ 60fps
And more
I get the same result both programmatically (via SDK) and using the official SDK Sample App (see screenshot below for confirmation).
Is this a bug or I'm doing something wrong ?
The text was updated successfully, but these errors were encountered: