[Libav-user] pts < dts error

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Oct 14 13:21:26 CEST 2015

YIRAN LI <mrfun.china at ...> writes:

> But from one file I used I see that PTS == DTS. Could 
> this be produced by an encoder configure with non-zero 
> max bframes?

Only if the encoder is broken afaict but I am certainly 
not an expert for these kind of questions.

> If yes, do I still need to subtract that from PTS 
> even if PTS == DTS?

I don't see why.

> If the encoder is configured with max b frames == 1, 
> is it ok to subtract 2 from PTS?

I don't know but why not?

Carl Eugen

More information about the Libav-user mailing list