Page 1 of 1
Broken/Fixing an AVI Index.
Posted: 17 Apr 2006 00:05
by silentmatt
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.
Posted: 14 May 2006 12:33
by Tholek
Same here!
How can you save the repaired file? Is it cached somewhere?
Posted: 17 May 2006 13:29
by WLGades
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.
Posted: 17 May 2006 20:47
by The DJ
"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.)
Posted: 18 May 2006 04:55
by WLGades
"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?
Re: Broken/Fixing an AVI Index.
Posted: 26 May 2006 11:40
by RGP
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
Posted: 26 May 2006 16:11
by eAi
There are some apps out there (at least for windows) that will fix avis, try one of them.
Posted: 27 May 2006 21:24
by RichardPrice
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
Posted: 09 Jun 2006 06:05
by jiji
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
Posted: 10 Jun 2006 23:34
by havarill
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...
Posted: 13 Jun 2006 10:39
by Guest
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?
Posted: 13 Jun 2006 13:56
by yoann
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.
Posted: 14 Jun 2006 22:43
by Auron
For fixing .avi files on my PB I use D-Vision 3, found on Apple's site under downloads.
WTF!!
Posted: 18 Jun 2006 16:08
by gg
This is a major blunder on the vlc developer's part. Guess we gotta wait a couple months b4 this is fixed.
how to fix error repair file
Posted: 24 Jun 2006 23:07
by bengal
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
ffmpegX
Posted: 25 Jun 2006 12:14
by brummy
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.
VLC Command Line - AVI Index
Posted: 29 Jul 2006 10:01
by Rami
I think VLC should add a command line argument to enable (default)/disable prompting the user for repairng the AVI file.
Posted: 13 Aug 2006 06:47
by snix
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.