• 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 Troubleshooting Stuttering during HW Transcode

     
    • 0 Vote(s) - 0 Average

    Stuttering during HW Transcode

    Stream sputtering during hardware transcode, even at very high FPS
    Bob_The_Bandit
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2025 Oct
    Reputation: 0
    Country:United States
    #1
    5 hours ago
    Hello, in the last two days Jellyfin started stuttering during playback of certain files. The two examples I found are 1080p HEVC SDR .mkv files at just <2mbps bitrate. I am using intel 12th gen integrated graphics with QuickSync. Playback info showed 300+ fps transcode speed. Despite this, the stream was still stuttering.  

    Jellyfin version 10.10.7, running on an Ubuntu server VM in a Docker container. GPU through device passthrough. Client is a chromium browser on Win11 on the same network as Jellyfin. The files are served by TrueNAS over samba on the same network as the Jellyfin server. intel_gpu_top shows FFMPEG fully utilizing the GPU. Stuttering stops when the entire file is transcoded. 

    Throttle Transcode disabled. Delete Segments disabled. 

    Logs:

    [2025-10-02 12:46:34.215 -07:00] [INF] [3] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "demir". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
    [2025-10-02 12:46:36.198 -07:00] [INF] [3] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
    [2025-10-02 12:46:36.199 -07:00] [INF] [3] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -f matroska -init_hw_device vaapi=vaConfused-facedev/dri/renderD128,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:\"/data/Shows/Dexter/Season 7/Dexter - S07E10 - The Dark. Whatever Bluray-1080p.mkv\" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:2 -map -0:s -codec:v:0 h264_qsv -preset veryfast -b:v 7105087 -maxrate 7105087 -bufsize 14210174 -profile:v:0 high -level 51 -g:v:0 72 -keyint_min:v:0 72 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12:extra_hw_frames=24,hwmap=derive_device=qsv,format=qsv\" -codec:a:0 libfdk_aac -ab 193010 -af \"pan=stereo|c0=c0+0.707*c2+0.707*c4|c1=c1+0.707*c2+0.707*c5,volume=2.5\" -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 \"/config/cache/transcodes/a318d7132eba001a346e4e573d6d33f0%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/config/cache/transcodes/a318d7132eba001a346e4e573d6d33f0.m3u8\""
    [2025-10-02 12:46:45.517 -07:00] [INF] [17] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for "/config/cache/transcodes/a318d7132eba001a346e4e573d6d33f0.m3u8"
    [2025-10-02 12:46:46.100 -07:00] [INF] [17] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0
    [2025-10-02 12:46:46.101 -07:00] [INF] [17] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
    [2025-10-02 12:46:46.101 -07:00] [INF] [17] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -ss 00:03:18.000 -f matroska -init_hw_device vaapi=vaConfused-facedev/dri/renderD128,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:\"/data/Shows/Dexter/Season 7/Dexter - S07E10 - The Dark. Whatever Bluray-1080p.mkv\" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:2 -map -0:s -codec:v:0 h264_qsv -preset veryfast -b:v 7105087 -maxrate 7105087 -bufsize 14210174 -profile:v:0 high -level 51 -g:v:0 72 -keyint_min:v:0 72 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12:extra_hw_frames=24,hwmap=derive_device=qsv,format=qsv\" -codec:a:0 libfdk_aac -ab 193010 -af \"pan=stereo|c0=c0+0.707*c2+0.707*c4|c1=c1+0.707*c2+0.707*c5,volume=2.5\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 66 -hls_segment_filename \"/config/cache/transcodes/a318d7132eba001a346e4e573d6d33f0%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/config/cache/transcodes/a318d7132eba001a346e4e573d6d33f0.m3u8\""
    [2025-10-02 12:46:48.114 -07:00] [INF] [17] MediaBrowser.MediaEncoding.Subtitles.SubtitleEncoder: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-i file:\"/data/Shows/Dexter/Season 7/Dexter - S07E10 - The Dark. Whatever Bluray-1080p.mkv\" -copyts -map 0:3 -an -vn -c:s copy \"/config/data/data/subtitles/0/000214b0-d2c5-7d85-5b24-ac6ea545bf4e.srt\" -map 0:4 -an -vn -c:s copy \"/config/data/data/subtitles/4/4f6fc482-9159-ec77-3f6f-4c56757f893e.srt\" -map 0:5 -an -vn -c:s copy \"/config/data/data/subtitles/1/117c0a43-4fd9-f67c-ee0e-216a8658ae18.srt\""
    [2025-10-02 12:46:51.732 -07:00] [DBG] [3] Jellyfin.Plugin.Webhook.Notifiers.ItemAddedNotifier.ItemAddedManager: ProcessItemsAsync
    [2025-10-02 12:46:51.732 -07:00] [INF] [3] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
    [2025-10-02 12:46:51.809 -07:00] [DBG] [20] Jellyfin.Plugin.Webhook.Notifiers.ItemDeletedNotifier.ItemDeletedManager: ProcessItemsAsync
    [2025-10-02 12:46:51.809 -07:00] [INF] [20] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Deleted Notifier" Completed after 0 minute(s) and 0 seconds
    [2025-10-02 12:46:53.861 -07:00] [INF] [3] MediaBrowser.MediaEncoding.Subtitles.SubtitleEncoder: ffmpeg subtitle extraction completed for "file:\"/data/Shows/Dexter/Season 7/Dexter - S07E10 - The Dark. Whatever Bluray-1080p.mkv\"" to "/config/data/data/subtitles/0/000214b0-d2c5-7d85-5b24-ac6ea545bf4e.srt"
    [2025-10-02 12:46:53.861 -07:00] [INF] [3] MediaBrowser.MediaEncoding.Subtitles.SubtitleEncoder: ffmpeg subtitle extraction completed for "file:\"/data/Shows/Dexter/Season 7/Dexter - S07E10 - The Dark. Whatever Bluray-1080p.mkv\"" to "/config/data/data/subtitles/4/4f6fc482-9159-ec77-3f6f-4c56757f893e.srt"
    [2025-10-02 12:46:53.861 -07:00] [INF] [3] MediaBrowser.MediaEncoding.Subtitles.SubtitleEncoder: ffmpeg subtitle extraction completed for "file:\"/data/Shows/Dexter/Season 7/Dexter - S07E10 - The Dark. Whatever Bluray-1080p.mkv\"" to "/config/data/data/subtitles/1/117c0a43-4fd9-f67c-ee0e-216a8658ae18.srt"
    [2025-10-02 12:48:22.733 -07:00] [DBG] [17] Jellyfin.Plugin.Webhook.Notifiers.ItemAddedNotifier.ItemAddedManager: ProcessItemsAsync
    [2025-10-02 12:48:22.733 -07:00] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
    [2025-10-02 12:48:22.809 -07:00] [DBG] [20] Jellyfin.Plugin.Webhook.Notifiers.ItemDeletedNotifier.ItemDeletedManager: ProcessItemsAsync
    [2025-10-02 12:48:22.809 -07:00] [INF] [20] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Deleted Notifier" Completed after 0 minute(s) and 0 seconds
    [2025-10-02 12:48:56.887 -07:00] [INF] [11] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.1" request
    [2025-10-02 12:48:58.457 -07:00] [INF] [29] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.1" closed
    [2025-10-02 12:49:53.733 -07:00] [DBG] [29] Jellyfin.Plugin.Webhook.Notifiers.ItemAddedNotifier.ItemAddedManager: ProcessItemsAsync
    [2025-10-02 12:49:53.733 -07:00] [INF] [29] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
    [2025-10-02 12:49:53.809 -07:00] [DBG] [26] Jellyfin.Plugin.Webhook.Notifiers.ItemDeletedNotifier.ItemDeletedManager: ProcessItemsAsync
    [2025-10-02 12:49:53.809 -07:00] [INF] [26] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Deleted Notifier" Completed after 0 minute(s) and 0 seconds
    [2025-10-02 12:50:29.858 -07:00] [INF] [32] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0
    [2025-10-02 12:51:24.733 -07:00] [DBG] [28] Jellyfin.Plugin.Webhook.Notifiers.ItemAddedNotifier.ItemAddedManager: ProcessItemsAsync
    [2025-10-02 12:51:24.733 -07:00] [INF] [28] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds 

    . . . Many more Webhook events, nothing else

    [2025-10-02 13:36:54.763 -07:00] [INF] [8] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
    [2025-10-02 13:36:54.830 -07:00] [DBG] [11] Jellyfin.Plugin.Webhook.Notifiers.ItemDeletedNotifier.ItemDeletedManager: ProcessItemsAsync
    [2025-10-02 13:36:54.830 -07:00] [INF] [11] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Deleted Notifier" Completed after 0 minute(s) and 0 seconds
    [2025-10-02 13:37:13.628 -07:00] [INF] [26] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
    [2025-10-02 13:37:13.628 -07:00] [INF] [26] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -ss 00:53:54.000 -f matroska -init_hw_device vaapi=vaConfused-facedev/dri/renderD128,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:\"/data/Shows/Dexter/Season 7/Dexter - S07E10 - The Dark. Whatever Bluray-1080p.mkv\" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:2 -map -0:s -codec:v:0 h264_qsv -preset veryfast -b:v 7105087 -maxrate 7105087 -bufsize 14210174 -profile:v:0 high -level 51 -g:v:0 72 -keyint_min:v:0 72 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12:extra_hw_frames=24,hwmap=derive_device=qsv,format=qsv\" -codec:a:0 libfdk_aac -ab 193010 -af \"pan=stereo|c0=c0+0.707*c2+0.707*c4|c1=c1+0.707*c2+0.707*c5,volume=2.5\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 1078 -hls_segment_filename \"/config/cache/transcodes/a318d7132eba001a346e4e573d6d33f0%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/config/cache/transcodes/a318d7132eba001a346e4e573d6d33f0.m3u8\""
    [2025-10-02 13:37:13.954 -07:00] [INF] [11] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0
    [2025-10-02 13:37:19.306 -07:00] [INF] [26] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) "/config/cache/transcodes/a318d7132eba001a346e4e573d6d33f0.m3u8"
    [2025-10-02 13:37:21.072 -07:00] [INF] [26] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Web" "10.10.7" playing "The Dark... Whatever". Stopped at "3175062" ms

    I would really appreciate the help.
    « Next Oldest | Next Newest »

    Users browsing this thread: 3 Guest(s)


    Messages In This Thread
    Stuttering during HW Transcode - by Bob_The_Bandit - 5 hours ago

    • 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