Broken AVI files

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
cecile
Blank Cone
Blank Cone
Posts: 14
Joined: 28 Jul 2007 03:42

Broken AVI files

Postby cecile » 22 Nov 2007 00:45

Hi there, I have an AVI file that I'd like to play, however when I open it, I get the following message:

"AVI Index
This AVI file is broken. Seeking will not work correctly. Do you want to try to repair it (this might take a long time)?
Yes No Cancel"

It does indeed take ages to repair, and I've tried this, but when I tried to open the avi again to see whether it worked, it again asked me to repair it... If I click on No, it will just play a few seconds then close.

Is there a way for me to permanently fix the file? At the worst, I would just need to view it once...

Thanks,

Cecile.

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: Broken AVI files

Postby Arite » 22 Nov 2007 01:05

You might want to try using VirtualDub - a powerful AVI editing tool, and it is able to perform a brute-force AVI index rebuild fairly fast. When you open it in VirtualDub is should rebuild the index, then when it have finished select:
Video >> Direct Stream Copy

Then go to:
File >> Save AVI

And save it.

Hopefully you should then be able to view the new file in VLC without a problem.

Cheers, Arite.
Don't use PMs for support questions.

cecile
Blank Cone
Blank Cone
Posts: 14
Joined: 28 Jul 2007 03:42

Re: Broken AVI files

Postby cecile » 22 Nov 2007 01:55

Hi Arite,

thanks for the link! I have downloaded it and managed to go through the rebuild, but at the end it came up with an error:

VirtualDub Error
Couldn't locate decompressor for format 'XVID' (unknown)
VirtualDub requires a Video for Windows (VFW) compatible codec to decompress video. DirectShow codecs, such as those used by Windows Media Player, are not suitable.
OK

Does it mean that I'm missing a file? If so, would you happen to know how I can identify the missing codec and where I can download it from?

Cheers,

Cecile.

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: Broken AVI files

Postby Arite » 22 Nov 2007 09:00

Oh right, yes - you may need to download the XviD (or "Xvid", as it is now) DirectShow codec:
http://www.digital-digest.com/software/ ... id=0&did=1

This won't affect VLC's playback since it uses its own codecs, however is required for some applications which use DirectShow (e.g. VirtualDub, Windows Media Player).

Cheers, Arite.
Don't use PMs for support questions.

cecile
Blank Cone
Blank Cone
Posts: 14
Joined: 28 Jul 2007 03:42

Re: Broken AVI files

Postby cecile » 22 Nov 2007 09:48

Thank you so much Arite! !!

Cheers,

Cecile.

MajorD
New Cone
New Cone
Posts: 2
Joined: 02 Dec 2007 23:11

Re: Broken AVI files

Postby MajorD » 03 Dec 2007 00:07

I don't want to fix the file because I don't need the index. Moreover, I have lots of these AVI files and will continue to get more and more each day because it's the default movie mode of my Canon SD870 camera.

Rather than fix the file, how can I suppress this error message? I found a switch to suppress the error message in version "vlc-0.8.6c-win32.exe" but I can't find the same switch in version "vlc-0.8.6d-win32.exe".

Any suggestions?

N/M - just found the answer within the forum. I'll post a link anyway since it might help others in the future...
viewtopic.php?f=14&t=20841&p=121762&hil ... en#p121796

Jayme65
New Cone
New Cone
Posts: 3
Joined: 11 Mar 2008 09:59

Re: Broken AVI files

Postby Jayme65 » 11 Mar 2008 10:05

ou might want to try using VirtualDub - a powerful AVI editing tool, and it is able to perform a brute-force AVI index rebuild fairly fast. When you open it in VirtualDub is should rebuild the index, then when it have finished select:
Video >> Direct Stream Copy

Then go to:
File >> Save AVI

And save it.

Hopefully you should then be able to view the new file in VLC without a problem.
Arite,
I did as you wrote..and indeed VLC can now open it without any error message..BUT I cannot seek in the file, cannot move the play head or the files go directly to the end.
Could you please explain me what is happening? and a possible fix?
Thnaks very much


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 43 guests