On Fri, Feb 16, 2018 at 4:56 PM, Yuriy Pryyma <[email protected]> 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.
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to