jellyfin / jellyfin-webos

WebOS Client for Jellyfin
https://jellyfin.org
Mozilla Public License 2.0
623 stars 60 forks source link

double subtitles #231

Open RichardLuo0 opened 1 month ago

RichardLuo0 commented 1 month ago

Hi, this is my first time using Jellyfin, so I am not sure if I set everything right. But here is the issue: there will be double subtitles (english and chinese) if I have Chinese subtitle turned on. I already tried the subtitle mode option in settings and it doesn't affect anything.

RichardLuo0 commented 1 month ago

Btw, the issue doesn't appear on the web version

RichardLuo0 commented 1 month ago

The Android version doesn't have the issue too And I find it strange that even if I turn off subtitles completely, the English subtitle still appears

dmitrylyzo commented 1 month ago

My guess is that there's something wrong with the indices.

What TV model? What Jellyfin version? What container of the media you are trying? What format of subtitles? Embedded or external? Or maybe just post Media Info (3dot button on the item). What play method (you can see it in Player Setings -> Playback Info)?

RichardLuo0 commented 1 month ago

image

RichardLuo0 commented 1 month ago

I forget the TV model, its a very old one. web os 4.06.25 Jellyfin 1.2.2

RichardLuo0 commented 1 month ago

播放信息

播放器 Html Video Player

播放方式 直接播放

协议 http

串流类型 Video

视频信息

视频分辨率 1920x1080

丢弃的帧 0

损坏的帧 0

媒体源信息

媒体载体 mkv

大小 2.2 GiB

比特率 6.2 Mbps

视频编码 H264 Main

视频码率 5.4 Mbps

动态范围类型 SDR

音频编码 EAC3

比特率 768 kbps

声道 6

采样率 48000 Hz

RichardLuo0 commented 1 month ago

image

dmitrylyzo commented 1 month ago

web os 4.06.25

This is the firmware version, not the webOS version. If it is around 2015, it is webOS 1 or 2.

Jellyfin 1.2.2

This is the app version. What version of Jellyfin server?

image

We have reports of playback not working when there are too many subtitles.

Could you try lowering the maximum audio channels (in User Settings (avatar) -> Playback -> Maximum audio channels, select Stereo and Save)? This should transcode the audio but not the video (Direct streaming) and, in theory, show only selected subtitles.

RichardLuo0 commented 1 month ago

This is the app version. What version of Jellyfin server?

Jellyfin.Server 10.9.2.0

We have reports of playback not working when there are too many subtitles.

I did not encounter any playback issues though.

Its too late and I am going to sleep now, I will reply to you tomorrow.

RichardLuo0 commented 1 month ago

If it is around 2015, it is webOS 1 or 2.

Web OS 2.2.3-2155

changing audio channels does not work

dmitrylyzo commented 1 month ago

changing audio channels does not work

It doesn't switch to direct streaming or what? Check it in Player Settings -> Playback Info (Play method).

The idea is to try forcing it to change the play method to HLS so there are no subtitle tracks left.

RichardLuo0 commented 1 month ago

image

dmitrylyzo commented 1 month ago

OK, another plan.

  1. On PC, go to Dashboard -> Users -> user you are using on TV -> disable Allow audio playback that requires transcoding and Allow video playback that requires transcoding -> save. Allow video playback that requires conversion without re-encoding should be enabled.
  2. On TV, after playback starts, Player Settings -> Quality - > lowest value.

This should force it to remuxing (also HLS).

RichardLuo0 commented 1 month ago

This works

RichardLuo0 commented 1 month ago

Does remuxing cause any performance issues? Can I use it all the time? And will you make a permanent fix soon?

dmitrylyzo commented 1 month ago

Does remuxing cause any performance issues?

Not so much compared to video transcoding - it simply copies streams to a different container. So, imo, the main problem is that it requires extra space (~size of the original file - depends on the number of tracks) in the transcoding folder.

Can I use it all the time?

It should be enabled anyway if you want to play MKV in browsers.

And will you make a permanent fix soon?

I don't know what the cause of the problem is yet.

dmitrylyzo commented 1 month ago

How many subtitle tracks are in the file? I tried video+audio+50subs in the webOS 1.2 emulator - works fine. video+audio+100subs also works. 488subs (all possible languages) doesn't start playback.

RichardLuo0 commented 1 month ago

43