Is there a way to downgrade jellyfin-FFMPEG to version 5?

Hello everyone,
I have a question, is there a method to change the jellyfin-ffmpeg7 package to use version 5?

I’m running the container on Debian with openmediavault6 so it’s the bullseye (11) version.
And I’m using a Nvidia GPU (1050Ti) with driver 470.256.02 (the latest available for v11).
However, from ffmpeg6 onwards, the use of more recent drivers is mandatory in order to have NVENC 12. (my error is: Driver does not support the required nvenc API version. Required: 12.0 Found: 11.1)

The solutions is to pass to Debian bookworm (12) which has a more recent driver that supports NVENC 12 (driver v535.183.01). Unfortunately, I can’t upgrade Openmediavault to version 7 at the moment because I’m using packages that aren’t yet compatible.

So I’m wondering, is there any way to select the ffmpeg version?
If not, what do you advise me to do?
(Also, I don’t know what you think, but is it feasible to add this option as a parameter?)