extracting keyframes from damaged video file
Try running the file through recover_mp4_to_h264, assuming video codec is H.264. You will need to supply a good reference file i.e. with valid header, of the same type as the damaged one.