[FFmpeg-devel] null metadata for the first decoded video frame

Alexander Ivash elderorb at gmail.com
Tue May 22 11:30:48 EEST 2018

2018-05-21 21:02 GMT+03:00 Aman Gupta <ffmpeg at tmm1.net>:
> On Mon, May 21, 2018 at 10:29 AM Alexander Ivash <elderorb at gmail.com> wrote:
>> I'm not injecting metadata, but reading it! Here:
>> https://github.com/ElderOrb/qctools/blob/master/Source/Core/VideoStats.cpp#L287
>> This function is being called for every frame. The issue is that the
>> first frame returns null.
> If you're talking about cropdetect metadata then it's because of this:
> https://github.com/FFmpeg/FFmpeg/blob/master/libavfilter/vf_cropdetect.c#L170

No, I meant 'idet' filter (beg pardon for not mentioning this in the
first place). Taking into account ffpobe does work with that video,
seems like there is an issue with how filtering pipeline is used in

More information about the ffmpeg-devel mailing list