creating an AVI index

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prepaq
    Junior Member
    Junior Member
    • Sep 2003
    • 1

    creating an AVI index

    Hello,
    does anyone have more info about AVI headers, indices, how the streams are stored etc?

    I watched an AVI encoded in XVID but there were 2 or 3 bad frames in it. So after watching I tried one of those AVIFix programs that rebuilds the index or something. Stupid me, I didn't backup! Now every program (all kinds of players and editing software, including virtualdub) says it's only 22 minutes (the position of the first bad frame) instead of more than 1 hour. The file is still 700+meg in size, so I guess all data is still there.

    Virtualdub's info:
    32379 frames of video, no delta frames
    56287 frames of audio
    but when I save the audio, it's also only 22 minutes.

    I'm now trying to write my own avifix program, but that doesn't go so well (I get errors when I try to compile the XVID source code) and basically don't know really how AVIs are stored and in what format.

    So is there anyone with tips on how to get my AVI back to normal? Like how to save the sound to a file and maybe get frame by frame back?

    TIA!
Working...