-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I am running the jellyfin server in a jail and everything works fine but nvenc/dec requires using nv-sglrun to prefix the ffmpeg command. My solution was to mv ffmpeg to ffmpeg.bin and make a script to run ffmpeg:
#!/bin/sh
nv-sglrun ffmpeg "$@"
I'm not sure if there is a way this could be fixed in the pkg repo but the weird way ffmpeg needs to be used for nvidia was difficult to sort out. I am also curious about the Transcoding options not honoring decoding. I had to add -hwaccel cuda to the script to force it:
nv-sglrun ffmpeg -hwaccel cuda "$@"
This seems to do the trick but if you run into issues with hw accel decoding malfunctioning then you have to edit a script to disable it since jellyfin for freebsd does not honor the option it seems.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels