[Libav-user] where is the logic of calculate output frame's pts in h264 decoder

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Mar 11 11:11:44 EET 2019


2019-03-06 13:40 GMT+01:00, qw <applemax82 at 163.com>:

> I'm reading ffmpeg source code. where is the logic of
> calculate output frame's pts in h264 decoder?

It's in libavcodec/h264_parser.c and uses information from
libavcodec/h264_sei.c and libavcodec/h264_ps.c.

Carl Eugen


More information about the Libav-user mailing list