jellyfin / jellyfin-android

Android Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
1.57k stars 251 forks source link

Add mpv player, decode on Android player side, load ass/ssa subtitles #1489

Open youtehub opened 1 month ago

youtehub commented 1 month ago

Describe the feature you'd like

I hope to support mpv player, so that the player can decode it. As shown in the picture below, the exo player currently used needs to decode the server before playing when loading ass/ssa subtitles. I hope to support mpv player, so that the decoding and loading of all subtitles can be done directly on the Android side, instead of relying on the server transcoding before playing.

Because calling an external player cannot achieve continuous playback, although the web player and EXOplayer can achieve continuous playback, the web player needs to rely on server transcoding, and the EXOplayer external subtitles can only support basic functions. If there are advanced styles in the subtitles, they cannot be played normally. EXOplayer sometimes reports an error when playing the video, and the error message is source error. These problems should be solved by integrating mpv player. Although the external player does not have the above problems, continuous playback cannot be achieved and can only be played episode by episode.

Which video player implementations does this feature apply to?

Additional context

862dcb800d3beb0a169e10f031e8df2c

86ddca5ce05bcb3e3b525c2934bc7702

0x90shell commented 1 month ago

I agree I'd like something more robust added as the internal player. Since the removal of libVLC half my library cannot play, native playback not transcoding, on the TV app.