It might just have hardware support for relevant codecs. They often do, which gives them a massive advantage when playing media files.
If you aren't streaming over the internet, disable transcoding and you're more or less only limited by bandwidth.
Perhaps it'll use much more RAM transcoding, but I'd still expect a dedicated 2GiB to be plenty for Jellyfin even in extreme cases. I doubt you'll get any decent transcoding speed out of ffmpeg if you need a buffer that size anyway.