[FFmpeg-devel] New seeking API
Michael Niedermayer
michaelni
Wed Mar 11 20:03:48 CET 2009
On Wed, Mar 11, 2009 at 07:36:20PM +0100, Ivan Schreter wrote:
> Hi Michael,
>
> as I see, you started writing new seeking functions. Currently, only API
> seems to be defined in SVN. Do you already have something ready in the
> sense of implementation, which you could share?
no
i was planing to write a wraper so the old API could be droped ASAP and
the read_seek() would be called when a format had no new read_seek2()
>
> I suppose you want to create two versions of the new seeking function:
> one for streams having an index (e.g., AVI) and one for streams without
> index (e.g., MPEG-TS), similar to what is done currently in old seeking
yes, likely ...
> API. As I'm interested in getting MPEG-TS seeking to work correctly, I
> could look at the second case (if the first one is already addressed).
>
> BTW, I take it this new API will implicitly assume
> "AVSEEK_FLAG_BACKWARD", since I cannot really imagine a reason why
> someone would like to get a key frame _after_ the given timestamp/position.
AVSEEK_FLAG_BACKWARD wont be used in the new API, the 3 timestamps allow
the user much finer control over things ...
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090311/defd0d42/attachment.pgp>
More information about the ffmpeg-devel
mailing list