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.