Jellyfin Forum
Do I have transcoding set up right? - 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: Do I have transcoding set up right? (/t-do-i-have-transcoding-set-up-right)



Do I have transcoding set up right? - robertjdac - 2024-06-23

So I'm new to Jellyfin, selfhosting and know next to nothing about transcoding.  Just been following the guides.

I think it's working based on the Playback Info in the client, but just looking for confirmation from more knowledgeable users.

So first, setup:
I turned my old gaming PC into a Debian home server. I have a NVidia GTX 2070.

I'm running Jellyfin in a docker container. I followed the guides on the Jellyfin site to install my Nvidia drivers, the Nvidia docker toolkit, etc.

I set the NVIDIA_DRIVER_CAPABILITIES and NVIDIA_VISIBLE_DEVICES env vars, and also set the gpu with the following:

"device=GPU-211bc500-a72c-1af2-c289-1e3b472e6417","capabilities=compute,compat32,graphics,utility,display,video"

The device # I got from checking the NVidia driver.

I can then run the following: docker exec -it jellyfin nvidia-smi

And I see this:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.147.05  Driver Version: 525.147.05  CUDA Version: 12.0    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|        Memory-Usage | GPU-Util  Compute M. |
|                              |                      |              MIG M. |
|===============================+======================+======================|
|  0  NVIDIA GeForce ...  On  | 00000000:01:00.0  On |                  N/A |
|  0%  46C    P8    9W / 215W |    143MiB /  8192MiB |      3%      Default |
|                              |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU  GI  CI        PID  Type  Process name                  GPU Memory |
|        ID  ID                                                  Usage      |
|=============================================================================|
+-----------------------------------------------------------------------------+


So next, I set my Jellyfin transcoding settings as such: https://imgur.com/NgCrN5i 

When I play a video at 4k@120mbps, I see the following in my playback info on the client: https://imgur.com/diyvS3W

Does this mean it's working? Is there anything else I can do to verify?

Like I said, based on the "Transcoding" info in the Playback, it seems to be working, however I'm noticing high CPU usage in "htop" but thought it would impact my GPU more, so I was confused. Perhaps I'm just misunderstanding.

Thank you


RE: Do I have transcoding set up right? - TheDreadPirate - 2024-06-23

Can you share your jellyfin and ffmpeg logs via pastebin? Those would tell us what is going on. When you say high CPU usage, is it all cores or just one core? Audio transcoding happens exclusively on the CPU.


RE: Do I have transcoding set up right? - robertjdac - 2024-06-23

Looks like just 1 core: https://imgur.com/a/OwwMv37

Again, maybe this is normal/all working as expected, I'm just new and wasn't sure.

As for logs:
ffmeg: https://pastebin.com/CuEWCnWa

other log: https://pastebin.com/9CmWjkAY


RE: Do I have transcoding set up right? - TheDreadPirate - 2024-06-24

Everything looks right in the log.