Advanced Search
Welcome to Omgili,
Omgili (Oh My God I Love It ;) is a search engine for discussions. With Omgili you can find answers and solutions, debates, discussions, personal experiences, opinions and more... To learn more about Omgili click here.

This is a complete preview of the discussion as it was indexed by Omgili crawlers. Use this preview if the original discussion is unavailable.
Click here to view the original discussion.

The VideoLAN Forums • View topic - VLC 1.0.2, wrongly reports broken AVI index

AVI file plays perfectly and no problem is reported by other programs like VDUB and GSPOT. Investigating the problem, it seems that VLC bases its "broken index" check on comparing the video header length and the index-length.

Because the first calculation is more unprecise that the second it causes "the broken index" message - a bit misleading - the index is fine. example: video 1 (orginal) total frames = 41958 microsecperframe = 33367 length = 1400012586 uS, or 1400,012586 s stream-index: total frames = 41958 rate = 30000dec scale = 3E9H () length = 41958*1 * 3E9 / 30000 = 1399998600 in seconds 1399,998600 truncated 1400 in the first case and 1399 in the second case.

, VLC player therefore wrongly reports "broken index" video 2 (last video frame editted out)

Interesting analysis.

Jean-Baptiste Kempf http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan VLC media player developer and Sites administrator If you want an answer to your question, just be specific and verbose.

Don't PM.

Thanks for the analysis, it has been fixed by [a2671feb378ec308e42a0e50ce9bfc41262baf9c] in master.

Great, thanks