Expected transcoding performance? - 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: Expected transcoding performance? (/t-expected-transcoding-performance) |
Expected transcoding performance? - DailyBadger5423 - 2024-06-25 Hello everyone, I feel like the transcoding performance of my setup is unexpectedly bad so I came here for a sanity check. I'm running jellyfin via rootless podman on a ThinkCentre M720q with the following specs: Intel® Core i5-8400T CPU @ 1.70GHz 8GB RAM Intel UHD Graphics 630 Samsung 250GB SSD Whenever I try watch a movie that needs to be transcoded it looks similar to the attached gif. The png attachment shows what it the movie is being transcoded to. The peak load I've seen so far was at 9 which is obviously not ideal with a 6 core processor. Is this kind of CPU load expected even WITH hardware acceleration? RE: Expected transcoding performance? - Mel_Gibson_Real - 2024-06-25 When tone mapping maybe, try transcoding a video thats not hdr and see if you see similar cpu usage. Check to see if you have all the packages for hw tone mapping. I dont have the names but the intel hw acceleration guide on jellyfins website will list them. RE: Expected transcoding performance? - Efficient_Good_5784 - 2024-06-25 The transcoding speed is fine. Your system is transcoding at 143fps from your picture. The issue is that your client is dropping frames. You have 7 dropped frames recorded in the picture. Are you using the same system to play the video as what the server is installed on? RE: Expected transcoding performance? - DailyBadger5423 - 2024-06-25 (2024-06-25, 08:59 PM)Mel_Gibson_Real Wrote: When tone mapping maybe, try transcoding a video thats not hdr and see if you see similar cpu usage.As far as I can see my source video file in the screenshot already is SDR. (2024-06-25, 08:59 PM)Mel_Gibson_Real Wrote: Check to see if you have all the packages for hw tone mapping. I dont have the names but the intel hw acceleration guide on jellyfins website will list them.According to the docs the official Docker-Image should bring everything that's required. https://jellyfin.org/docs/general/administration/hardware-acceleration/intel#configure-with-linux-virtualization (2024-06-25, 09:05 PM)Efficient_Good_5784 Wrote: The transcoding speed is fine. Your system is transcoding at 143fps from your picture.I was more asking about the amount of resources required on the server side. The video playback itself is fine (apart from an audio desync issue but I don't think those two issues are linked). (2024-06-25, 09:05 PM)Efficient_Good_5784 Wrote: The issue is that your client is dropping frames. You have 7 dropped frames recorded in the picture. Are you using the same system to play the video as what the server is installed on?I'm watching the video via Firefox in my main PC which is a different machine In case this is relevant I am using QSV and this is the output from vainfo and ffmpeg: Code: [redacted@redacted ~]$ podman exec -it jellyfin /usr/lib/jellyfin-ffmpeg/vainfo RE: Expected transcoding performance? - Efficient_Good_5784 - 2024-06-25 (2024-06-25, 09:13 PM)DailyBadger5423 Wrote: I was more asking about the amount of resources required on the server side. The video playback itself is fine (apart from an audio desync issue but I don't think those two issues are linked).Ohh sorry. I misread your first post and thought you meant the playback looked like a GIF. From what your server specs are, that does seem normal. While the video can be sent to the iGPU to transcode it, the audio has to be sent to the CPU cores to transcode that. So since the CPU you're using is on the lower-end in terms of performance, having a higher CPU utilization is normal. RE: Expected transcoding performance? - DailyBadger5423 - 2024-06-25 Okay, thank you. Is there a way to limit the threads the transcoder can use for the audio transcoding? Or am I better off just transcoding the source material once on my main pc and use the new x264 copy on my server? RE: Expected transcoding performance? - Efficient_Good_5784 - 2024-06-25 Audio transcodes don't really take advantage of multiple cores & threads. Also, just because HWA is enabled doesn't mean that the CPU won't stop handling parts of the video transcode too. RE: Expected transcoding performance? - nyanmisaka - 2024-06-26 It seems that HEVC 10-bit hw decoder is not enabled, which causes swdec+hwenc. You can enable it in Dashboard->Playback. |