How to fix corrupted. Avi file

Hello, does anyone know of some software that will fix a corrupted avi file?
Ive tried a few at i found i found via google but they dont seem to even recognise the file type.

Basically my system was recording live footage from our cctv and we had a power cut as the incident was occurring.

Our system normally automatically puts a .avi file in a designated directory but the .avi file that has been put in the dir will not play of any player that i have.

This footage is so important.  What can we do please?

Thank you

P.S. we dont mind paying for some software to do this
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Tom CieslikIT EngineerCommented:
Fixing streaming file is almost impossible.
There is some free software but you probably have try it already.

You can try some converting software and try to convert to different format, so if you'll get lucky converter will open file convert whatever is in it and close file, since your file is not closed correctly so there is no information about bit rate , resolution,,, etc...

You can also try some video editor and try to load this file into it.
If you don't have I'm using Sony Vegas and if you want please let me know, You can upload file to my computer and I can try to help you.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bede123Author Commented:
Ok thanks for reply. The one thing i havent tried is editing software.

Ill report back soon. Thank you
Dr. KlahnPrincipal Software EngineerCommented:
As Tom said.  Since the file was not closed properly, the header block is not there.  This contains information about the video codec, bitrate, keyframes, audio codec, bitrate, and so on ... all the information that a target system needs to figure out how to play the file.  Without that, it's just a bunch of bits.

You could try splicing a header block from a good file from the same device into this corrupt one and that might give enough information to recover part of the file. But that is an extremely large "might".

The situation is complicated by the fact that this is a file from a surveillance system.  Many of them use non-standard compression or codecs.  That's fine as long as the files are intact, but when a problem occurs it becomes impossible to work on damaged files using standard video tools.

Whatever you do, do not tamper with the original file.  Make copies of it and work on the copies.
bede123Author Commented:
thanks guys. tried everything but it looks like its a no go.... unless i can get GCHQ involved lol.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.