Click here to Skip to main content
Click here to Skip to main content

Solve Corrupt AVI due to sudden interruption or halt in recording

, 22 May 2011
Rate this:
Please Sign up or sign in to vote.
Why sometimes AVI files captured through video camera recording cannot be opened when the camera loses power (similar case for downloaded AVI when internet goes off) and how to solve it
If some of you are having problems with corrupt AVI due to sudden halt in recording... don't lose hope. The reasons for such halts can be, your camera losing power or memory card facing data overflow error or maybe while downloading an AVI from the internet, partial data is retrieved due to a break down in internet connectivity.
 
Usually, in these cases, what happens is that the data remains intact but the AVI file header which is supposed to be written at the end of the file, doesn't get printed.
 
So all you have to do is place a proper AVI header at the end of the data and you should be able to view the AVI file in your media players without much problem.
 
Anyway, here is a nice site that deals with this situation:
http://forum.videohelp.com/threads/234499-Steps-to-repair-a-partially-downloaded-avi-that-has-a-missing-header[^].

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Mukit, Ataul
Chief Technology Officer Rational Technologies
Bangladesh Bangladesh
You don't learn patterns, you just code it.
Follow on   Twitter

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 22 May 2011
Article Copyright 2011 by Mukit, Ataul
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid