On 28/02/17 00:31, Hendrik Leppkes wrote: > On Tue, Feb 28, 2017 at 1:07 AM, Mark Thompson <[email protected]> wrote: >> --- >> Works properly on Mesa and Media SDK VAAPI. >> >> I'm unsure about how the timestamp handling should work here? I end up >> needing to add -r in appropriate places to get it to work properly in avconv. >> > > The same way yadif works, just double the timebase/framerate on the > outgoing link?
Already there, but it still gives me drops/dups. Having looked at it a bit further, I think it is because the second frame in each pair isn't getting the right timestamp (I was just adding 1, but that isn't sufficient in general). Is there some way to find the timestamp of the second field of an interleaved frame? If not, I think it needs to buffer an extra frame (if not already required by the algorithm) in order to interpolate the timestamp as half-way to the following frame. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
