dji-sdk / Mobile-SDK-iOS

DJI Mobile SDK for iOS: http://developer.dji.com/mobile-sdk/
Other
576 stars 255 forks source link

H20T New Media File Name Errors #486

Open dylandrones opened 2 years ago

dylandrones commented 2 years ago

Hello,

When taking images with the H20T on the M300RTK, there a few issues with the naming of the images.

In DJICameraDelegate's method: didGenerateNewMediaFile, the DJIMediaFile object's file name is in the format of "_DJI001.JPG".

- (void)camera:(DJICamera *_Nonnull)camera didGenerateNewMediaFile:(DJIMediaFile * _Nonnull)newMedia

The issues with that name are:

  1. The image names found on the sd card are of the format "_DJI_20210727151458_0015Z.JPG", "_DJI_20210727151458_0015W.JPG", and "_DJI_20210727151458_0015T.JPG" for zoom, wide, and thermal respectively. So the camera delegate is returning a different name of the files then is found on the sd card.

  2. Even in the wrong naming format, the numbers have random jumps in indexing. For example, these are series of photos taken in order:

New File Created: DJI_0748.jpg at 2021-07-28 17:05:04 New File Created: DJI_0750.jpg at 2021-07-28 17:05:06 New File Created: DJI_0749.jpg at 2021-07-28 17:05:06 New File Created: DJI_0764.jpg at 2021-07-28 17:05:16 New File Created: DJI_0766.jpg at 2021-07-28 17:05:16 New File Created: DJI_0765.jpg at 2021-07-28 17:05:16 New File Created: DJI_0780.jpg at 2021-07-28 17:05:28 New File Created: DJI_0782.jpg at 2021-07-28 17:05:28 New File Created: DJI_0781.jpg at 2021-07-28 17:05:28 New File Created: DJI_0796.jpg at 2021-07-28 17:05:38 New File Created: DJI_0798.jpg at 2021-07-28 17:05:40 New File Created: DJI_0797.jpg at 2021-07-28 17:05:40 New File Created: DJI_0812.jpg at 2021-07-28 17:05:48 New File Created: DJI_0814.jpg at 2021-07-28 17:05:48 New File Created: DJI_0813.jpg at 2021-07-28 17:05:48 New File Created: DJI_0828.jpg at 2021-07-28 17:05:58 New File Created: DJI_0830.jpg at 2021-07-28 17:06:00 New File Created: DJI_0829.jpg at 2021-07-28 17:06:00

Notice the jumps of about 10 between the groups of three (wide, zoom, thermal) images.

I've looked into DJILens, and there is no new delegate method for media generation. Is there a new delegate method I need to be referencing?

Let me know if you need any more information.

Environment: DJIPilot App Version: V2.4.1.7(M300) DJISDK 4.15 Aircraft: 02.04.0102 RC: 02.04.0103

Thanks!

dji-dev commented 2 years ago

Agent comment from Luce Luo in Zendesk ticket #50985:

Dear Customer,

Thank you for contacting DJI. Sorry about it, I have reproduced this issue and escalated it to the engineer to investigate futher. It will cost some time and we will contact you again once any progress.

Thanks,

Luce Luo DJI Developer Support

°°°

dji-dev commented 2 years ago

Agent comment from Luce Luo in Zendesk ticket #50985:

Dear Customer,

Thank you for contacting DJI. Sorry for the late reply. The engineer reply that this issue will be fixed in the next 4.15.2 version, but there is no exact date, please attention to the official release.

Thanks,

Luce Luo DJI Developer Support

°°°

dji-dev commented 2 years ago

Agent comment from Luce Luo in Zendesk ticket #50985:

尊敬的开发者,感谢您联系DJI 大疆创新 由于github不是我们主要的咨询渠道,您的问题可能跟进不及时。我们建议您通过填写表单( https://djisdksupport.zendesk.com/hc/zh-cn/requests/new )向我们反馈问题。或者您也可以在论坛发帖,与其它开发者交流。论坛链接:https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

Dear developer, thank you for contacting DJI. Since github is not our main consultation channel, your questions may not be followed up in time. We recommend that you fill in the form (https://djisdksupport.zendesk.com/hc/en-us/requests/new) to report problems to us. Or you can post in the forum to communicate with other developers. Forum link: https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

°°°