Jellyfin Forum
SOLVED: Unable to transcode videos - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Unable to transcode videos (/t-solved-unable-to-transcode-videos)

Pages: 1 2 3 4


RE: Unable to transcode videos - TheDreadPirate - 2024-09-06

In the LXC, are there any renderD entries in /dev/dri?

ls -l /dev/dri


RE: Unable to transcode videos - seelk - 2024-09-07

(2024-09-06, 02:39 PM)TheDreadPirate Wrote: In the LXC, are there any renderD entries in /dev/dri?

ls -l /dev/dri

Yes:

Code:
: ls -l /dev/dri
total 0
crw-rw---- 1 root input 226, 128 Aug 18 14:11 renderD128

Code:
: /usr/lib/jellyfin-ffmpeg/vainfo --display drm --device /dev/dri/renderD128
Trying display: drm
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.20.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.1.1 (f5f09c4)
vainfo: Supported profile and entrypoints
      VAProfileNone                  : VAEntrypointVideoProc
      VAProfileNone                  : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264Main              : VAEntrypointVLD
      VAProfileH264Main              : VAEntrypointEncSliceLP
      VAProfileH264High              : VAEntrypointVLD
      VAProfileH264High              : VAEntrypointEncSliceLP
      VAProfileJPEGBaseline          : VAEntrypointVLD
      VAProfileJPEGBaseline          : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileHEVCMain              : VAEntrypointVLD
      VAProfileHEVCMain              : VAEntrypointEncSliceLP
      VAProfileHEVCMain10            : VAEntrypointVLD
      VAProfileHEVCMain10            : VAEntrypointEncSliceLP
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointEncSliceLP
      VAProfileVP9Profile1            : VAEntrypointVLD
      VAProfileVP9Profile1            : VAEntrypointEncSliceLP
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointEncSliceLP
      VAProfileVP9Profile3            : VAEntrypointVLD
      VAProfileVP9Profile3            : VAEntrypointEncSliceLP
      VAProfileHEVCMain12            : VAEntrypointVLD
      VAProfileHEVCMain422_10        : VAEntrypointVLD
      VAProfileHEVCMain422_10        : VAEntrypointEncSliceLP
      VAProfileHEVCMain422_12        : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointEncSliceLP
      VAProfileHEVCMain444_10        : VAEntrypointVLD
      VAProfileHEVCMain444_10        : VAEntrypointEncSliceLP
      VAProfileHEVCMain444_12        : VAEntrypointVLD
      VAProfileHEVCSccMain            : VAEntrypointVLD
      VAProfileHEVCSccMain            : VAEntrypointEncSliceLP
      VAProfileHEVCSccMain10          : VAEntrypointVLD
      VAProfileHEVCSccMain10          : VAEntrypointEncSliceLP
      VAProfileHEVCSccMain444        : VAEntrypointVLD
      VAProfileHEVCSccMain444        : VAEntrypointEncSliceLP
      VAProfileAV1Profile0            : VAEntrypointVLD
      VAProfileAV1Profile0            : VAEntrypointEncSliceLP
      VAProfileHEVCSccMain444_10      : VAEntrypointVLD
      VAProfileHEVCSccMain444_10      : VAEntrypointEncSliceLP



RE: Unable to transcode videos - TheDreadPirate - 2024-09-07

What Jellyfin version are you running? I just noticed that jellyfin-ffmpeg is still 5.1.4. Are you still on 10.8.13? If you are running 10.9, you should upgrade to jellyfin-ffmpeg6. I don't know for certain is that actually matters, but the server and ffmpeg versions should be 5.1.4 with server 10.8 and 6.0.1 for server 10.9.


RE: Unable to transcode videos - seelk - 2024-09-08

(2024-09-07, 04:33 PM)TheDreadPirate Wrote: What Jellyfin version are you running?  I just noticed that jellyfin-ffmpeg is still 5.1.4.  Are you still on 10.8.13?  If you are running 10.9, you should upgrade to jellyfin-ffmpeg6.  I don't know for certain is that actually matters, but the server and ffmpeg versions should be 5.1.4 with server 10.8  and 6.0.1 for server 10.9.

I was running Jellyfin 10.9.10.  I uninstalled jellyfin-ffmpeg 5.1.4 and installed 6.0.1.  Tried playing a video and transcoding failed, same error as before.  I then upgraded to Jellyfin 10.9.11 and transcoding also failed.


RE: Unable to transcode videos - TheDreadPirate - 2024-09-08

