<div>The AVI file has prolly a broken index info.</div><a href="http://wiki.videolan.org/WindowsFAQ-1.0.x#Can_I_fix_those_broken_AVI_files_permanently.3F">http://wiki.videolan.org/WindowsFAQ-1.0.x#Can_I_fix_those_broken_AVI_files_permanently.3F</a><br>
<br><div class="gmail_quote">2010/6/9 Mehmet Kaplan <span dir="ltr"><<a href="mailto:mehmetkpln@gmail.com">mehmetkpln@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<br>
I'm developing a video player application using libvlc 1.1.0.<br>
I have an avi video file with format MJPG.<br>
libvlc_media_player_get_length function returns 1 second for the total<br>
length of video. But original length is 19 seconds.<br>
When I try to open video file with installed VLC Player (1.0.2) on my<br>
computer, program pops up following dialog:<br>
<br>
*******************************************************************<br>
---------------------------<br>
AVI Index<br>
---------------------------<br>
This AVI file is broken. Seeking will not work correctly.<br>
Do you want to try to fix it?<br>
<br>
This might take a long time.<br>
*******************************************************************<br>
<br>
When I choose to fix the video file, seeking is correct and video<br>
length is shown 19 seconds on VLC Player.<br>
But when i choose not to fix, length is 1 second such as in my program.<br>
What is the problem in this avi video file, how VLC Player fixes this<br>
file and how can I do the same thing VLC Player does?<br>
<br>
Thanks in advance.<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</blockquote></div><br>