H266 isn't really well supported on client devices. I was encoding my library for a while with H265, but have moved on to using AV1 for my library since most of my devices can play it directly.
Jellyfin 12.4 (Docker)
Debian 13 w/Xanmod amd64v3 LTS kernel
AMD Ryzen 5500 w/32GB DDR4
Intel Arc A380
OS drive - SK Hynix P41 1TB
ZFS Storage pool
vdev1 - 6x WD Red Pro 6TB CMR in RAIDZ1
vdev2 - 3x WD Red Pro 18TB CMR in RAIDZ1