Skip to main content

Video Stream Freezes at random Photo Capture

Comments

8 comments

  • Jim McAndrew

    Does it happen on a different mobile device?

    0
  • Scott W

    Haven't tested on another mobile device.  Are you suggesting that an iPhone 11pro (A13 cpu) isn't powerful enough for Dronelink?

    I do have an IpadPro-11 gen2 with A12Z chip which (maybe? I think?) is slightly faster than the A13, but at 11" it doesn't fit the Mavic Air 2 controller.  I can look at 3d printing a mount extension or something I guess.

    I'm wondering if the problem might be related to the length of time a "Smart" photo takes -- which can vary a bit, but generally takes longer than a "single" photo.  It is normal (in DJI Fly also) to see a short ~1s freeze when a photo is taken before resuming the live feed.  If that requires any code action when the capture is complete (like an explicit "return to live feed"), then perhaps that is happening before the capture is complete, and failing to restart the live feed?

    I've changed all the "Smart" photos to "Single" in that mission, and will run it a few more times to see if that makes a difference.  The problem is intermittent, so I may need to run it several times to "prove" or "disprove" any difference from the photo type.   If I can figure out a way to mount it, I will also give the iPad Pro 11 a try.

     

    0
  • Jim McAndrew

    Are you suggesting that an iPhone 11pro (A13 cpu) isn't powerful enough for Dronelink?

    No

    I'm wondering if the problem might be related to the length of time a "Smart" photo takes

    Likely

    0
  • Scott W

    After changing all the photos from "Smart" to "Single", I've run the mission twice.  That really isn't enough to be conclusive since the problem was intermittent, so I'll run it a few more times -- but at least in those 2 missions, no freeze occurred.  I'll run it a few more times and report back with results.

    0
  • Scott W

    After changing the captures in the mission (there are 10 captures in a ~7 minute mission) to "Single" mode, I have run the mission (8) times now.  No video freezes.  

    The problem when set to "Smart" was intermittent, and sometimes the mission would complete without any freeze.  But I'd usually get the video freeze at least every 3rd time the mission was run.  Therefore, running it with "Single" (8) times and having zero problems leads me to conclude the freeze is related to taking "Smart" photos.

    The "Single" photo mode executes quickly: The video pauses, the shutter sound is heard, the capture button animates for less than a second, then video feed resumes.  The "Smart" photo mode varies from 1 second to nearly 3 seconds, I guess depending on what process the firmware decides to use for that particular scene and lighting.  Perhaps the long delay isn't always playing well with Dronelink?

    Here is DJI's explanation of what "Smart" does, which presumably is why it can take 2-3 seconds while a "Single" mode photo takes less than 1 second.  I'm assuming that's all done in firmware, since the final photo is stored on the drone's SD.

    • Mavic Air 2 features SmartPhoto, which integrates scene recognition, HyperLight, and HDR into one mode for optimal results. Scene recognition optimizes different camera parameters for various scenes and supports intelligent recognition of five categories: sunset, skies, grass, snow, and trees.  

     

     

    0
  • Jim McAndrew

    The video preview is from the DJI UXSDK, so it sounds like they have a bug wrt smart photos. Will report it to them.

    0
  • Scott W

    Thanks, Jim. 

    Does DJI use that same UXSDK for DJI Fly?  I ask because I've been using DJI Fly for over a year, and have never seen a video freeze there.  But maybe they use something other than the published SDK?

    0
  • Jim McAndrew

    I pretty sure they have a completely different code base.

    0

Please sign in to leave a comment.