摘要 |
An error recovery method for video recording is provided. The method is suitable for recovering data of a disk when an error occurs during video recording. The method includes following steps. First, a last writable address of the disk is obtained. Then, a file system last written onto the disk is located by searching forward from the last writable address. Next, a new file system is generated based on the file system and a data segment of the defected recording. Finally, the new file system is written onto the disk so as to recover the data on the disk. Therefore, the data currently written onto the disk and the existing data in the disk can be recovered.
|