Hi,

On 10/14/2009 12:58 PM, Bruce Wheaton wrote:
OK, so it looks like the packet PTS coming from FFMPEG are in respect to
the time_base numerator. This is different than Quicktime and
Libquicktime, but understandable. It also isn't what's implied in the
docs or in the tutorials, IMHO.

So, for those coming after:

PTS_in_timescaleunits = packet_pts * time_base.num


A timebase in FFmpeg is a rational. So if you timebase is 100/2997, you will have 0, 1, 2, 3, 4, etc...

if your timebase is 1/2997, you will have 0, 100, 200.

Anything wrong in the docs which might imply otherwise ?

PS: please do not top-post on this mailing-list. Thanks for your understanding.

--
Baptiste COUDURIER
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to