Unraid + Dispatcharr + Nvidia Quadro Video Card = Hardware Transcoding

This is how I got my UNRAID setup with a Quadro card for HW Transcoding to work with Dispatcharr. No more maxed out CPU, hand it off to the GPU instead.

  • Edit the Docker container
    • Toggle Advanced View On
  • Go to Extra Parameters
    • Add --runtime=nvidia
  • Create the following container variables:
    • key: NVIDIA_DRIVER_CAPABILITIES with the value all
    • key: NVIDIA_VISIBLE_DEVICES with the value all
  • Open Dispatcharr WebUi
    • Settings > Add Stream Profile
    • Name it anything you like. I called mine ffmpeg (HW)
    • command ffmpeg
    • parameters -user_agent {userAgent} -hwaccel cuda -i {streamUrl} -c:v h264_nvenc -c:a copy -f mpegts pipe:1
    • Set default user agent to VLC

Thanks ShadeZeRO in the Discord for the help