[FFmpeg-devel] [PATCH v2] avfilter/vf_libvmaf: Add metadata propagation support

Kyle Swanson k at ylo.ph
Thu Sep 19 20:29:12 EEST 2024


Hi,

On Wed, Sep 11, 2024 at 5:41 PM Yigithan Yigit
<yigithanyigitdevel at gmail.com> wrote:
> Yes, metadata callbacks are not coming in order. I looked libavutil and I couldn’t find a data structure for this use case. I am open to suggestions If we don’t prefer to use this data structure.

Could we somehow get the AVFrame pointer in your custom callback data
or the VmafMetadata data? When all of the expected metadata is written
then you'll know you're ready to forward the frame through the
filtergraph. Doing it this way hopefully avoids a lot of the code and
traversing through linked lists looking for AVFrame pointers as you've
done.

Thanks,
Kyle


More information about the ffmpeg-devel mailing list