Skip to content

Subtitles shift when playing transcoded media #7413

@6Leoo6

Description

@6Leoo6

This issue respects the following points:

  • This issue is not already reported on GitHub (I've searched it).
  • I agree to follow Jellyfin's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Describe the bug

I noticed a few months ago, that when playing transcoded media in the web player the subtitle track shifts in time a seemingly random amount upon switching video tracks or seeking. I could correct the shift by applying a subtitle offset manually, but upon seeking again, it would require me to adjust it.

I've tested this with clients on Windows and MacOS, in browsers like Chrome, Zen, Edge and Safari and through Jellyfin servers installed via Docker on Linux and a fresh Windows install. Happened with all kinds of different media.

Reproduction Steps

  1. Open any Jellyfin web client
  2. Play a media of your choice
  3. Turn on subtitles
  4. Set a lower bit rate, where the server must transcode
  5. Seek to a random time
  6. Observer the subtitle not aligning with the video track

Expected/Actual behaviour

The subtitle track should stay consistently aligned with the video and audio track.

Logs

No response

Server version

10.10.2

Web version

10.10.2

Build version

10.10.2

Platform

Windows, MacOS

Browser

Chrome, Zen (Firefox), Edge, Safari

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions