Log in

View Full Version : Reconstructing huffyuv capture resulting in 1/4 of expected video duration


Tim H
1st May 2005, 15:14
I used VirtualdubVCR to program a capture of 1 hour 35 minutes.
The file is 55.631.872 KB big, Huffyuv YUY2 (predict median) 25fps 768*576, 44,1 KHz 16bit stereo pcm uncompressed.
Looking at the filesize it seems the file contains the full 1h 35min of video.

Somewhere something went wrong during capturing, if I open the file with Vdub then Vdub starts reconstructing the missing index block.
When done Vdub tells me 'Avi: Index not found or damaged - reconstructing via file scan'.
The resulting file is only 28 min long. (0:28:02.400 and 42060 frames)

When rekeying the video stream it seems Vdub detects 84120 frames (= only 56 minutes, still not the 95 minutes I programmed)
When done I get to see only 28 minutes of video again.

I've tried to feed the video with Avisynth without succes.
'Avisource()' does the same as if opening with Vdub, 'DirectShowSource' doesn't work at all.
VdubMod does the same as Vdub and gives me 28min video.

I've read similar cases on this forum but no-one found a solution.
Is there anything more I can do or am I screwed?

Tim H
4th May 2005, 11:05
Some info I gathered by using Virtualdub and AVIMaster.

After reconstructing I get 28 minutes of video:
http://users.pandora.be/geen/hex.gif

http://users.pandora.be/geen/brandend vdub.gif

Reading basic AVI info with AVIMaster:
http://users.pandora.be/geen/AVIMaster.gif

Is the AVI header broken?