I have an AVI with DX50 video and MP3 CBR audio streams whose index appears to be broken. It's over an hour long but shows only 45min in AviDemux or PotPlayer. Reaching the end will make it continue to play with time running in negative numbers. Opening the AVI with VLC brings up the fixing AVI index dialogue which after completion plays the full video correctly.
After the initial head scratch why AviDemux would fail to properly rebuild the index, I tried DivFix++ which errors into an infinite loop upon completing its process. A previously reported bug as I read after some googling. I saved the temporary file DivFix++ created though but it was still erroneous, so I ran it through DivFix++ again. It created a playable AVI with correct length but long keyframe intervals and bad seekability. Lots of colour overlays until the next keyframe appears which make everything look terrible.
The way VLC plays the AVI is best and what I want. No colour overlays. I've search quite a bit to find hints at streaming via "Open (advanced)" to save the rebuilt AVI but I can't seem to succeed with this solution as nothing is ever saved anywhere.
Would someone know how to save the properly rebuilt AVI index VLC creates?