[FFmpeg-devel] dshow: pts relative to zero or stream time preferred?

Roger Pack rogerdpack2 at gmail.com
Tue Mar 25 23:58:42 CET 2014


Hello.

I noticed that with today's dshow, it passes through pts timestamps
"relative to the directshow filtergraph" like:

889246977000
which could mean "first packet" (pts 0) for instance (packets after
that would be relative to that value).

I could modify it so that the first packet (that represents pts 0) has
a pts of 0 (i.e. it's zero based).
However, then, sometimes, it might pass through negative pts values,
which might not be good.

Does anybody have a feel for which type/style of timestamps are preferable here?
Just wondering.
Thank you.
-roger-


More information about the ffmpeg-devel mailing list