[Libav-user] about DTS PTS
Carl Eugen Hoyos
ceffmpeg at gmail.com
Tue Feb 13 08:33:52 EET 2018
2018-02-13 7:12 GMT+01:00 YIRAN LI <mrfun.china at gmail.com>:
>
>
> 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
>
> Just want to know why they are invalid, because packet.dts
> must be <= packet.pts, right?
Correct, yes.
> 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.
No, you cannot display a frame before it gets decoded.
Carl Eugen
More information about the Libav-user
mailing list