[Libav-user] about DTS PTS

YIRAN LI mrfun.china at gmail.com
Tue Feb 13 08:12:53 EET 2018


2018-02-13 16:51 GMT+11:00 Carl Eugen Hoyos <ceffmpeg at gmail.com>:

> 2018-02-13 2:20 GMT+01:00 YIRAN LI <mrfun.china at gmail.com>:
>
> > Say we has packets in [DTS, PTS]: [10, 0], [11, 2], [12, 3]
>
> These are invalid timestamps
> ​--- Hi Carl,
>

​Just want to know why they are invalid, because packet.dts must be <=
packet.pts, right?

if [0, 1], [1, 2], [2, 3] is valid then [10, 1], [11, 2], [12, 3] can be
processed with -= 10 so ​it's same.

​
>
> > If decoding and display reference different clocks, DTS and PTS can be
> > totally decoupled and above is a valid sequence packets.
>
> I don't think this is correct, DTS and PTS cannot be decoupled.
>
> Carl Eugen
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20180213/c69ed768/attachment.html>


More information about the Libav-user mailing list