On the host, what is the out of this command.

Code:
sudo apt list --installed | grep linux



RE: Unable to transcode videos - seelk - 2024-09-09

(2024-09-08, 03:15 PM)TheDreadPirate Wrote: On the host, what is the out of this command.

Code:
sudo apt list --installed | grep linux

Code:
: apt list --installed | grep linux

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

binutils-x86-64-linux-gnu/stable,now 2.40-2 amd64 [installed]
console-setup-linux/stable,now 1.221 all [installed]
liblinux-inotify2-perl/stable,now 1:2.3-2 amd64 [installed]
libnvpair3linux/stable,now 2.2.4-pve1 amd64 [installed]
libselinux1/stable,now 3.4-1+b6 amd64 [installed]
libuutil3linux/stable,now 2.2.4-pve1 amd64 [installed]
libzfs4linux/stable,now 2.2.4-pve1 amd64 [installed]
libzpool5linux/stable,now 2.2.4-pve1 amd64 [installed]
linux-base/stable,now 4.9 all [installed]
util-linux-extra/stable,stable-security,now 2.38.1-5+deb12u1 amd64 [installed,automatic]
util-linux/stable,stable-security,now 2.38.1-5+deb12u1 amd64 [installed]
zfsutils-linux/stable,now 2.2.4-pve1 amd64 [installed]



RE: Unable to transcode videos - TheDreadPirate - 2024-09-10

What does Promox call their kernel? The apt command should have listed out what kernel packages were installed, including all the header and mod packages.


RE: Unable to transcode videos - seelk - 2024-09-10

(2024-09-10, 04:06 PM)TheDreadPirate Wrote: What does Promox call their kernel?  The apt command should have listed out what kernel packages were installed, including all the header and mod packages.

It seems the kernel names start with "proxmox-kernel".  I'm not sure about the headers and mod packages.

Code:
: apt list --installed | grep proxmox-kernel

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

proxmox-kernel-6.5.13-5-pve-signed/stable,now 6.5.13-5 amd64 [installed,auto-removable]
proxmox-kernel-6.5.13-6-pve-signed/stable,now 6.5.13-6 amd64 [installed,automatic]
proxmox-kernel-6.5/stable,now 6.5.13-6 all [installed,automatic]
proxmox-kernel-6.8.12-1-pve-signed/stable,now 6.8.12-1 amd64 [installed,automatic]
proxmox-kernel-6.8.4-2-pve-signed/stable,now 6.8.4-2 amd64 [installed,auto-removable]
proxmox-kernel-6.8.4-3-pve-signed/stable,now 6.8.4-3 amd64 [installed,auto-removable]
proxmox-kernel-6.8.8-1-pve-signed/stable,now 6.8.8-1 amd64 [installed,automatic]
proxmox-kernel-6.8/stable,now 6.8.12-1 all [installed,automatic]
proxmox-kernel-helper/stable,now 8.1.0 all [installed,automatic]



RE: Unable to transcode videos - TheDreadPirate - 2024-09-10

And what does proxmox call all of the extra packages it includes with the kernel (Ubuntu example below). It should be similarly named (headers, modules, modules-extra).

Code:
chris@rat-trap:~$ sudo apt list --installed | grep 6.8.0-44
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
linux-headers-6.8.0-44-generic/noble-updates,now 6.8.0-44.44 amd64 [installed]
linux-headers-6.8.0-44/noble-updates,now 6.8.0-44.44 all [installed,automatic]
linux-image-6.8.0-44-generic/noble-updates,now 6.8.0-44.44 amd64 [installed]
linux-modules-6.8.0-44-generic/noble-updates,now 6.8.0-44.44 amd64 [installed,automatic]
linux-modules-extra-6.8.0-44-generic/noble-updates,now 6.8.0-44.44 amd64 [installed]

I also see that it installed a newer kernel than what you started with in this thread (6.8.12). Did it install and then change which one you are running on boot?

Code:
uname -a



RE: Unable to transcode videos - seelk - 2024-09-11

Code:
: apt list --installed | grep 6.8.4-3

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

proxmox-kernel-6.8.4-3-pve-signed/stable,now 6.8.4-3 amd64 [installed,auto-removable]

I'm not sure how to identify the corresponding headers and mod packages.

I pinned the 6.8.4-3-pve to boot instead of the latest kernel.  This is an option Proxmox provides.

Code:
: uname -a

Linux proxmox 6.8.4-3-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.4-3 (2024-05-02T11:55Z) x86_64 GNU/Linux