[Libav-user] AVPacket::duration from H.264 encoder is zero
monakov.y at gmail.com
Mon Oct 22 19:43:24 EEST 2018
Duration can only be definded as difference in time between two frames. It
is not relevant for single frame.
But if you need some approximation, you can take codec time base.
сб, 20 окт. 2018 г. в 11:20, asticode <contact at asticode.com>:
> Thanks for the reply.
> Problem is, how can I know the duration of the last encoded frame then?
> Sent from: http://libav-users.943685.n4.nabble.com/
> Libav-user mailing list
> Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user