I have a pack of videos that we're ripped and encoded from old VHS tapes. The pack contains about about 50 episodes, of which 4 of them will not play in Windows Media Center, nor do they have a thumbnail in Windows Explorer (in Windows 7). They just appear as a generic icon and give me a "Windows Media Player encounter a problem while playing the file" error" error.
I opened these all the files in VirtualDub and under "File Properties" I was able to get the encoding information. All the videos (both the playable and non-playable ones) are all using the same XvidMPEG-4 / Fraunhoff IIS MPEG Layer-3 Codecs. The only difference is on the bad files, VirtualDub has the keyframes listed at 1 and gives the following error message when opening:
Quote:[!] AVI: Index not found or damaged -- reconstructing via file scan.
[!] AVI: Invalid chunk detected at 131255520. Enabling aggressive recovery mode.
[!] AVI: Keyframe flag reconstruction was not specified in open options and the video stream is not a known keyframe-only type. Seeking in the video stream may be extremely slow.
I've already confirmed on two different HDDs that the files are not corrupt in downloading, so I'm assuming the problem has to do with the software on my end.
In VirtualDub, if you click 'File > Open Video File' and check the box, lower left, for 'ask for extended option, then check the box for 're-derive keyframe flag' and on the main menu, set 'Video > Direct stream copy' and save the file does it help?
Originally posted by attar: In VirtualDub, if you click 'File > Open Video File' and check the box, lower left, for 'ask for extended option, then check the box for 're-derive keyframe flag' and on the main menu, set 'Video > Direct stream copy' and save the file does it help?
This did indeed work like a charm! However I still did get this error for each of them:
Quote:[!] AVI: Index not found or damaged -- reconstructing via file scan.
[!] AVI: Invalid chunk detected at 131255520. Enabling aggressive recovery
mode.
But they are working now so I can't complain. What exactly did you do to fix them?
Beats me, I just use VirtualDub a lot so I know it sometime helps to clean up bad avi files.
You could also try DivFix - it's specifically designed to repair AVI files that are corrupted - although I can't say one way or the other if it works;I usually get by using VirtualDub.