How to link ffmpeg to lvgl

Description

How do I link ffmpeg to lvgl

What MCU/Processor/Board and compiler are you using?

ESP32-WROOM

What LVGL version are you using?

8.3.4

What do you want to achieve?

Link ffmpeg to lvgl to create a simple video player.

What have you tried so far?

LVGL is working perfectly and smoothly. I have tried to include ffmpeg and the library seems to have been included but when called by lvgl the library has undefined references. I am guessing it has something to do with linkers and linking ffmpeg before lvgl. Has anyone been successful in doing so?

This is the error I get:

libdeps/esp32dev/lvgl/src/extra/libs/ffmpeg/lv_ffmpeg.c:119: undefined reference to `av_log_set_level’

Sorry that this post is vague I am lost in regard to this and dont have any code since there seems to be a problem when linking/compiling.

I have the same problem, have you solved it?