SOLVED: Jellyfin docker FFMPEG use 100% CPU core for no reason - 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: Jellyfin docker FFMPEG use 100% CPU core for no reason (/t-solved-jellyfin-docker-ffmpeg-use-100-cpu-core-for-no-reason) |
Jellyfin docker FFMPEG use 100% CPU core for no reason - poiro - 2024-06-20 Hi, I just installed Jellyfin under Docker on my Raspberry Pi 5, and while I'm not using the server, I hear the fan running very loudly. So I typed the "htop" command and I see this result: I see that one core is running at 100% for no apparent reason. So, I ran the "ps aux" command to see the process consuming so much, and here's what it returned: I tried to understand this FFMPEG issue and find solutions on various forums, but I can't resolve it. RE: Jellyfin docker FFMPEG use 100% CPU core for no reason - theguymadmax - 2024-06-20 Do you have trickplay or chapter extractions enabled on your libraries? They run as a scheduled task. Or the intro skipper plugin? RE: Jellyfin docker FFMPEG use 100% CPU core for no reason - poiro - 2024-06-20 I have trickplay and extractions enabled. I disable trickplay and it seems to calm down the cpu. But I don't understand the original issue with FFMPEG and why it take 100% of cpu core. RE: Jellyfin docker FFMPEG use 100% CPU core for no reason - TheDreadPirate - 2024-06-20 Trickplays are created by ffmpeg. RE: Jellyfin docker FFMPEG use 100% CPU core for no reason - poiro - 2024-06-20 So if I understand correctly, there were errors because trickplays (thus FFMPEG) couldn't extract some data? Is it possible to solve this problem and if so, how? Or is it preferable to leave trickplay and the extractions disabled? RE: Jellyfin docker FFMPEG use 100% CPU core for no reason - TheDreadPirate - 2024-06-20 What errors are we talking about? ffmpeg will always use 100% of the resources it is given (one thread in this case). So what you described in your opening post is normal. Since you have plenty of cores available this shouldn't cause any responsiveness problems. As for whether to disable trickplay and chapter image extraction, that's a personal preference. Most people let the job run in the background. RE: Jellyfin docker FFMPEG use 100% CPU core for no reason - poiro - 2024-06-20 (2024-06-20, 01:35 PM)TheDreadPirate Wrote: What errors are we talking about? ffmpeg will always use 100% of the resources it is given (one thread in this case). So what you described in your opening post is normal. Ok, thks for the help |