Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recorded some video on my PC using a webcam, and got an .avi file. My computer lost power while it was recording, so I can't view the contents of the file.

The file is about 4GB in size. The video players I tried show only a picture when they open it. The video files resulted from using "fix videos software" were similar. Extracting photos using "extract frames software" gives only five frames. Viewing the file as a binary shows (10f695f0)x lines of data each containing 32 hex values, for a total of 9,107,062,272 hex values. The video's frame rate and dimension are known.

How can I restore my video? I would be happy with a programming solution, a software package... anything that works.

share|improve this question

migrated from Aug 30 '11 at 11:22

This question came from our site for professional and enthusiast programmers.

Look at VLC, it can play prettymuch anything, and can write videos to disk. – George Duckett Aug 30 '11 at 9:20

Try running it through ffmpeg, making use of the -er flag.

From the man page:

-er n
Set error resilience to n.
1 FF_ER_CAREFUL (default)

share|improve this answer

You must log in to answer this question.