[Libav-user] right way, in the general case, to use decoded video frame pts related fields

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Apr 8 19:57:48 EEST 2020

Am Mi., 8. Apr. 2020 um 18:10 Uhr schrieb <sylvain.bertrand at gmail.com>:

> Right after receiving a frame from the decoder, how to use "properly" in the
> general case the pts related fields (pts, pkt_dts, best_effort_timestamp) in
> order to get the actual pts in video stream timestamp unit?

> Heard I could receive out-of-order frames from the decoder (av1/dav1d
> decoder), true in the general case?

The demuxer can return (b) frames out-of-order, the decoder is
supposed to return frames in presentation order.

Carl Eugen

More information about the Libav-user mailing list