Skip to content

ffmpeg packaging #94

@JRGonz

Description

@JRGonz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions