LarryBanks
lvl.1
Canada
Offline
|
Did another flight yesterday, second file wasn't playable again, even though I stopped recording before even landing, long before powering down.
This is going to get a bit nerdy: I opened the old hex editor to see what was going on in the file... Fun thing about MP4 files is that they conform to an ISO standard, and there are rules about what should be where.
In this case, byte 32 of the file contains the hex offset to the "movie box", the part of the file that tells the decoder where the information about what exactly is in the file and how to decode it is, which in MP4s is stuffed into the end of the file. In this file, it was empty (00 00 00 00)... I searched in the file for the MOOV box, got the offset, put the value into byte 32 (59 99 57 58 in my case, different for every file), save it, and voila! Working MP4 file!
So in this case, the gimbal isn't correctly finalizing the second file for some reason... Other failures I've seen are random corruption of frames, which breaks the decode. That wasn't the case here - that might be caused by underperforming memory cards, or something else. Will continue poking around in the hex editor.
|
|