2024-08-24, 12:27 PM
Hi everyone, I am facing a strange issue with audio transcoding. Let me detail my setup first :
OS : Debian 12 up-to-date
Jellyfin in a Docker Container (Linux Server's image) version 10.9.8
Hardware :
- Ryzen 5 1600X (6C, 12 threads) @3.6GHz (AMD C-states disabled)
- RTX 3070Ti FE (proprietary drivers installed and working, nvidia-container-toolkit also)
- 16GB of RAM @3200MT/s
- 2.5gbps network card
- OS running on a 1TB SSD
- Medias stored on a 4x4TB RAIDZ1.
Video transcoding using NVIDIA NVENC is working properly and is fast (~100FPS when transcoding 4K HEVC HDR content)
However there is a weird behavior happening when transcoding audio : it makes my server "laggy", playback stutters and freezes for many seconds and does very often. By "laggy" I mean that when SSHing into my server it takes an extra two seconds, when typing a command there is a delay in both what I type and the output, when accessing Jellyfin's web interface it takes way longer to load, same for my other sevices' web interface. However, when checking in htop or btop, the overall CPU usage is sitting at around 10% up to 25%, temps are fine and stable, plenty of RAM is available, disk I/O is not at 100% (way below), network is working properly. In fact, this weird behavior only happens when transcoding audio. As for the settings in Jellyfin : enabling or disabling VBR audio encoding does not change a thing, same for max musing queue size, encoding preset is set to auto (although I tried some others but it gave the same results), transcodes are not throttled. Lastly, Jellyfin logs do not show any error and I am not sure on how to check FFMPEG's logs. If anyone have any idea on what might be happening, I will be happy to provide more information and logs.
Thank you !
OS : Debian 12 up-to-date
Jellyfin in a Docker Container (Linux Server's image) version 10.9.8
Hardware :
- Ryzen 5 1600X (6C, 12 threads) @3.6GHz (AMD C-states disabled)
- RTX 3070Ti FE (proprietary drivers installed and working, nvidia-container-toolkit also)
- 16GB of RAM @3200MT/s
- 2.5gbps network card
- OS running on a 1TB SSD
- Medias stored on a 4x4TB RAIDZ1.
Video transcoding using NVIDIA NVENC is working properly and is fast (~100FPS when transcoding 4K HEVC HDR content)
However there is a weird behavior happening when transcoding audio : it makes my server "laggy", playback stutters and freezes for many seconds and does very often. By "laggy" I mean that when SSHing into my server it takes an extra two seconds, when typing a command there is a delay in both what I type and the output, when accessing Jellyfin's web interface it takes way longer to load, same for my other sevices' web interface. However, when checking in htop or btop, the overall CPU usage is sitting at around 10% up to 25%, temps are fine and stable, plenty of RAM is available, disk I/O is not at 100% (way below), network is working properly. In fact, this weird behavior only happens when transcoding audio. As for the settings in Jellyfin : enabling or disabling VBR audio encoding does not change a thing, same for max musing queue size, encoding preset is set to auto (although I tried some others but it gave the same results), transcodes are not throttled. Lastly, Jellyfin logs do not show any error and I am not sure on how to check FFMPEG's logs. If anyone have any idea on what might be happening, I will be happy to provide more information and logs.
Thank you !