jellyfin / jellyfin-tizen

Jellyfin Samsung TV Client
https://jellyfin.org
936 stars 72 forks source link

Player Unnecessarily Transcodes Video for Streams with PGS subtitle #202

Open bsod-haunted opened 1 year ago

bsod-haunted commented 1 year ago

When trying to play an MKV file that has embedded PGSSUB, the player starts to encode the file to burn in the subtitels.

Disabling the subtilte results in Jellyfin serving the file as direct play. Enabling the subtitel resutls in transcoding because of an unsupported subtitle codec. -> side note: unfortunately when the encoding happens, the file becomes SDR. The source is 4k HDR.

This however meight be unnecessary, since the same file tested with plex on the same tv does not need encoding. While i have no knowledge abbout subtitle formats, this makes me think that the tv does support the format.

kraM1tt commented 1 year ago

PGS is an image based subtitle, not many devices support it, you want text based like SRT, you can add them yourself from sites like subscene.com

jojobird6 commented 1 year ago

Unfortunately, subtitles from a ripped disk are usually PGSSUB. Until support for PGS is added directly into the app, I'd recommend using either an external subtitle provider (like opensubtitles.org) or using a utility like subtitle edit to convert PGS subtitles into text-based.

If you use handbrake to encode your media, you can have it burn in the forced subtitles ahead of time. It's not a perfect solution, and isn't helpful if you want the ability to choose whether or not to use subtitles, but it is a workaround if you want to keep HDR.