2023-12-13, 05:20 AM
I've been digging into this, and it should be possible without too much pain -- although I haven't tried it with JellyFin. I'm using TrueNAS core, but still, same should more or less apply, at least for QuickSync.
From a test jail, I see this:
$ ffmpeg -hide_banner -encoders | grep vaapi
V....D h264_vaapi H.264/AVC (VAAPI) (codec h264)
V....D hevc_vaapi H.265/HEVC (VAAPI) (codec hevc)
V....D mjpeg_vaapi MJPEG (VAAPI) (codec mjpeg)
V....D mpeg2_vaapi MPEG-2 (VAAPI) (codec mpeg2video)
V....D vp8_vaapi VP8 (VAAPI) (codec vp
V....D vp9_vaapi VP9 (VAAPI) (codec vp9)
which if you follow the instructions here: https://github.com/kern2011/Freenas-Quicksync should get you pretty close. I don't know what needs to happen on the jellyfin side.
From a test jail, I see this:
$ ffmpeg -hide_banner -encoders | grep vaapi
V....D h264_vaapi H.264/AVC (VAAPI) (codec h264)
V....D hevc_vaapi H.265/HEVC (VAAPI) (codec hevc)
V....D mjpeg_vaapi MJPEG (VAAPI) (codec mjpeg)
V....D mpeg2_vaapi MPEG-2 (VAAPI) (codec mpeg2video)
V....D vp8_vaapi VP8 (VAAPI) (codec vp

V....D vp9_vaapi VP9 (VAAPI) (codec vp9)
which if you follow the instructions here: https://github.com/kern2011/Freenas-Quicksync should get you pretty close. I don't know what needs to happen on the jellyfin side.