Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subtitles bug #267

Open
Snipy2k4 opened this issue Nov 8, 2024 · 4 comments
Open

subtitles bug #267

Snipy2k4 opened this issue Nov 8, 2024 · 4 comments

Comments

@Snipy2k4
Copy link

Snipy2k4 commented Nov 8, 2024

Hello,

something has been changed in the last updates. Two years ago I had the problem that ASS subtitles were not displayed in the browser and on my LG OLED. But they did in the desktop app. When I then extracted the subtitles with gMKVExtractGUI and remuxed them with MKVToolNix, it suddenly worked. Then something was changed during an update and the subtitles worked normally. Now files with subtitles created with HandBrake no longer work without extracting the subtitles and recreating the file.

What has happened?

Here is the old post: #143
The fix was this: jellyfin/jellyfin#9344
But now it's back?!

@Snipy2k4
Copy link
Author

Snipy2k4 commented Nov 8, 2024

I was able to reproduce this 1:1. If I extract the ASS subtitles and add the subtitles again with MKVToolNix, remove the old ones and create the file again, the subtitles work in the browser and on the LG TV with the app from the LG Store.

It is apparently the same error as the one I linked to.

@seeseemelk
Copy link

It broke for me ever since I updated the server to version 10.10

@Andreas-76
Copy link

Andreas-76 commented Nov 17, 2024

Don't know if I'm writing in the right place, maybe this should be under jellyfin-ffmpeg.
I have the same bug just updated to docker jellyfin 10.10.2 still the same bug.
and when it generates the .ass file, it comes with a null character in the file.
Image
Which means that jellyfin web and android tv app do not display the subtitle
but if you remove the null character from the file, it works.
To solve this I just made an ugly workaround
have created a cron job that goes through the subtitles and removes the null character

* * * * * find /path to/jellyfin/config/data/subtitles/* -maxdepth 1 -type f -name '*.ass' -print0 | xargs -0 -I {} -P 0 sed -i -e 's/\x0//g' {}

@Snipy2k4
Copy link
Author

Snipy2k4 commented Nov 17, 2024

As I wrote above, the problem is solved by manually extracting the ASS subtitles and adding them without changing them with the MKVTool and recreating the file.

For a large collection, this would mean, in my case, several 10,000 files that would have to be edited manually although it was once fixed and worked. With the update to version 10 this was broken again.

To be honest, I have no desire to edit 10,000+ files manually as there is obviously another way.

If this is the wrong section, I would ask you to move this so that the error can be addressed. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants