2024-12-25, 01:44 AM
Hello everyone. As the title states, I have an issue where my movie video stutters, specifically on the LG webOS Jellyfin App. I have my Jellyfin application running on a TrueNAS server. I haven't done extensive testing, but so far I haven't had any stuttering issues on my Roku and on my chrome browser. The video stutters are somewhat frequent, usually happening once or twice every few minutes and can last from less than a second up to around 5 seconds (from what I've seen). Audio doesn't have a stuttering issue, presumably because it is a much lower bitrate.
I know that my LG TV's ethernet port only supports up to 100 mbps, but even my highest bitrate movies aren't higher than that. I've had movies at around 60-80 mbps bitrate stutter pretty often even though it shouldn't be an issue. Movies with very low bitrates (think 10-20 mbps) play just fine without stuttering. My question is regarding whether this is an LG Jellyfin app issue or a network bandwidth issue? One thing I thought was interesting is on my TrueNAS dashboard I see outgoing traffic seem to peak out around that 100 mbps cap, even though the movie shouldn't be requiring that. I guess the movie isn't being sent over at a steady rate and likes to swing wildly in network bandwidth usage.
Here is my log if you need it, but I don't see anything that seems out of the ordinary. Just for clarification, only the last movie had any video stuttering.
I know that my LG TV's ethernet port only supports up to 100 mbps, but even my highest bitrate movies aren't higher than that. I've had movies at around 60-80 mbps bitrate stutter pretty often even though it shouldn't be an issue. Movies with very low bitrates (think 10-20 mbps) play just fine without stuttering. My question is regarding whether this is an LG Jellyfin app issue or a network bandwidth issue? One thing I thought was interesting is on my TrueNAS dashboard I see outgoing traffic seem to peak out around that 100 mbps cap, even though the movie shouldn't be requiring that. I guess the movie isn't being sent over at a steady rate and likes to swing wildly in network bandwidth usage.
Code:
[2024-12-24 01:52:32.557 -08:00] [INF] [69] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/my_media/movies"
[2024-12-24 01:52:32.557 -08:00] [INF] [69] Emby.Server.Implementations.Library.LibraryManager: Validating media library
[2024-12-24 01:52:32.560 -08:00] [WRN] [69] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/playlists" is inaccessible or empty, skipping
[2024-12-24 01:52:32.561 -08:00] [INF] [71] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Media Segment Scan" Completed after 0 minute(s) and 0 seconds
[2024-12-24 01:52:32.585 -08:00] [WRN] [51] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/playlists" is inaccessible or empty, skipping
[2024-12-24 01:52:36.895 -08:00] [INF] [61] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan Media Library" Completed after 0 minute(s) and 4 seconds
[2024-12-24 01:52:36.915 -08:00] [INF] [51] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/my_media/movies"
[2024-12-24 02:00:00.014 -08:00] [INF] [35] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Extract Chapter Images" Completed after 0 minute(s) and 0 seconds
[2024-12-24 02:00:01.002 -08:00] [INF] [35] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Extract Chapter Images" set to fire at 2024-12-25 02:00:00.000 -08:00, which is 23:59:58.9971444 from now.
[2024-12-24 03:00:00.017 -08:00] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Generate Trickplay Images" Completed after 0 minute(s) and 0 seconds
[2024-12-24 03:00:01.000 -08:00] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Generate Trickplay Images" set to fire at 2024-12-25 03:00:00.000 -08:00, which is 23:59:58.9993685 from now.
[2024-12-24 13:42:22.518 -08:00] [INF] [55] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Download missing subtitles" Completed after 0 minute(s) and 0 seconds
[2024-12-24 13:42:22.546 -08:00] [INF] [51] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Download missing lyrics" Completed after 0 minute(s) and 0 seconds
[2024-12-24 13:42:22.592 -08:00] [INF] [51] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Audio Normalization" Completed after 0 minute(s) and 0 seconds
[2024-12-24 13:42:22.987 -08:00] [INF] [20] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Clean Log Directory" Completed after 0 minute(s) and 0 seconds
[2024-12-24 13:42:23.010 -08:00] [INF] [55] Emby.Server.Implementations.ScheduledTasks.Tasks.OptimizeDatabaseTask: Optimizing and vacuuming jellyfin.db...
[2024-12-24 13:42:23.010 -08:00] [INF] [20] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Clean Transcode Directory" Completed after 0 minute(s) and 0 seconds
[2024-12-24 13:42:23.029 -08:00] [INF] [51] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Clean Cache Directory" Completed after 0 minute(s) and 0 seconds
[2024-12-24 13:42:23.072 -08:00] [INF] [55] Emby.Server.Implementations.ScheduledTasks.Tasks.OptimizeDatabaseTask: jellyfin.db optimized successfully!
[2024-12-24 13:42:23.072 -08:00] [INF] [55] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Optimize database" Completed after 0 minute(s) and 0 seconds
[2024-12-24 13:42:23.152 -08:00] [INF] [20] Emby.Server.Implementations.ScheduledTasks.TaskManager: "TasksRefreshChannels" Completed after 0 minute(s) and 0 seconds
[2024-12-24 13:42:23.960 -08:00] [INF] [20] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Update Plugins" Completed after 0 minute(s) and 0 seconds
[2024-12-24 13:42:26.151 -08:00] [INF] [20] Jellyfin.LiveTv.Guide.GuideManager: Refreshing guide with 7 days of guide data
[2024-12-24 13:42:26.153 -08:00] [INF] [20] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Refresh Guide" Completed after 0 minute(s) and 3 seconds
[2024-12-24 13:48:27.266 -08:00] [INF] [29] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "IP REDACTED" request
[2024-12-24 13:48:57.121 -08:00] [INF] [57] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "USER REDACTED". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-12-24 13:48:58.249 -08:00] [INF] [21] 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 -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:\"/my_media/movies/Christmas Vacation/National.Lampoons.Christmas.Vacation.mkv\" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -low_power 1 -preset veryfast -b:v 59360000 -maxrate 59360000 -bufsize 118720000 -profile:v:0 high -level 51 -g:v:0 72 -keyint_min:v:0 72 -vf \"setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,hwmap=derive_device=opencl:mode=read,tonemap_opencl=format=nv12:p=bt709:t=bt709:m=bt709:tonemap=bt2390:peak=100:desat=0,hwmap=derive_device=qsv:mode=write:reverse=1:extra_hw_frames=16,format=qsv\" -codec:a:0 libfdk_aac -ac 6 -ab 640000 -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 \"/cache/transcodes/91d973a06def2eff580f3bcdf3376e88%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/cache/transcodes/91d973a06def2eff580f3bcdf3376e88.m3u8\""
[2024-12-24 13:53:33.563 -08:00] [INF] [43] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/my_media/movies"
[2024-12-24 13:53:33.563 -08:00] [INF] [43] Emby.Server.Implementations.Library.LibraryManager: Validating media library
[2024-12-24 13:53:33.566 -08:00] [WRN] [43] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/playlists" is inaccessible or empty, skipping
[2024-12-24 13:53:33.570 -08:00] [INF] [62] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Media Segment Scan" Completed after 0 minute(s) and 0 seconds
[2024-12-24 13:53:33.570 -08:00] [WRN] [43] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/playlists" is inaccessible or empty, skipping
[2024-12-24 13:53:38.552 -08:00] [INF] [29] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan Media Library" Completed after 0 minute(s) and 4 seconds
[2024-12-24 13:53:38.578 -08:00] [INF] [62] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/my_media/movies"
[2024-12-24 14:18:07.706 -08:00] [INF] [20] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0
[2024-12-24 15:26:38.463 -08:00] [INF] [17] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) "/cache/transcodes/91d973a06def2eff580f3bcdf3376e88.m3u8"
[2024-12-24 15:26:40.083 -08:00] [INF] [54] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Web" "10.10.3" playing "National Lampoon's Christmas Vacation". Stopped at "5683947" ms
[2024-12-24 15:26:58.190 -08:00] [INF] [17] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "USER REDACTED". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-12-24 15:26:58.736 -08:00] [INF] [39] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -fflags +genpts -f matroska -i file:\"/my_media/movies/The Polar Express/The Polar Express 2004 UHD 4K BluRay 2160p HDR DTS-HD MA 5.1 H.265-MgB.mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -tag:v:0 hvc1 -bsf:v hevc_mp4toannexb -start_at_zero -codec:a:0 libfdk_aac -ac 6 -ab 640000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 0 -hls_segment_filename \"/cache/transcodes/a50a0a01c27638e17e6cf267fa263152%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/cache/transcodes/a50a0a01c27638e17e6cf267fa263152.m3u8\""
[2024-12-24 15:30:13.378 -08:00] [INF] [64] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0
[2024-12-24 16:58:25.028 -08:00] [INF] [55] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) "/cache/transcodes/a50a0a01c27638e17e6cf267fa263152.m3u8"
[2024-12-24 16:58:26.582 -08:00] [INF] [16] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Web" "10.10.3" playing "The Polar Express". Stopped at "5482293" ms
[2024-12-24 16:58:34.094 -08:00] [INF] [55] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "USER REDACTED". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-12-24 16:58:34.692 -08:00] [INF] [16] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -fflags +genpts -f matroska -i file:\"/my_media/movies/It's a Wonderful Life/It's a Wonderful Life (B&W).mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -tag:v:0 hvc1 -bsf:v hevc_mp4toannexb -start_at_zero -codec:a:0 libfdk_aac -ac 2 -ab 256000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 0 -hls_segment_filename \"/cache/transcodes/b7e980912e4b22fe1f4d5e7d9078d900%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/cache/transcodes/b7e980912e4b22fe1f4d5e7d9078d900.m3u8\""
[2024-12-24 17:08:40.343 -08:00] [INF] [48] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0
[2024-12-24 17:30:11.496 -08:00] [INF] [38] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "IP REDACTED" request
Here is my log if you need it, but I don't see anything that seems out of the ordinary. Just for clarification, only the last movie had any video stuttering.