Patent attributes
A method and system for repairing a corrupted video file, includes creating, with a processor, a helper file in a storage device; storing, with the processor, static video and audio parameters in the helper file at a beginning of the recording of a video; storing audio sample sizes in the video file during the recording of the video; and prior to playing back the video, reconstructing, with the processor, an index of the corrupted video file using the static video and audio parameters stored in the helper file, video parameters stored in video file and the audio sample sizes stored in the video file; and appending the reconstructed index to the video file.