• 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 Development Feature Requests Allow the use of both the CPU and the GPU when generating Trickplay images

     
    • 0 Vote(s) - 0 Average

    Allow the use of both the CPU and the GPU when generating Trickplay images

    Bravo-Mike
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2024 May
    Reputation: 0
    Country:Germany
    #1
    2024-05-16, 03:25 AM
    I had an idea that could potentially speed up the generation of Trickplay images in a significant way:

    https://features.jellyfin.org/posts/2672...lay-images

    I'd love to know your thoughts on the feasibility of this method and the effort required to implement it as an option.
    1
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-05-16, 12:41 PM (This post was last modified: 2024-05-16, 12:42 PM by TheDreadPirate.)
    My understanding is that the current process can use the GPU for decoding and CPU for encoding. Part/most of the reason it takes so long is that the entire file needs to be decoded. Based on some other observations, I believe that is a limitation of ffmpeg and not of Jellyfin.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    gnattu
    Offline

    Team Member

    Posts: 336
    Threads: 0
    Joined: 2024 Feb
    Reputation: 17
    #3
    2024-05-16, 01:26 PM
    We have an alternate approach that is even faster pending for 10.10: https://github.com/jellyfin/jellyfin/pull/11511

    This will make an hour video's trickplay images to be generated in 5-6 seconds, but the thumbnail will be less precise and some hardware video decoder is not compatible with this(so you have to use CPU in these cases)
    1
    « 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