mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
Transcoding media due to unsupported subtitles codec #3861
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @YodaQ on GitHub (May 29, 2022).
When playing back an mkv file with embedded subtitles that are either ASS or SSA the video is transcoded before it is being delivered to the client. This happens with the integrated player on the android client.
If you disable the subtitles play the video then re enable the subtitles the video will direct play and you will still get subtitles.
The problem is not an issue on the web player but that has other issues such as subtitles being very out of sync. Subtitles not showing up until you disable then re-enable them which are worse problems.
The option to let the subtitles be delivered as plain text is enabled.
The issue is why is the whole video being transcoded when only the subtitles are a problem. I know that with ffmpeg you are able to just re-encode the subtitles. The phones also clearly supports the subtitles without re-encoding but the server still thinks that transcoding is needed..
Server System (please complete the following information):
Client System (please complete the following information):
@nalsai commented on GitHub (May 30, 2022):
Android does not support ASS/SSA subtitles correctly with the integrated player, which uses ExoPlayer. You can follow the issue here: https://github.com/google/ExoPlayer/issues/8435 It is slowly being worked on, but I don't foresee good support any time soon.
The web player uses JavascriptSubtitlesOctopus and from my experience there are some problems with sync, fades and sometimes lines being missing, although it is apparently supposed to work.
You can't convert ASS/SSA without losing most features, except for basic text. In order to display them correctly, they have to get burned in to the video.
If your device supports the video format, I recommend installing mpv and using it as an external player for direct play. It even works with playback position and everything and it supports subtitles perfectly. Otherwise, transcoding the whole video is sadly the best option.
@YodaQ commented on GitHub (May 30, 2022):
Thanks for the info although it would be great if there were an option where you could enable just using basic text instead of transcoding as some subtitles are in basic text they are just encoded in ass/ssa. Like subtitles on english media.
@nalsai commented on GitHub (May 30, 2022):
If someone is willing to program it (I could maybe do it during vacation), I'm sure that could be made an option in jellyfin-android.
@YodaQ commented on GitHub (May 30, 2022):
Thanks this is why I really like Jellyfin due to its great community and the fact that all the options are there for power users to tweak and see what works best.
@YodaQ commented on GitHub (May 30, 2022):
Possible inclusion of play subtitles in basic format to prevent trascoding option in the android app. If anyone is willing to code it.