jellyfin icon indicating copy to clipboard operation
jellyfin copied to clipboard

Allow streaming of raw PGS subtitles without transcoding

Open Arcus92 opened this issue 8 months ago • 3 comments

Changes This PR adds support for streaming raw PGS subtitles (graphical subtitles) if requested by the client. PGS subtitles can be loaded from external .sub / .sup files or extracted from an .mkv container. This removed the need for video transcoding just for the PGS subtitle.

Related Pull Request: https://github.com/jellyfin/jellyfin-web/pull/5688

Discussion points:

  • Extracting subtitles from large .mkv can take multiple minutes for ffmpeg to process the whole file. This is only be done once per media file. The subtitles are cached afterwards.
  • PGS subtitles are large (multiple megabytes) and may take a while to load.

Arcus92 avatar Jun 09 '24 21:06 Arcus92