-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[10.7] Transparent Subtitles #2291
Comments
10.6 ass/ssa subtitle burn-in by ffmpeg 10.7 ass/ssa rendered by JavascriptSubtitlesOctopus in browser |
I see is this an upstream issue then? |
I also encountered similar problems on some subtitles before. |
Do you have some fonts I could use or know where I could get some? |
May be Google fonts? |
I downloaded https://fonts.google.com/specimen/Roboto regular. Made a new folder and extracted them into the folder, put that path into Jellyfin and enabled fallback fonts. Unfortunately it doesn't seem to have done anything and the problem still persists. |
Seems there are some issues with alpha channel. |
I see. Both of them are fixes that are merged are they included in 10.7-RC2? |
Sure. But I have never seen it enabled in web browsers. |
Nope nothing about it being enabled in my browser console. |
You can force enable it here and rebuild jellyfin-web with it to test. Line 4836 in 3bd4b99
|
How do I enable it? What do I need to replace?
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by adding a comment or commit. Stale issues close after an additional 14d of inactivity. If this issue is safe to close now please do so. If you have any questions you can reach us on Matrix or Social Media. |
This bug isn’t fixed and still happens in 10.7.5. |
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. |
Still an issue on 10.7.7. |
@TheNamelessWonderer Is there a |
Do you mean on screen? On screen they show normally but just transparent as shown in the screenshot in the first post. If you mean in the browser console I haven’t looked their but I can have a look if it would help. Or do you mean in the sub file itself? |
In the subtitles file. |
Yes there is:
|
@l4kr I am waiting for libass/JavascriptSubtitlesOctopus#111 to be merged (we want to migrate to the upstream) and counted about 5 PRs that I am going to open (libass/JavascriptSubtitlesOctopus#111 (comment)). One of them should help a bit with heavy animation - it will discard some frames if it can't render in time. A new rendering mode from another contributor is also expected - using hardware acceleration in the worker. |
Hello is there any progress on this? I see your pull request on the repo was closed. Also is jellyfin/JavascriptSubtitlesOctopus#21 planning to make it into 10.8? Thanks! |
Fixed by #3644 |
Thank you so much! |
Describe The Bug
Some subtitles are transparent in 10.7 making them hard to read.
Steps To Reproduce
Expected Behavior
The Sub titles shouldn't be transparent
Logs
10:6 FFMPEG command:
ffmpeg -ss 00:01:39.000 -noaccurate_seek -f matroska,webm -i file:"/path/to/file" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 7834386 -bufsize 15668772 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames:0 "expr:gte(t,99+n_forced*3)" -g 72 -keyint_min 72 -sc_threshold 0 -vf "scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2,subtitles='/Volumes/sda1/TV Shows/Jojo'\\\''s Bizarre Adventure/Season 3/[Some-Stuffs]_Jojo'\\\''s_Bizarre_Adventure_Diamond_is_Unbreakable_27_(1920x1080_Blu-Ray_FLAC)_[8B33D737].mkv:si=0'" -start_at_zero -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 192000 -copyts -avoid_negative_ts disabled -f hls -max_delay 5000000 -hls_time 3 -individual_header_trailer 0 -hls_segment_type mpegts -start_number 33 -hls_segment_filename "/Users/user/.local/share/jellyfin/transcodes/f5f139122bdf44f778c29c36b4d383a8%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/Users/user/.local/share/jellyfin/transcodes/f5f139122bdf44f778c29c36b4d383a8.m3u8"
10.7 FFMPEG command:
ffmpeg -f matroska,webm -i file:"/path/to/file" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 7834386 -bufsize 15668772 -profile:v:0 high -level 41 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames:0 "expr:gte(t,0+n_forced_3)" -vf "scale=trunc(min(max(iw,ih_dar),min(1920,1080*dar))/2)*2:trunc(min(max(iw/dar,ih),min(1920/dar,1080))/2)*2" -start_at_zero -vsync -1 -codec:a:0 aac -ac 2 -ab 384000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/Users/user/.local/share/jellyfin/transcodes/429f96bb402453d5392e3e7e80aac2a6%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/Users/user/.local/share/jellyfin/transcodes/429f96bb402453d5392e3e7e80aac2a6.m3u8"
Screenshots
System (please complete the following information):
Additional Context
This didn't happen in 10.6 and also it is only with certain subtitles and fonts. In this anime the issue only occurs during the intro where the subs are different to the rest of the episode.
The text was updated successfully, but these errors were encountered: