[Libav-user] AVFilterLink->current_pts = -9223372036854775808, what do I do with the samples

Ricky Huang rhuang.work at gmail.com
Wed Jun 4 01:44:10 CEST 2014


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.

Thanks in advance.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140603/97d3db78/attachment.html>


More information about the Libav-user mailing list