[MPlayer-dev-eng] [PATCH] keyframes in real rtsp, (auto-)index generation and seeking in realmedia .rm files
rgselknospam at yahoo.com
Mon Dec 8 15:51:20 CET 2003
> > Index generation is done on the fly when you specify the '-idx'
> flag to
> > mplayer. This means that while the stream is playing the index is
> > extended every time we find a new keyframe. Forward seeking tries
> > generate the next part of the index needed for seeking and then
> > this freshly generated index.
--- Attila Kinali <kinali at gmx.net> wrote:
> IMHO this should be changed to index generation at startup to
> be consistent with the normal behavior if -idx.
-forceidx does that. -idx does not build an index at startup but during
decoding. And yes it is different from normal behaviour but I like it
much better because now I don't have to wait for the index to be build,
but it will start playing immediately.
Another advantage is that it does work with growing files as well!
I dump a file in one terminal an view it in another while I still can
use full seeking.
When seeking forward it will extend the index if needed. This means
forward seeking is only a little bit slower when it needs to extend the
To be honest I think we should use this feature for other formats as
well (read: files on cdrom :-). That way you don't have to wait for the
complete file to be read and indexed. On the other hand maybe you
should not put a non-indexed file on cdrom...
> > One thing I did not care about now is to disable seeking while
> > streaming from the network instead of from a file. But I guess that
> > should not be to difficult...
> Well, you should care about that :)
It does not change the current (wrong?) behaviour :)
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
More information about the MPlayer-dev-eng