Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Jellyfin hardware transcoding issue

Featured Replies

Hello!

 

I recently bought an Nvidia Quadro P400 to upgrade and enable me to use hardware transcoding. 

 

The issue I'm running into is a fatal playback error for every piece of media using the HEVC codec and nothing else.

 

What I've tried so far after searching other forums:

1. I switched from using binhex's version to the official version (jellyfin/jellyfin repository)

2. I have added "--device=/dev/dri" to extra parameters.

3. I have downloaded GPU statistics plugin to make sure the gpu is up and running correctly (it is)

 

Everything in the logs seems normal, except the following errors. Google search has not helped me identify what FFmpeg exit code 255 means. 

 

[07:20:00] [ERR] [25] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 255

[07:20:00] [ERR] [25] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/8ac33a65-a9e6-b34c-7acc-4d0a9881772e/hls1/main/-1.mp4.

MediaBrowser.Common.FfmpegException: FFmpeg exited with code 255

 

Any help would be greatly appreciated!

  • Community Expert
"--device=/dev/dri"

helps but is not the way... this is more for intel cards. Some nvidia need the extra access to check. per ICH777 its actual using /dev/nvidia you would need to check it and that is orginaly part of the puzzle...

You will need to make sure the g card is not VFIO bound, it must be accessible to the host... You will need to install the NVIDIA plugin driver.
image.png.aaaffad151db60078b655f8314e07f20.png
web UI > Settings > nvidia

You will see your quadro card under NVIDIA info and can run nivida-smi in teh terminal to see the card...

Next to use a nvida GPU with unraid the min requirement after the host plugin and driver are working is:

Docker settings:
in the extra parameter filed you need to add

--runtime=nvidia

 

in the docker tempate you may need to add variable:
image.png.92d2f438378e464fa2719f5d55552198.png

Depending on your Jellyfin docker, as the docker needa to have the drivers in the image...

image.thumb.png.377f0587e05ef7909ae094d412535726.png

You may need to read the overview or additional requirement to add the GPU...

I recommend using linuxIO - linux server jellyfin template and image
image.png.fd1a6eb681306b27056e4c2c8f434199.png

Latest tag then adding the NVIDIA runtime and additional docker variable...
 

Edited by bmartino1
typo

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.