[Ffmpeg-devel] [PATCH] http seeking

Ronald S. Bultje rbultje
Sun Dec 10 18:25:45 CET 2006


Hi,

attached patch does a very simple attempt at seeking. I tested it with a
mp3 file on a seekable http location. Current problems:
- doesn't handle HTTP-1.0 servers or non-seekable servers yet. I haven't
really looked at that yet. :-).
- the first seek takes +/- 3 seconds to complete. I'm assuming it reads
a couple of mp3 frames ahead to validate frames and make sure it is mp3
and then does not flush this buffer after the seek (?). Anyone knows if
this could be true and how I would fix it? Any seek after the first one
is pretty much instant (at least for mp3).

So, this is not really to apply just yet, just for comments to see if
people like it.

Ronald





More information about the ffmpeg-devel mailing list