• 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 High CPU usage when audio transcoding?

     
    • 0 Vote(s) - 0 Average

    High CPU usage when audio transcoding?

    SVRUM
    Offline

    Junior Member

    Posts: 10
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:United States
    #20
    2025-01-12, 08:39 PM (This post was last modified: 2025-01-12, 08:41 PM by SVRUM. Edited 2 times in total.)
    (2025-01-12, 04:09 PM)TheDreadPirate Wrote: 50-70% on a single core?  Or all cores?  Can you share your ffmpeg log?

    Continuing discussion from this thread so it's all ion one place: https://forum.jellyfin.org/t-hardware-tr...ot-working

    @gnattu @TheDreadPirate I will just post my replies in this thread since it is more correct at identifying the issue.

    https://pastebin.com/xBftTbYq - Logs, playing movie on Jellyfin ios app -transcoding 7.1.4 Surroudn .thd to .aac and nothing else. "Use Native Player" is unchecked.

        Resource usage

        Majority of usage is coming from ffmpeg command line


    As soon as playback begins it spikes to 70% and hovers around 50%-70% the entire time playback is happening. The weird thing is that it seems to do it in bursts, dropping to 2%-5% for a few seconds, then going again up to 50%-70% for a minute or so, and repeating the entire time playback is happening. The high CPU usage makes it impossible to have two streams playing on the network at the same time. This does not happen with Direct Play, if my device/player can play .ac3 or .thd files natively, no transcoding happens and I get like 2%-3% CPU usage and 0% iGPU usage

    Keep in mind I also have the exact same usage when doing 5.1 Surround .ac3 on the Jellyfin  AND Swiftfin iOS app as well, my apologies @gnattu, I was mistaken, I tested in three differnet places, jellyfin iOS app, Swiftfin iOS app, and connecting to jellyfin through Safari, my CPU usage is high in Jellyfin AND Swiftfin, but not in Safari (when doing .ac3 5.1 surround), safari doesn't transcode .ac3 to .aac , while jellyfin and swiftfin are. (I get the same CPU usage spikes when  switching to 7.1.4 (.thd) audio stream in safari)


    https://pastebin.com/Jjt2hmg4 - logs of safari 5.1 .ac3 playback

        - Play back begins at that intitial spike in the beginning of the chart.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    High CPU usage when audio transcoding? - by FuzzyJelly - 2024-10-30, 03:55 PM
    RE: High CPU usage when audio transcoding? - by TheDreadPirate - 2024-10-30, 03:59 PM
    RE: High CPU usage when audio transcoding? - by FuzzyJelly - 2024-10-30, 05:35 PM
    RE: High CPU usage when audio transcoding? - by TheDreadPirate - 2024-10-30, 06:35 PM
    RE: High CPU usage when audio transcoding? - by FuzzyJelly - 2024-10-31, 04:44 PM
    RE: High CPU usage when audio transcoding? - by TheDreadPirate - 2024-10-31, 06:12 PM
    RE: High CPU usage when audio transcoding? - by FuzzyJelly - 2024-10-31, 07:16 PM
    RE: High CPU usage when audio transcoding? - by FuzzyJelly - 2024-11-03, 10:19 AM
    RE: High CPU usage when audio transcoding? - by FuzzyJelly - 2024-11-03, 07:05 PM
    RE: High CPU usage when audio transcoding? - by TheDreadPirate - 2024-11-03, 07:39 PM
    RE: High CPU usage when audio transcoding? - by FuzzyJelly - 2024-11-03, 08:54 PM
    RE: High CPU usage when audio transcoding? - by TheDreadPirate - 2024-11-03, 10:10 PM
    RE: High CPU usage when audio transcoding? - by FuzzyJelly - 2024-11-04, 10:01 PM
    RE: High CPU usage when audio transcoding? - by FuzzyJelly - 2024-11-10, 11:11 PM
    RE: High CPU usage when audio transcoding? - by luckman212 - 2024-11-11, 02:19 PM
    RE: High CPU usage when audio transcoding? - by FuzzyJelly - 2024-11-18, 10:26 AM
    RE: High CPU usage when audio transcoding? - by TheDreadPirate - 2024-11-11, 03:23 PM
    RE: High CPU usage when audio transcoding? - by SVRUM - 2025-01-12, 07:31 AM
    RE: High CPU usage when audio transcoding? - by TheDreadPirate - 2025-01-12, 04:09 PM
    RE: High CPU usage when audio transcoding? - by SVRUM - 2025-01-12, 08:39 PM
    RE: High CPU usage when audio transcoding? - by TheDreadPirate - 2025-01-12, 09:42 PM
    RE: High CPU usage when audio transcoding? - by SVRUM - 2025-01-12, 11:23 PM
    RE: High CPU usage when audio transcoding? - by TheDreadPirate - 2025-01-12, 11:40 PM
    RE: High CPU usage when audio transcoding? - by SVRUM - 2025-01-13, 12:48 AM
    RE: High CPU usage when audio transcoding? - by TheDreadPirate - 2025-01-13, 01:05 AM

    • 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