[Libav-user] How to determine frame sizes in msec

Bob Kirnum bkirnum at gmail.com
Wed Oct 3 13:56:15 EEST 2018


Thanks Yuri.  The problem is with consistency.  I tried using the AVPacket
dts and duration values.  These proved to me more consistent until I played
an MP4 file.  For MKV and WebM, the values were in msec.  For MP4, the
values were not.  Looking at the AVStream time_base values, they were
1/16000 for both audio and video streams.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20181003/369a5fa6/attachment.html>


More information about the Libav-user mailing list