Broken/Fixing an AVI Index.

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
silentmatt

Broken/Fixing an AVI Index.

Postby silentmatt » 17 Apr 2006 00:05

I'm running the universal VLC (on an Intel iMac) and am working with one particular avi...

The problem is: whenever I open the file, I get a message from VLC stating "This AVI file is broken. Seeking will not work correctly. Do you want to try to repair it (this might take a long time)?"

I click "yes" and a few seconds later, the file is playing fine.

My question is, this happens EVERY time I play this file. Is there someway I can get VLC to repair the file and then save it somehow? I will be needing to distribute this file to my coworkers and want it to be playable when it is received.

Any help would be greatly appreciated!!!

Matt.

Tholek
New Cone
New Cone
Posts: 6
Joined: 08 Jun 2005 02:42

Postby Tholek » 14 May 2006 12:33

Same here!

How can you save the repaired file? Is it cached somewhere?

WLGades

Postby WLGades » 17 May 2006 13:29

I'm interested in the same thing, actually. Anyone have any ideas? Worst case I dive into the source code, but I thought I'd ask first.

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 17 May 2006 20:47

"repair" is actually in incorrect term. VLC doesn't repair the file, it calculates information that normally is stored in the "index" of the avi file. There is no QUICK way to store this in VLC, so you would need to "remux" the entire file with the "stream output" part of VLC. However the avi "writer" is incomplete and broken. So you cannot save it.

(usually this means the file is incompletely downloaded anyways, and you should toss it.)
Don't use PMs for support questions.

WLGades

Postby WLGades » 18 May 2006 04:55

"repair" is actually in incorrect term. VLC doesn't repair the file, it calculates information that normally is stored in the "index" of the avi file. There is no QUICK way to store this in VLC, so you would need to "remux" the entire file with the "stream output" part of VLC. However the avi "writer" is incomplete and broken. So you cannot save it.

(usually this means the file is incompletely downloaded anyways, and you should toss it.)
Heh, unfortunately I can't get the rest of the file, so I have to live with what I have. Do you have any advice on how to remux it then? I tried using VirtualDub but the sound only worked for the first 2/3rs of my file, while VLC was successful all the way through. Is there any way to just save the audio stream then combine the two?

RGP

Re: Broken/Fixing an AVI Index.

Postby RGP » 26 May 2006 11:40

I'm running the universal VLC (on an Intel iMac) and am working with one particular avi...

The problem is: whenever I open the file, I get a message from VLC stating "This AVI file is broken. Seeking will not work correctly. Do you want to try to repair it (this might take a long time)?"

I click "yes" and a few seconds later, the file is playing fine.

Matt.
I have the same problem, beginning vlc 0.8.5 (update 6 May 2006) the dialog box (as Matt described) raise when opening avi file over http (streaming) that hosted by apache, and this becoming annoying when playing multiple avi files (in playlist).

how to suppress the dialog box or set it into default action (hit button “No”)?


thanks,

RGP

eAi
Blank Cone
Blank Cone
Posts: 51
Joined: 04 Jun 2005 17:11

Postby eAi » 26 May 2006 16:11

There are some apps out there (at least for windows) that will fix avis, try one of them.

RichardPrice

Postby RichardPrice » 27 May 2006 21:24

Is there anyway at all to turn this off, as its occuring for every single one of the xvid and divx files I have created myself using mencoder and ffmpeg (couple hundred). They all play fine, and they all worked without fail under older VLC versions, but every single one pops up this annoying dialog on 0.8.5 OSX Intel (not tried PPC, can if someone wants).

So from where Im standing, its a problem with VLC, not the media and a solution would be muchly appreciated :)

jiji

Postby jiji » 09 Jun 2006 06:05

There is nothing to fix. In VLCs newest version they added this crap, god knows why.


Easy fix, download the one earlier version. No problems

havarill
New Cone
New Cone
Posts: 7
Joined: 20 May 2006 07:39
Location: Bergen
Contact:

Postby havarill » 10 Jun 2006 23:34

Yeah,

I often use VLC to watch .avi's before they're fully downloaded so this dialogbox is really annoying. I know the file is not complete and I never want to fix it. There is no problem watching the file anyway.

I would really like an option in the preferences dialog to disable this feature. That's a better solution than to downgrade anyhow...

Regards...

Guest

Postby Guest » 13 Jun 2006 10:39

I have thrown a couple of different fixer apps at a file that throws this error. They complete and either indicate there was nothing found that needed fixing, or that the repair succeeded -- but the repaired file throws the same error.

Is this a real error or just a VLC bug? If it's real, what can be done to repair the file?

yoann
Cone that earned his stripes
Cone that earned his stripes
Posts: 212
Joined: 04 Feb 2005 14:58
Location: Waltham, MA, USA
Contact:

Postby yoann » 13 Jun 2006 13:56

Your video file is just missing some part that VLC asks you to recalculate (the index, so that you can seek).

This message cannot be turned off for now, but this will be changed for the next release.

Auron

Postby Auron » 14 Jun 2006 22:43

For fixing .avi files on my PB I use D-Vision 3, found on Apple's site under downloads.

gg

WTF!!

Postby gg » 18 Jun 2006 16:08

This is a major blunder on the vlc developer's part. Guess we gotta wait a couple months b4 this is fixed.

bengal

how to fix error repair file

Postby bengal » 24 Jun 2006 23:07

I had this same problem with every file I tried to play. I downloaded this new version about 6 times and every new install of the 8.6 had this problem. I finally found 8.4 version and works perfect :D

brummy

ffmpegX

Postby brummy » 25 Jun 2006 12:14

Whenever I have problems with vid files on OSX, I try ffmpegX to see if they can be fixed. This software is freeware and works with a multitude of video files and audio files.

Rami

VLC Command Line - AVI Index

Postby Rami » 29 Jul 2006 10:01

I think VLC should add a command line argument to enable (default)/disable prompting the user for repairng the AVI file.

snix

Postby snix » 13 Aug 2006 06:47

it appears 0.8.5 has problems reading the index of older codecs like DIV3. you can see the codec property of the video under the Properties -> Stream 0.

0.8.4 does not have this problem.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 42 guests