Jellyfin Forum
SOLVED: Not possible to play media when NVIDIA NVENC - 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: Not possible to play media when NVIDIA NVENC (/t-solved-not-possible-to-play-media-when-nvidia-nvenc)

Pages: 1 2


RE: Not possible to play media when NVIDIA NVENC - MutzelBruzzel - 2025-02-19

I am using root so - no Smiling-face

But in the meantime I added 'video' to capabilities of the docker-compose.yaml and it seems to work. Unfortunately htop shows still 100% CPU usage - Is this normal?

nvidia-smi now shows:

Quote:+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 4037 C /usr/lib/jellyfin-ffmpeg/ffmpeg 252MiB |
+-----------------------------------------------------------------------------------------+



RE: Not possible to play media when NVIDIA NVENC - TheDreadPirate - 2025-02-19

We'd need to see the ffmpeg log. It is likely transcoding the audio, which always happens on the CPU. I'm assuming you are seeing 100% on a single core.

Subtitle burn-in also happens on the CPU.


RE: Not possible to play media when NVIDIA NVENC - MutzelBruzzel - 2025-02-19

(2025-02-19, 06:21 PM)TheDreadPirate Wrote: We'd need to see the ffmpeg log.  It is likely transcoding the audio, which always happens on the CPU.  I'm assuming you are seeing 100% on a single core.

Subtitle burn-in also happens on the CPU.

Unfortunately it's all cores - See image

Can I do something to reduce the load?

What infos do you need from the log?
I can see something like this:

Quote:[hls @ 0x5ba676c2f400] Opening '/config/cache/transcodes/546e6a66c8f194ad3b884d4355131a24251.ts' for writing
[out#0/hls @ 0x5ba67699f0c0] video:1807668KiB audio:6993KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
frame= 5361 fps= 41 q=13.0 Lsize=N/A time=00:03:43.38 bitrate=N/A speed=1.72x 



RE: Not possible to play media when NVIDIA NVENC - TheDreadPirate - 2025-02-19

Share the whole log via privatebin.net. So I can see the command used, the mapping used, and the original media info.


RE: Not possible to play media when NVIDIA NVENC - MutzelBruzzel - 2025-02-19

(2025-02-19, 07:00 PM)TheDreadPirate Wrote: Share the whole log via privatebin.net.  So I can see the command used, the mapping used, and the original media info.

Sure thing (and thx): https://privatebin.net/?3b4fcb94cbc06da3#Ceas9HJ9smiUe9gks57QqRMp2TvEDnnTZQei4FxbBf32


RE: Not possible to play media when NVIDIA NVENC - TheDreadPirate - 2025-02-19

You did not enable hardware accelerated DECODING. The list of check boxes at the top. Meaning the CPU is decoding the video.

Use this table to check the correct boxes.

https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new


RE: Not possible to play media when NVIDIA NVENC - MutzelBruzzel - 2025-02-20

Ok, now it works like a charm.
Thanks a lot @TheDreadPirate!