[Libav-user] Container duration
Hendrik Leppkes
h.leppkes at gmail.com
Fri Feb 16 18:08:17 EET 2018
On Fri, Feb 16, 2018 at 4:56 PM, Yuriy Pryyma <priymayuriy at gmail.com> wrote:
> I have some question regarding duration
>
> 1)Why we are adding "magic" 5000 to AVFormatContext duration in
> av_dump_format function?
>
> See here
>
> https://github.com/FFmpeg/FFmpeg/blob/9b79c65ec06f2bbe4f44c615b9df70db23126250/libavformat/dump.c#L576
>
This is a rounding factor, so the microseconds get rounded appropriately.
More information about the Libav-user
mailing list