• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions The burn-in subtitles will become semi-transparent when enable hardware acceleration

    Pages (3): 1 2 3 Next »

     
    • 0 Vote(s) - 0 Average

    The burn-in subtitles will become semi-transparent when enable hardware acceleration

    Giresharu
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #1
    2024-11-10, 09:20 PM (This post was last modified: 2024-11-10, 09:31 PM by Giresharu. Edited 2 times in total.)
    This is the correct subtitle effect (without hardware acceleration, consistent with other software)
           

    And this is the effect after enabling Intel QSV
           

    Obviously, the transparency has changed. What’s going on here? 

    Also, I’d like to ask: to correctly display the specified subtitles in an ASS file, the Windows version of the client can display them by installing the specified font in the system font directory of the PC, but it seems that the web UI does not read the fonts from the PC’s system? And when using fallback fonts, it seems that the font specified in the ASS file is not used, but a random font from the directory is chosen to display (which can be very chaotic for Chinese-Japanese bilingual subtitles). So, with the web UI version, is burning the only option to correctly display ASS subtitles?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-11-10, 10:34 PM
    Can you share the ffmpeg log for each transcode type?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Giresharu
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #3
    2024-11-11, 08:46 AM
    (2024-11-10, 10:34 PM)TheDreadPirate Wrote: Can you share the ffmpeg log for each transcode type?

    QSV on(Subtitle render issue):
    Code:
    [16:26:38] [INF] [11] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for /cache/transcodes/bbb74cafd05488d1b42ea5850fd38b31.m3u8
    [16:26:38] [INF] [67] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0
    [16:26:38] [INF] [11] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) /cache/transcodes/bbb74cafd05488d1b42ea5850fd38b31.m3u8
    [16:26:40] [INF] [3] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app Jellyfin Web 10.10.1 playing CRYCHIC. Stopped at 79052 ms
    [16:26:58] [INF] [11] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for admin. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
    [16:26:58] [INF] [11] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
    [16:26:58] [INF] [11] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f matroska -init_hw_device vaapi=va:,vendor_id=0x8086,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/media/Video/TV/BanG Dream! It's MyGO!!!!! (2023)/Season 1/BanG Dream! It's MyGO!!!!! - S01E03 - CRYCHIC.mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:0 -codec:v:0 hevc_qsv -tag:v:0 hvc1 -preset veryfast -b:v 10315368 -maxrate 10315368 -bufsize 20630736 -profile:v:0 main -level 50 -g:v:0 72 -keyint_min:v:0 72 -filter_complex "alphasrc=s=1920x1080:r=23.976025:start='0',format=bgra,subtitles=f='/media/Video/TV/BanG Dream! It'\\\''s MyGO!!!!! (2023)/Season 1/BanG Dream! It'\\\''s MyGO!!!!! - S01E03 - CRYCHIC.ass':alpha=1:sub2video=1:fontsdir='/cache/attachments/cb04141e8a76815f5cb8fe11393ffac4',hwupload=derive_device=qsv:extra_hw_frames=64[sub];[0:0]setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12:extra_hw_frames=24,hwmap=derive_device=qsv,format=qsv[main];[main][sub]overlay_qsv=eof_action=pass:repeatlast=0:w=3840:h=2160" -start_at_zero -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "91fe436e010be6bc6d9608ed822e6427-1.mp4" -start_number 0 -hls_segment_filename "/cache/transcodes/91fe436e010be6bc6d9608ed822e6427%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/cache/transcodes/91fe436e010be6bc6d9608ed822e6427.m3u8"
    [16:27:03] [INF] [28] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for /cache/transcodes/91fe436e010be6bc6d9608ed822e6427.m3u8
    [16:27:04] [INF] [28] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0
    [16:27:04] [INF] [28] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
    [16:27:04] [INF] [28] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -ss 00:01:18.000 -noaccurate_seek -f matroska -init_hw_device vaapi=va:,vendor_id=0x8086,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/media/Video/TV/BanG Dream! It's MyGO!!!!! (2023)/Season 1/BanG Dream! It's MyGO!!!!! - S01E03 - CRYCHIC.mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:0 -codec:v:0 hevc_qsv -tag:v:0 hvc1 -preset veryfast -b:v 10315368 -maxrate 10315368 -bufsize 20630736 -profile:v:0 main -level 50 -g:v:0 72 -keyint_min:v:0 72 -filter_complex "alphasrc=s=1920x1080:r=23.976025:start='00\:01\:18\.000',format=bgra,subtitles=f='/media/Video/TV/BanG Dream! It'\\\''s MyGO!!!!! (2023)/Season 1/BanG Dream! It'\\\''s MyGO!!!!! - S01E03 - CRYCHIC.ass':alpha=1:sub2video=1:fontsdir='/cache/attachments/cb04141e8a76815f5cb8fe11393ffac4',hwupload=derive_device=qsv:extra_hw_frames=64[sub];[0:0]setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12:extra_hw_frames=24,hwmap=derive_device=qsv,format=qsv[main];[main][sub]overlay_qsv=eof_action=pass:repeatlast=0:w=3840:h=2160" -start_at_zero -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "91fe436e010be6bc6d9608ed822e6427-1.mp4" -start_number 26 -hls_segment_filename "/cache/transcodes/91fe436e010be6bc6d9608ed822e6427%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/cache/transcodes/91fe436e010be6bc6d9608ed822e6427.m3u8"

    No Hardware Acceleration(Very slow, but no issues with the subtitles):
    Code:
    [16:29:42] [INF] [11] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for admin. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
    [16:29:42] [INF] [22] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
    [16:29:42] [INF] [22] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G  -i file:"/media/Video/TV/BanG Dream! It's MyGO!!!!! (2023)/Season 1/BanG Dream! It's MyGO!!!!! - S01E03 - CRYCHIC.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -codec:v:0 libx265 -tag:v:0 hvc1 -preset veryfast -crf 28 -maxrate 10315368 -bufsize 20630736 -profile:v:0 main -x265-params:0 subme=3:merange=25:rc-lookahead=10:me=star:ctu=32:max-tu-size=32:min-cu-size=16:rskip=2:rskip-edge-threshold=2:no-sao=1:no-strong-intra-smoothing=1:no-scenecut=1:no-open-gop=1:no-info=1 -force_key_frames:0 "expr:gte(t,n_forced*3)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(3840\,2160*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(3840/a\,2160))/2)*2,format=yuv420p,subtitles=f='/media/Video/TV/BanG Dream! It'\\\''s MyGO!!!!! (2023)/Season 1/BanG Dream! It'\\\''s MyGO!!!!! - S01E03 - CRYCHIC.ass':fontsdir='/cache/attachments/cb04141e8a76815f5cb8fe11393ffac4'" -start_at_zero -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "2db5c5206becba2bb6635ffb061792e7-1.mp4" -start_number 0 -hls_segment_filename "/cache/transcodes/2db5c5206becba2bb6635ffb061792e7%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/cache/transcodes/2db5c5206becba2bb6635ffb061792e7.m3u8"
    [16:30:15] [INF] [22] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for /cache/transcodes/2db5c5206becba2bb6635ffb061792e7.m3u8
    [16:30:15] [ERR] [67] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: A task was canceled. URL GET /videos/cb04141e-8a76-815f-5cb8-fe11393ffac4/hls1/main/-1.mp4.
    [16:30:20] [INF] [22] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Killing FFmpeg process for /cache/transcodes/2db5c5206becba2bb6635ffb061792e7.m3u8
    [16:30:20] [INF] [22] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
    [16:30:20] [INF] [22] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -ss 00:02:21.000 -noaccurate_seek  -i file:"/media/Video/TV/BanG Dream! It's MyGO!!!!! (2023)/Season 1/BanG Dream! It's MyGO!!!!! - S01E03 - CRYCHIC.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -codec:v:0 libx265 -tag:v:0 hvc1 -preset veryfast -crf 28 -maxrate 10315368 -bufsize 20630736 -profile:v:0 main -x265-params:0 subme=3:merange=25:rc-lookahead=10:me=star:ctu=32:max-tu-size=32:min-cu-size=16:rskip=2:rskip-edge-threshold=2:no-sao=1:no-strong-intra-smoothing=1:no-scenecut=1:no-open-gop=1:no-info=1 -force_key_frames:0 "expr:gte(t,n_forced*3)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(3840\,2160*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(3840/a\,2160))/2)*2,format=yuv420p,subtitles=f='/media/Video/TV/BanG Dream! It'\\\''s MyGO!!!!! (2023)/Season 1/BanG Dream! It'\\\''s MyGO!!!!! - S01E03 - CRYCHIC.ass':fontsdir='/cache/attachments/cb04141e8a76815f5cb8fe11393ffac4'" -start_at_zero -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "2db5c5206becba2bb6635ffb061792e7-1.mp4" -start_number 47 -hls_segment_filename "/cache/transcodes/2db5c5206becba2bb6635ffb061792e7%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/cache/transcodes/2db5c5206becba2bb6635ffb061792e7.m3u8"
    [16:30:20] [ERR] [67] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 137
    [16:31:13] [INF] [3] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for /cache/transcodes/2db5c5206becba2bb6635ffb061792e7.m3u8
    [16:31:18] [INF] [3] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Killing FFmpeg process for /cache/transcodes/2db5c5206becba2bb6635ffb061792e7.m3u8
    [16:31:18] [INF] [3] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
    [16:31:18] [INF] [3] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G  -i file:"/media/Video/TV/BanG Dream! It's MyGO!!!!! (2023)/Season 1/BanG Dream! It's MyGO!!!!! - S01E03 - CRYCHIC.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -codec:v:0 libx265 -tag:v:0 hvc1 -preset veryfast -crf 28 -maxrate 10315368 -bufsize 20630736 -profile:v:0 main -x265-params:0 subme=3:merange=25:rc-lookahead=10:me=star:ctu=32:max-tu-size=32:min-cu-size=16:rskip=2:rskip-edge-threshold=2:no-sao=1:no-strong-intra-smoothing=1:no-scenecut=1:no-open-gop=1:no-info=1 -force_key_frames:0 "expr:gte(t,n_forced*3)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(3840\,2160*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(3840/a\,2160))/2)*2,format=yuv420p,subtitles=f='/media/Video/TV/BanG Dream! It'\\\''s MyGO!!!!! (2023)/Season 1/BanG Dream! It'\\\''s MyGO!!!!! - S01E03 - CRYCHIC.ass':fontsdir='/cache/attachments/cb04141e8a76815f5cb8fe11393ffac4'" -start_at_zero -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "2db5c5206becba2bb6635ffb061792e7-1.mp4" -start_number 0 -hls_segment_filename "/cache/transcodes/2db5c5206becba2bb6635ffb061792e7%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/cache/transcodes/2db5c5206becba2bb6635ffb061792e7.m3u8"
    [16:31:18] [ERR] [3] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 137
    [16:31:18] [WRN] [3] Jellyfin.Api.Controllers.DynamicHlsController: cannot serve /cache/transcodes/2db5c5206becba2bb6635ffb061792e748.mp4 as transcoding quit before we got there
    [16:31:18] [ERR] [3] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Could not find file '/cache/transcodes/2db5c5206becba2bb6635ffb061792e748.mp4'. URL GET /videos/cb04141e-8a76-815f-5cb8-fe11393ffac4/hls1/main/48.mp4.
    [16:31:27] [INF] [61] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for /cache/transcodes/2db5c5206becba2bb6635ffb061792e7.m3u8
    [16:31:27] [INF] [3] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
    [16:31:27] [INF] [3] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G  -i file:"/media/Video/TV/BanG Dream! It's MyGO!!!!! (2023)/Season 1/BanG Dream! It's MyGO!!!!! - S01E03 - CRYCHIC.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -codec:v:0 libx265 -tag:v:0 hvc1 -preset veryfast -crf 28 -maxrate 10315368 -bufsize 20630736 -profile:v:0 main -x265-params:0 subme=3:merange=25:rc-lookahead=10:me=star:ctu=32:max-tu-size=32:min-cu-size=16:rskip=2:rskip-edge-threshold=2:no-sao=1:no-strong-intra-smoothing=1:no-scenecut=1:no-open-gop=1:no-info=1 -force_key_frames:0 "expr:gte(t,n_forced*3)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(3840\,2160*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(3840/a\,2160))/2)*2,format=yuv420p,subtitles=f='/media/Video/TV/BanG Dream! It'\\\''s MyGO!!!!! (2023)/Season 1/BanG Dream! It'\\\''s MyGO!!!!! - S01E03 - CRYCHIC.ass':fontsdir='/cache/attachments/cb04141e8a76815f5cb8fe11393ffac4'" -start_at_zero -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "2db5c5206becba2bb6635ffb061792e7-1.mp4" -start_number 0 -hls_segment_filename "/cache/transcodes/2db5c5206becba2bb6635ffb061792e7%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/cache/transcodes/2db5c5206becba2bb6635ffb061792e7.m3u8"
    [16:31:27] [ERR] [11] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: A task was canceled. URL GET /videos/cb04141e-8a76-815f-5cb8-fe11393ffac4/hls1/main/0.mp4.
    [16:31:29] [INF] [11] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.123.142 closed
    [16:31:30] [INF] [3] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.123.142 request
    [16:31:32] [INF] [61] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Killing FFmpeg process for /cache/transcodes/2db5c5206becba2bb6635ffb061792e7.m3u8
    [16:31:32] [INF] [61] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) /cache/transcodes/2db5c5206becba2bb6635ffb061792e7.m3u8
    [16:31:33] [ERR] [61] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 137
    [16:31:33] [INF] [67] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for admin. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
    [16:31:33] [INF] [61] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
    [16:31:33] [INF] [61] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G  -i file:"/media/Video/TV/BanG Dream! It's MyGO!!!!! (2023)/Season 1/BanG Dream! It's MyGO!!!!! - S01E03 - CRYCHIC.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -codec:v:0 libx265 -tag:v:0 hvc1 -preset veryfast -crf 28 -maxrate 10315368 -bufsize 20630736 -profile:v:0 main -x265-params:0 subme=3:merange=25:rc-lookahead=10:me=star:ctu=32:max-tu-size=32:min-cu-size=16:rskip=2:rskip-edge-threshold=2:no-sao=1:no-strong-intra-smoothing=1:no-scenecut=1:no-open-gop=1:no-info=1 -force_key_frames:0 "expr:gte(t,n_forced*3)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(3840\,2160*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(3840/a\,2160))/2)*2,format=yuv420p,subtitles=f='/media/Video/TV/BanG Dream! It'\\\''s MyGO!!!!! (2023)/Season 1/BanG Dream! It'\\\''s MyGO!!!!! - S01E03 - CRYCHIC.ass':fontsdir='/cache/attachments/cb04141e8a76815f5cb8fe11393ffac4'" -start_at_zero -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "90bcd0f71d95606742392c00799aed7c-1.mp4" -start_number 0 -hls_segment_filename "/cache/transcodes/90bcd0f71d95606742392c00799aed7c%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/cache/transcodes/90bcd0f71d95606742392c00799aed7c.m3u8"
    [16:31:34] [INF] [22] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app Jellyfin Web 10.10.1 playing CRYCHIC. Stopped at 143835 ms
    [16:32:24] [INF] [67] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for /cache/transcodes/90bcd0f71d95606742392c00799aed7c.m3u8
    [16:32:24] [ERR] [24] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: A task was canceled. URL GET /videos/cb04141e-8a76-815f-5cb8-fe11393ffac4/hls1/main/-1.mp4.
    [16:32:29] [INF] [24] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Transcoding kill timer stopped for JobId 94c0d0281e374c068b0bb42db64e0571 PlaySessionId 6b6c3e8e527e47a1aaef7c36210d6db2. Killing transcoding
    [16:32:29] [INF] [24] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for /cache/transcodes/2db5c5206becba2bb6635ffb061792e7.m3u8
    [16:32:29] [ERR] [3] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: A task was canceled. URL GET /videos/cb04141e-8a76-815f-5cb8-fe11393ffac4/hls1/main/0.mp4.
    [16:32:29] [INF] [67] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Killing FFmpeg process for /cache/transcodes/90bcd0f71d95606742392c00799aed7c.m3u8
    [16:32:29] [INF] [67] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
    [16:32:29] [INF] [67] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -ss 00:02:24.000 -noaccurate_seek  -i file:"/media/Video/TV/BanG Dream! It's MyGO!!!!! (2023)/Season 1/BanG Dream! It's MyGO!!!!! - S01E03 - CRYCHIC.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -codec:v:0 libx265 -tag:v:0 hvc1 -preset veryfast -crf 28 -maxrate 10315368 -bufsize 20630736 -profile:v:0 main -x265-params:0 subme=3:merange=25:rc-lookahead=10:me=star:ctu=32:max-tu-size=32:min-cu-size=16:rskip=2:rskip-edge-threshold=2:no-sao=1:no-strong-intra-smoothing=1:no-scenecut=1:no-open-gop=1:no-info=1 -force_key_frames:0 "expr:gte(t,n_forced*3)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(3840\,2160*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(3840/a\,2160))/2)*2,format=yuv420p,subtitles=f='/media/Video/TV/BanG Dream! It'\\\''s MyGO!!!!! (2023)/Season 1/BanG Dream! It'\\\''s MyGO!!!!! - S01E03 - CRYCHIC.ass':fontsdir='/cache/attachments/cb04141e8a76815f5cb8fe11393ffac4'" -start_at_zero -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "90bcd0f71d95606742392c00799aed7c-1.mp4" -start_number 48 -hls_segment_filename "/cache/transcodes/90bcd0f71d95606742392c00799aed7c%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/cache/transcodes/90bcd0f71d95606742392c00799aed7c.m3u8"
    [16:32:29] [ERR] [53] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 137
    [16:32:34] [INF] [24] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Killing FFmpeg process for /cache/transcodes/2db5c5206becba2bb6635ffb061792e7.m3u8
    [16:32:34] [INF] [24] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) /cache/transcodes/2db5c5206becba2bb6635ffb061792e7.m3u8
    [16:32:34] [ERR] [24] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 137

    Also, was my summary of the webui font phenomenon earlier correct? Is burning the only best practice for webui fonts?
    nyanmisaka
    Offline

    Team Member

    Posts: 240
    Threads: 0
    Joined: 2023 Jun
    Reputation: 9
    #4
    2024-11-11, 10:42 AM (This post was last modified: 2024-11-11, 10:42 AM by nyanmisaka.)
    Can you share the SSA/ASS font file?

    Which GPU do you use? And the system version and driver version?
    Giresharu
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #5
    2024-11-12, 08:27 AM
    (2024-11-11, 10:42 AM)nyanmisaka Wrote: Can you share the SSA/ASS font file?

    Which GPU do you use? And the system version and driver version?

    The attachment size limit is 2.1MB, and both my fonts and the ASS file exceed this size, making it impossible to upload.
    This situation occurs with all ASS subtitles and all fonts.

    C/GPU: Intel G4600
    System: 
        [host] Debian GNU/Linux 12 (bookworm)
        [container] Debian GNU/Linux 12 (bookworm)
    Driver:  Intel iHD driver for Intel® Gen Graphics - 24.4.1 (105a308)

    Hardware acceleration config:
       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-11-12, 01:39 PM
    If it is too large, you can zip the subtitle track and then attach it.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Giresharu
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #7
    2024-11-13, 06:39 PM (This post was last modified: 2024-11-13, 06:44 PM by Giresharu. Edited 2 times in total.)
    (2024-11-12, 01:39 PM)TheDreadPirate Wrote: If it is too large, you can zip the subtitle track and then attach it.


    I did some research on ASS subtitles myself and found the root of the problem. I created an ASS subtitle file with only two lines that can trigger this issue. 
    .zip   test.zip (Size: 712 bytes / Downloads: 62)
    The problem is not related to the font, nor to the video. The issues are: The subtitle has transparency. 

    It might sound silly, but this is indeed a key point that triggers the problem:
    When the subtitles are opaque, the issue does not occur. 
    When the subtitles have a transparent attribute, under QSV hardware acceleration, even a slight transparency is amplified, leading to the semi-transparent issue that I mentioned earlier, which is different from other players. I suspect that there is an incorrect multiplication calculation of the opacity value when burning the subtitles, which is why most opaque subtitles are not affected. Coincidentally, the subtitle group that I like tends to prefer using subtitles that are slightly transparent., so almost all the subtitles in my videos have become excessively transparent.
    Fate
    Offline

    Member

    Posts: 219
    Threads: 3
    Joined: 2023 Jun
    Reputation: 16
    #8
    2024-11-14, 02:22 AM (This post was last modified: 2024-11-14, 02:38 AM by Fate. Edited 4 times in total.)
    hmmm I tried to replicate this... But to me the quicksync compared to hardcoding the subs via libass look exactly the same.

    I have modified your testfile a bit...

    here is a quick encode on top of big buck bunny

    https://mega.nz/folder/v08RCSpQ#go1UpnOeEtjMZepN6Pa70A


    Attached Files Thumbnail(s)
       

    .zip   test.zip (Size: 1,015 bytes / Downloads: 41)
    Giresharu
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #9
    2024-11-14, 08:34 AM
    (2024-11-14, 02:22 AM)Fate Wrote: hmmm I tried to replicate this... But to me the quicksync compared to hardcoding the subs via libass look exactly the same.

    I have modified your testfile a bit...

    here is a quick encode on top of big buck bunny

    https://mega.nz/folder/v08RCSpQ#go1UpnOeEtjMZepN6Pa70A

    This issue does not provide any relevant log information, and it only reproduces on my server. And I’ve reinstalled Jellyfin many times.
    What should I do now?
    Fate
    Offline

    Member

    Posts: 219
    Threads: 3
    Joined: 2023 Jun
    Reputation: 16
    #10
    2024-11-14, 01:51 PM
    (2024-11-14, 08:34 AM)Giresharu Wrote: This issue does not provide any relevant log information, and it only reproduces on my server. And I’ve reinstalled Jellyfin many times.
    What should I do now?
    Can you elaborate on which system your jellyfin run at and which distro you are using? Kernel Version?

    Intel arc is still a bit new so there still could be some driver bugs left.
    Pages (3): 1 2 3 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode