• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: Jellyfin docker FFMPEG use 100% CPU core for no reason

     
    • 0 Vote(s) - 0 Average

    SOLVED: Jellyfin docker FFMPEG use 100% CPU core for no reason

    Docker FFMPEG use 100% of core cpu on raspberry pi 5
    poiro
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    #1
    2024-06-20, 07:58 AM (This post was last modified: 2024-06-20, 03:41 PM by poiro. Edited 1 time in total.)
    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.
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,021
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #2
    2024-06-20, 10:27 AM
    Do you have trickplay or chapter extractions enabled on your libraries? They run as a scheduled task. Or the intro skipper plugin?
    poiro
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    #3
    2024-06-20, 12:40 PM
    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.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-06-20, 01:07 PM
    Trickplays are created by ffmpeg.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    poiro
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    #5
    2024-06-20, 01:17 PM
    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?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-06-20, 01:35 PM
    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.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    poiro
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    #7
    2024-06-20, 03:38 PM
    (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.

    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.

    Ok, thks for the help
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode