[PR #12056] Allow streaming of raw PGS subtitles without transcoding #13080

Closed
opened 2026-02-07 07:06:46 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/jellyfin/jellyfin/pull/12056

State: closed
Merged: Yes


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 (web): https://github.com/jellyfin/jellyfin-web/pull/5688
Related Pull Request (vue): https://github.com/jellyfin/jellyfin-vue/pull/2404

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.
**Original Pull Request:** https://github.com/jellyfin/jellyfin/pull/12056 **State:** closed **Merged:** Yes --- **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 (web):** https://github.com/jellyfin/jellyfin-web/pull/5688 **Related Pull Request (vue):** https://github.com/jellyfin/jellyfin-vue/pull/2404 **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.
OVERLORD added the pull-request label 2026-02-07 07:06:46 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13080