jellyfin / jellyfin-media-player

Jellyfin Desktop Client
GNU General Public License v2.0
3.11k stars 312 forks source link

[Bug] Subtitles format bugged when loaded automatically #643

Open kradear opened 4 months ago

kradear commented 4 months ago

Describe the bug When subtitles are set to load automatically (Always - Default, etc), they load crammed on the side. You need to turn them off and on or switch to different ones to see their format fixed.

To Reproduce Steps to reproduce the behavior:

  1. Open Jellyfin Media Player
  2. Set subtitles to load automatically in settings
  3. Click play on any movie/series
  4. See subtitles first load crammed on the side

Expected behavior Subtitles loading automatically in correct format.

Screenshots image

Desktop:

Additional context I have a custom CSS layout set on the server side and custom options set in "Other" under client settings for the player, changing mostly subtitles size and positioning. Clearing both and going back to default with a restart of the server/client did not fix the problem.

HijackHornet commented 4 months ago

I have the same issue since the update. Putting the view in fullscreen then back to normal size fix the issue for the current episode but it comes back on the next media.

PCJones commented 4 months ago

I have the same problem and can use the same fix (close&open fullscreen).

OS: Windows 11 Home 23H2
Version 1.10.0 / 1.10.1
Installation Method: windows installer

I have 2 displays, just in case this might be relevant.

nathangur commented 4 months ago

This doesn't seem to occur with all subtitles either. I haven't looked into the differentiating factor yet.

kofzhanganguo commented 4 months ago

Snipaste_2024-05-18_14-14-03 Same problem, the subtitle format is SRT, and the subtitles will be displayed correctly when double-clicking the full screen.

okphilo commented 4 months ago

same issue. server version: 10.9.2 client version: jellyfin media player 1.10.1

ElPenguin commented 4 months ago

same issue. server version: 10.9.2 client version: jellyfin media player 1.10.1

CassieRoseZA commented 4 months ago

Same Problem

mahriman commented 4 months ago

Not much new info, but I'll add it for reference anyway:

nathangur commented 4 months ago

I took a look at what might be causing this in the source code but came up empty handed. This might be an issue from the mpv player Jellyfin uses on Windows since I don't thing this is occuring on other OS's

SMSourov commented 3 months ago

Try the latest version. It seems to fixed the bug.

mahriman commented 3 months ago

Try the latest version. It seems to fixed the bug.

Just updated to 1.11.0. Though the update required a restart of Windows (which I haven't done) the issue is still persistent. Someone else who has the ability to reboot might be able to confirm if that solves it, but otherwise it seems to still linger.

barriteau commented 3 months ago

Try the latest version. It seems to fixed the bug.

Just updated to 1.11.0. Though the update required a restart of Windows (which I haven't done) the issue is still persistent. Someone else who has the ability to reboot might be able to confirm if that solves it, but otherwise it seems to still linger.

Still happening here after booting and re-authenticating

ElPenguin commented 3 months ago

With Jellyfin 10.9.6 and Jellyfin Media Player 1.11.0, it work

mahriman commented 3 months ago

With Jellyfin 10.9.6 and Jellyfin Media Player 1.11.0, it work

Strange, that is what I'm running and I still have the issue.

kradear commented 3 months ago

Jellyfin 10.9.4 and JMP 1.11.0; seems fixed.

edit: still happening, but more random than before

mahriman commented 3 months ago

Okay I did a restart and after that it seems to be wowrking as expected on 10.9.6 / 1.11.0

kofzhanganguo commented 3 months ago

Jellyfin Media Player 1.11.0 subtitles are still the same as the previous version and have not been fixed. image I still don't understand if this problem is a bug that is difficult to fix?

mahriman commented 3 months ago

Okay I did a restart and after that it seems to be wowrking as expected on 10.9.6 / 1.11.0

Correction, does not work still. No idea why it intermittently seemed to start working for one media file that previous had problems.

SMSourov commented 3 months ago

I updated again and the subtitle is broken again. 🙁

pulpul-s commented 3 months ago

This is probably a bug in libmpv-2.dll. I replaced the file with the one from dated 20240304 and it works. https://sourceforge.net/projects/mpv-player-windows/files/libmpv/ mpv-dev-x86_64-v3-20240304-git-9ac791c.7z

Uncle-Tio commented 3 months ago

This is probably a bug in libmpv-2.dll. I replaced the file with the one from dated 20240304 and it works. https://sourceforge.net/projects/mpv-player-windows/files/libmpv/ mpv-dev-x86_64-v3-20240304-git-9ac791c.7z

I also confirm. I decided to test other versions:

mpv-dev-x86_64-v3-20240414-git-6a8b130 seems the closest to the stable version of mpv as well. (I don't know if v3 or not v3 makes a difference)


mpv-dev-x86_64-20240513-git-61f72bd (from here) is the version included in 1.11.1. I don't think this problem has come to the attention of the dev yet... theoretically it's simple to solve?

PCJones commented 3 months ago

Could one of you who did some more in-depth testing create an issue? https://github.com/mpv-player/mpv/issues

XDark187 commented 2 months ago

I'm having the same issue I was able to fix it be replacing the libmpv-2.dll with this version "mpv-dev-x86_64-v3-20240414-git-6a8b130", tried the latest version but it had the same issue. Thanks to @Uncle-Tio @pulpul-s

ToraZyal commented 1 month ago

Changing the subtitles to off or any other and back works for me, at least until its fixed

romabysen commented 1 month ago

For me, this only happen when NOT using OpenGL. When using OpenGL it works fine.

zivshek commented 3 weeks ago

For me, this only happen when NOT using OpenGL. When using OpenGL it works fine.

it still happens with OpenGL for me unfortunately.

romabysen commented 6 days ago

Yes, you are correct. it happens also with opengl for me.