Banana PI M5 - Android TV - Jellyfin/Plex/VLC laggy playback

I’m using a Banana Pi M5 as a TV Box using the LineageOS Android TV build that can be obtained from the official install guide (actually the first nightly they list for November, newer ones have a regression in which the ethernet port doesn’t really connect).

Everything seems to work quite well, the experience using most of the Android TV apps isn’t that much different than using a Google branded device (plus, the device is fully de-googled, which makes it better). But I said most, and this is because there are a handful that don’t really work and that bugs me, a lot.

The ones that do not work correctly are Jellyfin, Plex and VLC, in fact they show exactly the same kind of behaviour: playback feels sticky with very frequent lag, what looks like a transcoding issue. However I know transcoding server side works fine, if I use Jellyfin’s web interface then the playback is smooth (after some buffering, but smooth after all). I in fact tested this in-device using the TVBro web browser, I suspect others will work fine too.

Wondering if anyone has seen something similar or if they have successfully built a 4K-capable TV Box using this device.