Jellyfin Forum
Generate Trickplay Images takes an order of magnitude longer than Plex - 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: Generate Trickplay Images takes an order of magnitude longer than Plex (/t-generate-trickplay-images-takes-an-order-of-magnitude-longer-than-plex)



Generate Trickplay Images takes an order of magnitude longer than Plex - akanar - 2024-08-23

I have Plex and Jellyfin on the same docker host with the same resource limits. To generate these images Plex takes about 1-2 weeks. Jellyfin on the other hand has been generating them for 3-4 weeks at this point and is only at 11.6%. I do not see any errors in logs and seems everything is working normally. I also see very little CPU utilization. Only a single thread at 100%.

Is Jellyfins generation of these images seriously just 1 video at a time and that process is limited to just a single thread or do I have something configured wrong?


RE: Generate Trickplay Images takes an order of magnitude longer than Plex - TheDreadPirate - 2024-08-23

Did you enable hardware acceleration for trickplays?

Dashboard > Playback > Trickplay


RE: Generate Trickplay Images takes an order of magnitude longer than Plex - Efficient_Good_5784 - 2024-08-23

(2024-08-23, 08:47 PM)akanar Wrote: Is Jellyfins generation of these images seriously just 1 video at a time and that process is limited to just a single thread or do I have something configured wrong?
Jellyfin does only process one video at a time. However, it should be using much more of your CPU (if you didn't enable HWA for trickplays) unless you have something crazy like a really large CPU core count.

When using the CPU for trickplays on my CPU with 8 cores & 16 threads (Ryzen 7 Pro 5750G), the CPU gets to around 50% utilization.

For a single 24 minute video and default trickplay settings, my CPU takes around 1.3 minutes to complete a trickplay on average.


RE: Generate Trickplay Images takes an order of magnitude longer than Plex - akanar - 2024-08-23

I don't have a GPU on either install due to a bug I need to fix.

I must have missed the option before, but now I see the thread count option. Looks like it was set to one thread for default. I have changed it to 40 threads on my 48 thread server.

After making this change, it is already up to 12% from my original post.

It defaulting to only one thread is kind of insane.


RE: Generate Trickplay Images takes an order of magnitude longer than Plex - Efficient_Good_5784 - 2024-08-23

(2024-08-23, 10:15 PM)akanar Wrote: It defaulting to only one thread is kind of insane.
Some versions ago, there was a database bug affected by that thread count setting where setting it to 1 solved the issue for most people.
That's the reason it's set to 1 by default.
But if it works for you, then all is good.