Jellyfin is free (libre) and open-source. Plex is freemium and proprietary.
Jellyfin supports hardware acceleration for transcoding and also allows playback through 3rd party video players (mpv, vlc, ect). Those are the features I care most about.
I don’t use Plex because it’s proprietary, so I don’t know what merits Plex has.