[FFmpeg-devel] [PATCH] vf_fps: uses the last frame duration to duplicate it if needed

Nicolas George george at nsup.org
Thu Sep 7 00:07:33 EEST 2017


Le decadi 20 fructidor, an CCXXV, Thierry Foucu a écrit :
> ---
>  libavfilter/vf_fps.c        | 40 +++++++++++++++++++++++++++++++++++-----
>  tests/ref/fate/filter-fps   |  6 ++++++
>  tests/ref/fate/filter-fps-r |  4 ++++
>  3 files changed, 45 insertions(+), 5 deletions(-)

Already explained: no, pkt_duration is not part of the information taken
into account by libavfilter. The correct way of obtaining the end
timestamp is to use the link's timestamp after EOF. There is an old
patch series to ensure it is accurate, but it has been delayed by
bikeshedding.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170906/58b413ea/attachment.sig>


More information about the ffmpeg-devel mailing list