Best way to play video on Linux

We’d like to play videos decoded with ffmpeg in an application running on a i.MX8 processor. Currently, we are just running on the frame buffer and don’t have ffmpeg integrated yet.

I see: FFmpeg support — LVGL documentation

Would this use the framebuffer for rendering?

Would there be any benefit to running under SDL to get some graphics acceleration?

Some information on FFMPEG hardware acceleration:

No conclusions yet …