This feature request respects the following points:
Platform
tvOS, iOS
Describe the feature you'd like to see
@JPKribs @LePips
As you already know, subtitles support in AVPlayer is limited & management via HLS is a nightmare.
Motivation:
The Jellyfin web client on Safari (AVPlayer) uses a custom renderer for subtitles that draws on top of AVPlayer.
Server already extracts and converts all subtitles ahead of time. Web client has separate controls drawn over AVPlayer to enable/disable & change subtitle tracks seamlesslessly. No need to mess with HLS or restart video playback.
The next chapter of Swiftfin?
Swift ASS Renderer is a free, open source library that renders ASS subtitles seamlessly on top of AVPlayerLayer and will be the perfect addition to Swiftfin.
This will initially provide ASS subtitles support for Swiftfin but can be expanded to support other formats.
A quick client-side text subtitles to ASS conversion (using ffmpeg) can also be employed allowing use of that library nearly unaltered with SRT (and many others) as well.
https://github.com/mihai8804858/swift-ass-renderer
This feature request respects the following points:
Platform
tvOS, iOS
Describe the feature you'd like to see
@JPKribs @LePips
As you already know, subtitles support in AVPlayer is limited & management via HLS is a nightmare.
Motivation:
The Jellyfin web client on Safari (AVPlayer) uses a custom renderer for subtitles that draws on top of AVPlayer.
Server already extracts and converts all subtitles ahead of time. Web client has separate controls drawn over AVPlayer to enable/disable & change subtitle tracks seamlesslessly. No need to mess with HLS or restart video playback.
The next chapter of Swiftfin?
Swift ASS Renderer is a free, open source library that renders ASS subtitles seamlessly on top of AVPlayerLayer and will be the perfect addition to Swiftfin.
This will initially provide ASS subtitles support for Swiftfin but can be expanded to support other formats.
A quick client-side text subtitles to ASS conversion (using ffmpeg) can also be employed allowing use of that library nearly unaltered with SRT (and many others) as well.
https://github.com/mihai8804858/swift-ass-renderer