A kind of file repair method and device based on avi format file structure
A technology of format file and repair method, applied in electrical components, digital video signal modification, image communication and other directions, can solve the problem that important video information cannot be recognized, used, and cannot be completely read the important sector codes in the header of AVI format files, Problems such as bad sectors to achieve the effect of important video information recovery
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] like figure 1 Shown, a kind of file repair method based on AVI format file structure, described method may further comprise the steps:
[0036] Step 1: Determine the encoding type of the corrupted file;
[0037] Step 2: According to the encoding type of the damaged file, make a source AVI file of the same encoding type;
[0038] Step 3: Modify the source code AVI file code to generate the source code repair file;
[0039] Step 4: Merge the source code repair file and the damaged video file to get a new AVI repair file;
[0040] Step 5: Use the player to open the AVI repair file, and determine the original input size, resolution, bit rate, and frame rate information;
[0041] Step 6: Transcode the AVI repair file, fill in the size, resolution, bit rate, frame rate information, output a new AVI file, and complete the AVI file repair.
[0042] Specifically, in step 1, determining the code of the damaged file includes: using WINHEX software to open the damaged file, and...
Embodiment 2
[0053] The second embodiment of the present invention provides a file restoration device based on the AVI format file structure, comprising:
[0054] The encoding type determination module is used to determine the encoding type of the damaged file; the encoding type determination module uses the WINHEX software to open the damaged file, and searches for "WMV", "MPG", "XIVD", "DVIX", "AVC" through the text search function and other characters to determine the corrupted file encoding type.
[0055] The source code file creation module is used to create source AVI files of the same encoding type; the source code file creation module creates a source code file with the same encoding with a length of 5 seconds according to the encoding type of the damaged file, and then jumps to the end of the source code file, looking up for the last The starting offset address of an index table, the offset address 0 is selected as the beginning of the block, and a new file is generated as the sou...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com