• 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 General Questions Trickplay too slow. What will help?

     
    • 0 Vote(s) - 0 Average

    Trickplay too slow. What will help?

    mrcoffee
    Offline

    Junior Member

    Posts: 3
    Threads: 2
    Joined: 2025 Apr
    Reputation: 0
    Country:United States
    #1
    2025-04-25, 03:37 PM
    I have about 40tb of data on a truenas ixsystem server . I’m currently generating trickplay images at a rate of 1 movie every two minutes. At this rate I’ll be done in 11 days. 

    Would hooking up a 12gb Nvidia 4070 super in my server  make the trick play images any faster ? Right now I assume it’s just the cpu doing it. 

    Also why was I able to complete the trick play on Emby in just a few days if they are using the same ffmpeg program to convert ? I don’t like Emby but it was much faster for me. I was using key frames only for it also. 

    Any guidance on making it faster would be great. I already have all 6 cores assigned to jellyfin.

    Thanks for the help.
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #2
    2025-04-25, 04:51 PM (This post was last modified: 2025-04-25, 04:53 PM by Efficient_Good_5784. Edited 1 time in total.)
    While you can make the trickplay task use a GPU, it will actually make the process slower than on a CPU.
    What I have been told before is that unless your CPU is really low-powered and slow, it's better to just let the CPU handle the creation.

    That said, trickplay creation has an option to use video keyframes, which is what you want to use if you want this to go by faster.

    The reason keyframes makes things go faster is because normally, the trickplay task needs to process a video frame by frame. As it's going frame by frame, it's keeping track of the time and obtaining a frame at the desired interval that it will then convert to a jpg image for the trickplay file. The process of going through each frame takes time.

    The reason you need to go through each frame in order is because modern video codecs have different types of frames. The majority of the frames present in an encoded video are not full images by themselves, but are the difference between the last few frames and itself at that point in time in the video.

    Keyframes (also known as I-frames) are 100% full images that don't need any other frames to show the full picture. Depending on how the video was encoded, you will have a number of these all throughout the video. You can quickly pull these up since they are already complete by themselves.

    By choosing to use keyframes in Jellyfin's trickplay task, what you're doing is finding the closest keyframe relative to each time period you set for the task and using that for the video scrubbing preview. You'll be trading accuracy of your time interval for images, but using keyframes is super fast compared to the traditional way to create them.

    So tl;dr is to enable the keyframe option if you want this to go by fast.
    1
    mrcoffee
    Offline

    Junior Member

    Posts: 3
    Threads: 2
    Joined: 2025 Apr
    Reputation: 0
    Country:United States
    #3
    2025-04-25, 05:46 PM
    Thanks for the reply. . It’s currently set on key frames only already. With key frames off it does about a movie an hour or two on an 8 core 2.2 Intel atom CPU. Maybe I’ll wait it out , I just couldn’t figure out why it was slower than Emby with the same settings.

    Thanks for your reply. It helps out a lot. I appreciate it.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • 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