[Libav-user] AVFilterLink->current_pts = -9223372036854775808, what do I do with the samples
nfxjfg at googlemail.com
Wed Jun 4 19:39:27 CEST 2014
On Tue, 3 Jun 2014 16:44:10 -0700
Ricky Huang <rhuang.work at gmail.com> wrote:
> Hello all,
> While writing a custom audio-video-filter, I noticed that ffmpeg is passing in -9223372036854775808 in to my filter_frame function. While I understand it's probably a placeholder variable (-2^64) what I am wondering is what to do with the AVFrame's that's also passed in? Are they valid AVFrame's, or also junk data? In my test, there's an instance where there are 576 AVFrame's passed in along with the invalid timestamp.
This value is AV_NOPTS_VALUE. This is a valid value and just signals
there's no known timestamp. It means whatever was passed to the filter
didn't have timestamps.
More information about the Libav-user