With a rpi3 or a rpi4 both should be fine.
Librelec (and other ROMs) ship the ffmpeg fork which uses the acceleration