[MPlayer-users] Re: lavc-Options for *BEST* quality?

Diego Zuccato diego at otello.alma.unibo.it
Thu Feb 13 15:22:47 CET 2003

D Richard Felker III wrote:

> How does such a 'micro-index' help you? You still have to read thru
> the whole file to seek to a particular time. The only way an index is
> at all useful is when you can read the whole index at once at the
> beginning and then have it available for seeking to arbitrary
> positions.
It would allow fast "short seeks", like +10sec or -10sec w/o having to
keep in memory the whole index.
You can reach the time you want jumping over 2 keyframes at a time (so,
placing a keyframe every 10 seconds, you can read a disk sector every
30s you jump): unlesss your main index is really small, you read LESS
data from disk this way.
IIUC the main AVI index for a 2h movie is about 1M, right? So:
2h = 120' => 720keyframes => ~240 sectors gets read (1/3) = ~120k
Anyway, it's probably slower than reading even 2M if the read is
continuous, but it would allow seeking in incomplete files.


More information about the MPlayer-users mailing list