• 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 Server Development How does Jellyfin live transcoding?

     
    • 0 Vote(s) - 0 Average

    How does Jellyfin live transcoding?

    theprof
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:United States
    #1
    2024-10-23, 07:02 PM
    How does Jellyfin do live transcoding?

    Basically, how is FFMPEG doing the realtime transcoding meanwhile the client's browser is able to fast forward/seek in terms of HTTP?

    I'm able to pipe the FFMPEG transcoding output to the browser HTML5 video. However, it keeps downloading and increasing the duration during the playback so it's possible to seek to a specific minute mark until the whole video has been downloaded. How does Jellyfin do it?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 11,848
    Threads: 10
    Joined: 2023 Jun
    Reputation: 347
    Country:United States
    #2
    2024-10-23, 07:31 PM
    On a decently spec'd system, ffmpeg is transcoding faster than real time and building up a buffer. If you skip to a part that already has been transcoded, Jellyfin will send the segment from that time stamp. If you skip to a portion of the video where ffmpeg has not yet transcoded, ffmpeg will be restarted at that time stamp and there is usually a noticeable delay of a few seconds for this situation.
    Jellyfin 10.10.3 (Docker)
    Ubuntu 24.04 LTS 
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
    [Image: GitHub%20Sponsors-grey?logo=github]
    « 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