[MPlayer-dev-eng] dynamic avi index building

D Richard Felker III dalias at aerifal.cx
Sat Mar 30 02:55:47 CET 2002


i've got an idea i wanted to run past you guys and see how feasible
this sounds in the framework of the current mplayer avi demuxer.
building an index at startup when the file is missing its index takes
a good deal of time all at once before the movie starts playing, which
is generally negative from a user interface perspective. what if,
instead, we had an option to have the avi demuxer build the index as
it plays the file. this would make seeking backwards immediately
possible, and with a simple hack to demux ahead on failed forward
seeks, it would make seeking forward possible too. something like this
might eventually be desirable anyway for other reasons -- for example,
when streaming and saving a movie at the same time, as a browser
plugin or something.

any thoughts on this? given some guidelines i might be able to
implement it, or if someone else is interested in doing it, that'd be
even better!

rich





More information about the MPlayer-dev-eng mailing list