Elginet said:
That's been the case btw, in over. 90 % of the corrupt files I've encountered.
It seem. The camera needs to "finalize" a file much like when you create a DVD and won't (or can't) do that when the camera was shut off by means of powering down the drone, rather than hitting the record button a second time.
On record Vision opens a file to begin streaming data into it. When we manually stop recording the file is closed and the file map of the media (microSD) is updated to make it available to programs. If the file doesn't get closed, say from a power failure, the file map doesn't get updated. Power the Vision ON for 10-secs then OFF again will often close the file, but if the user has further damaged the clip or corrupted a perfectly good clip in an external reader or computer, then the file corruption may be beyond what the camera can remedy.
Additionally, in media files the headers may not get updated to reflect BOM & EOM, date & time, duration, properties, etc. Fortunately if we know the clip format (by suffix name and/examination of header) we can often fill-in the missing info because we know where they're supposed to be) then find the BOM & EOM and update pointers so we can scrub the clip's timeline. Finally, the file's flags are updated so it becomes visible again and reappears in Explorer or Finder or their equivalent in your OS of choice.
As the "streaming" is done in "groups of pictures" or "packets", if a corrupt clip has an incomplete GOP at the end, it will usually be deleted, hence a repaired clip often coming up shorter than the original by several seconds or more.
What I'm hoping DJI will try to do in a future upgrade is to detect when a user has initiated a Power-OFF request at the battery and stop any recording in progress before shutting the system down. This is one of the advantages of using a serially-linked smart battery and a camera that can be controlled over IP.
Another way to accomplish this is to allow the pilot to send a request to Power-OFF VISION from the Vision app, the app can then send a request to stop record followed by a request to Power-OFF and your clips would be fine.
iDrone :ugeek: