What is happening
MP4, MOV, MXF, and camera-specific formats store media streams plus metadata that tells software how to find and decode frames. An interrupted close can leave sample tables or indexes incomplete even when much of the encoded stream survives. Fragmented recording and spanning across files or cards make simple header replacement unreliable.