Jellyfin Forum
Trickplay 4k Image Generation not working - 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: Trickplay 4k Image Generation not working (/t-trickplay-4k-image-generation-not-working)

Pages: 1 2


RE: Trickplay 4k Image Generation not working - gnattu - 2025-02-14

No. Your CPU is just THAT SLOW. We cannot do magics like download more performance, no way. That keyframe only option is the ONLY way that you have to make the trickplay image generation to complete in a meaningful time. The whole reason that option exists is to not generate the files for a whole month.


RE: Trickplay 4k Image Generation not working - TheDreadPirate - 2025-02-14

To add to what gnattu said, enabling that setting doesn't reduce the number of images produced. It changes how ffmpeg reads and processes your media to create trickplays. Instead of creating images on frames at EXACTLY that time stamps set by the interval, it will only read key frames and produce trickplay images based on the nearest key frame. Key frames are "whole" images that don't require other frames to decode. How often key frames occur in your video depends on how it was encoded. If you DON'T enable this setting ffmpeg will need to start at a key frame and decode EVERY frame until it reaches the desired time stamp. Which could be a couple seconds worth of video or possibly much longer. Videos with only a key frame at the very beginning are a thing, though rare.

This will result in less "accurate" trick play images but MUCH faster trickplay creation. In 10.9 there was no "key frame" option for trickplays. IIRC, it too me 3 days to create trickplays for my library at the time. Now it completes in a couple hours when the key frame option was added. AND my library is much larger now.

You didn't specify your Synology model, but if it has a relatively recent Intel CPU you can enable some of the hardware acceleration options.


RE: Trickplay 4k Image Generation not working - AudioVisualAndy - 2025-02-15

I have a Synology DS1821+. As far as I know, I can’t transcode 4k feeds, but I don’t know about hardware acceleration for Trickplay. Any help would be greatly appreciated.


RE: Trickplay 4k Image Generation not working - gnattu - 2025-02-15

Synology DS1821+ has a CPU that is even slower than a raspberry pi 5, and with raspberry pi 5 we are seeing timeouts like you have seen. You can increase this timeout to a super huge number but I would still recommend you to enable that keyframe only option to vastly reduce the CPU load.


RE: Trickplay 4k Image Generation not working - TheDreadPirate - 2025-02-15

That model has an AMD Ryzen CPU with no iGPU. So zero hardware acceleration capabilities.


RE: Trickplay 4k Image Generation not working - AudioVisualAndy - 2025-02-16

Thanks for all the info, I had looked into acceleration before and was pretty sure that my NAS wasn’t capable, but I couldn’t remember the gdetails. I enabled the Key Frame option and it looks like it is completing trick play scans now. Thanks for all your help!