[FFmpeg-devel] Evolution of lavfi's design and API

Michael Niedermayer michaelni at gmx.at
Fri Oct 24 18:51:52 CEST 2014


On Fri, Oct 24, 2014 at 04:22:23PM +0200, Nicolas George wrote:
> Le duodi 2 brumaire, an CCXXIII, Clement Boesch a écrit :
[...]

> As for the actual implementation, I suppose that a filter that supports
> seeking would be required to advertise so on its output: "I can seek back to
> pts=42", and a filter that requires seeking from its input would give
> forewarning: "I may need to seek back to pts=12", so that the framework can
> buffer all frames from 12 to 42.
> 
> That requires thinking.

its easier for the input to seek to pts 2 in that case and discard data
till pts 12. I assume pts42 is not the first point it can seek to
files can generally be reopened to restart from the first frame

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

You can kill me, but you cannot change the truth.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141024/0cf5db16/attachment.asc>


More information about the ffmpeg-devel mailing list