Yesterday, 05:09 PM
This issue only occurs when playing media with the Android client. The Web client seems to work fine. My server is running in Kubernetes using the image lscr.io/linuxserver/jellyfin:latest. I pulled the latest release before running these tests. Jellyfin version is 10.10.7.
Playback starts as normal but then suddenly the video starts over from the beginning. Then it restarts the video again and again and again ... The player will continue doing this until I kill it and its delete cache in Android. App version is 2.6.3.
After enabling debug logging, this is what I see. In the log file last_500_lines.log (which won't attach to this thread for whatever reason - idk why or what to do about it because this forum doesn't even provide any error about that), on this line, segment 92 was requested:
[2025-07-26 10:19:13.525 -04:00] [INF] [8] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting "HTTP/1.1" "GET" "http"://"jellyfin.jealwh.local""""/videos/757f8f68-a3f1-19c7-73df-12652e6f8b0e/hls1/main/92.mp4""?DeviceId=8f3b92422c3b3c5a&MediaSourceId=757f8f68a3f119c773df12652e6f8b0e&VideoCodec=h264,vp9&AudioCodec=copy&AudioStreamIndex=1&VideoBitrate=14874412&AudioBitrate=125588&AudioSampleRate=44100&MaxFramerate=23.976025&PlaySessionId=cbf4018c568946f4b9ab524837fe6b34&api_key=a6b2ceaf8faa4bf8b94bc52d45bcfd52&TranscodingMaxAudioChannels=2&RequireAvc=false&EnableAudioVbrEncoding=true&Tag=97f169c76f2a144b1df8f30a853ebdf7&SegmentContainer=mp4&MinSegments=1&BreakOnNonKeyFrames=False&h264-level=41&h264-videobitdepth=8&h264-profile=high&h264-audiochannels=2&aac-profile=lc&TranscodeReasons=ContainerNotSupported&runtimeTicks=5602260000&actualSegmentLengthTicks=104270000" - null null
After that, segment 0 was requested - a restart:
[2025-07-26 10:19:13.736 -04:00] [INF] [8] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting "HTTP/1.1" "GET" "http"://"jellyfin.jealwh.local""""/videos/757f8f68-a3f1-19c7-73df-12652e6f8b0e/hls1/main/0.mp4""?DeviceId=8f3b92422c3b3c5a&MediaSourceId=757f8f68a3f119c773df12652e6f8b0e&VideoCodec=h264,vp9&AudioCodec=copy&AudioStreamIndex=1&VideoBitrate=14874412&AudioBitrate=125588&AudioSampleRate=44100&MaxFramerate=23.976025&PlaySessionId=cbf4018c568946f4b9ab524837fe6b34&api_key=a6b2ceaf8faa4bf8b94bc52d45bcfd52&TranscodingMaxAudioChannels=2&RequireAvc=false&EnableAudioVbrEncoding=true&Tag=97f169c76f2a144b1df8f30a853ebdf7&SegmentContainer=mp4&MinSegments=1&BreakOnNonKeyFrames=False&h264-level=41&h264-videobitdepth=8&h264-profile=high&h264-audiochannels=2&aac-profile=lc&TranscodeReasons=ContainerNotSupported&runtimeTicks=0&actualSegmentLengthTicks=104270000" - null null
I then restarted Jellyfin and tried again with the same file. In log file last_500_again.log, on this line, segment 92 was requested:
[2025-07-26 11:11:15.303 -04:00] [INF] [13] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting "HTTP/1.1" "GET" "http"://"jellyfin.jealwh.local""""/videos/757f8f68-a3f1-19c7-73df-12652e6f8b0e/hls1/main/92.mp4""?DeviceId=8f3b92422c3b3c5a&MediaSourceId=757f8f68a3f119c773df12652e6f8b0e&VideoCodec=h264,vp9&AudioCodec=copy&AudioStreamIndex=1&VideoBitrate=14874412&AudioBitrate=125588&AudioSampleRate=44100&MaxFramerate=23.976025&PlaySessionId=5516da09b583426f8e3800e59d50727c&api_key=a6b2ceaf8faa4bf8b94bc52d45bcfd52&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&EnableAudioVbrEncoding=true&Tag=97f169c76f2a144b1df8f30a853ebdf7&SegmentContainer=mp4&MinSegments=1&BreakOnNonKeyFrames=False&h264-level=41&h264-videobitdepth=8&h264-profile=high&h264-audiochannels=2&aac-profile=lc&TranscodeReasons=ContainerNotSupported&runtimeTicks=5602260000&actualSegmentLengthTicks=104270000" - null null
Then, AGAIN, it restarted:
[2025-07-26 11:11:15.665 -04:00] [INF] [16] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting "HTTP/1.1" "GET" "http"://"jellyfin.jealwh.local""""/videos/757f8f68-a3f1-19c7-73df-12652e6f8b0e/hls1/main/0.mp4""?DeviceId=8f3b92422c3b3c5a&MediaSourceId=757f8f68a3f119c773df12652e6f8b0e&VideoCodec=h264,vp9&AudioCodec=copy&AudioStreamIndex=1&VideoBitrate=14874412&AudioBitrate=125588&AudioSampleRate=44100&MaxFramerate=23.976025&PlaySessionId=5516da09b583426f8e3800e59d50727c&api_key=a6b2ceaf8faa4bf8b94bc52d45bcfd52&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&EnableAudioVbrEncoding=true&Tag=97f169c76f2a144b1df8f30a853ebdf7&SegmentContainer=mp4&MinSegments=1&BreakOnNonKeyFrames=False&h264-level=41&h264-videobitdepth=8&h264-profile=high&h264-audiochannels=2&aac-profile=lc&TranscodeReasons=ContainerNotSupported&runtimeTicks=0&actualSegmentLengthTicks=104270000" - null null
362ms later. WTF is Jellyfin doing?
There are no errors or problems in the log that I can see. There are no errors or any problems at all in the FFmpeg log. This problem happens with many media files, not just this one.
Settings like "Throttle Transcodes" and "Delete segments" are already disabled.
My /config/cache/transcodes folder is a RAMdisk so it is certainly fast enough for the transcoder process.
This failure happens long before playback actually reaches this point. 92 segments is about 9 minutes 20 seconds. The media failed/restarted only a of couple minutes into playback - not at the 9:20 mark.
So ... WTF is Jellyfin doing?
last_500_again.log.txt (Size: 198.05 KB / Downloads: 4)
Playback starts as normal but then suddenly the video starts over from the beginning. Then it restarts the video again and again and again ... The player will continue doing this until I kill it and its delete cache in Android. App version is 2.6.3.
After enabling debug logging, this is what I see. In the log file last_500_lines.log (which won't attach to this thread for whatever reason - idk why or what to do about it because this forum doesn't even provide any error about that), on this line, segment 92 was requested:
[2025-07-26 10:19:13.525 -04:00] [INF] [8] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting "HTTP/1.1" "GET" "http"://"jellyfin.jealwh.local""""/videos/757f8f68-a3f1-19c7-73df-12652e6f8b0e/hls1/main/92.mp4""?DeviceId=8f3b92422c3b3c5a&MediaSourceId=757f8f68a3f119c773df12652e6f8b0e&VideoCodec=h264,vp9&AudioCodec=copy&AudioStreamIndex=1&VideoBitrate=14874412&AudioBitrate=125588&AudioSampleRate=44100&MaxFramerate=23.976025&PlaySessionId=cbf4018c568946f4b9ab524837fe6b34&api_key=a6b2ceaf8faa4bf8b94bc52d45bcfd52&TranscodingMaxAudioChannels=2&RequireAvc=false&EnableAudioVbrEncoding=true&Tag=97f169c76f2a144b1df8f30a853ebdf7&SegmentContainer=mp4&MinSegments=1&BreakOnNonKeyFrames=False&h264-level=41&h264-videobitdepth=8&h264-profile=high&h264-audiochannels=2&aac-profile=lc&TranscodeReasons=ContainerNotSupported&runtimeTicks=5602260000&actualSegmentLengthTicks=104270000" - null null
After that, segment 0 was requested - a restart:
[2025-07-26 10:19:13.736 -04:00] [INF] [8] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting "HTTP/1.1" "GET" "http"://"jellyfin.jealwh.local""""/videos/757f8f68-a3f1-19c7-73df-12652e6f8b0e/hls1/main/0.mp4""?DeviceId=8f3b92422c3b3c5a&MediaSourceId=757f8f68a3f119c773df12652e6f8b0e&VideoCodec=h264,vp9&AudioCodec=copy&AudioStreamIndex=1&VideoBitrate=14874412&AudioBitrate=125588&AudioSampleRate=44100&MaxFramerate=23.976025&PlaySessionId=cbf4018c568946f4b9ab524837fe6b34&api_key=a6b2ceaf8faa4bf8b94bc52d45bcfd52&TranscodingMaxAudioChannels=2&RequireAvc=false&EnableAudioVbrEncoding=true&Tag=97f169c76f2a144b1df8f30a853ebdf7&SegmentContainer=mp4&MinSegments=1&BreakOnNonKeyFrames=False&h264-level=41&h264-videobitdepth=8&h264-profile=high&h264-audiochannels=2&aac-profile=lc&TranscodeReasons=ContainerNotSupported&runtimeTicks=0&actualSegmentLengthTicks=104270000" - null null
I then restarted Jellyfin and tried again with the same file. In log file last_500_again.log, on this line, segment 92 was requested:
[2025-07-26 11:11:15.303 -04:00] [INF] [13] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting "HTTP/1.1" "GET" "http"://"jellyfin.jealwh.local""""/videos/757f8f68-a3f1-19c7-73df-12652e6f8b0e/hls1/main/92.mp4""?DeviceId=8f3b92422c3b3c5a&MediaSourceId=757f8f68a3f119c773df12652e6f8b0e&VideoCodec=h264,vp9&AudioCodec=copy&AudioStreamIndex=1&VideoBitrate=14874412&AudioBitrate=125588&AudioSampleRate=44100&MaxFramerate=23.976025&PlaySessionId=5516da09b583426f8e3800e59d50727c&api_key=a6b2ceaf8faa4bf8b94bc52d45bcfd52&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&EnableAudioVbrEncoding=true&Tag=97f169c76f2a144b1df8f30a853ebdf7&SegmentContainer=mp4&MinSegments=1&BreakOnNonKeyFrames=False&h264-level=41&h264-videobitdepth=8&h264-profile=high&h264-audiochannels=2&aac-profile=lc&TranscodeReasons=ContainerNotSupported&runtimeTicks=5602260000&actualSegmentLengthTicks=104270000" - null null
Then, AGAIN, it restarted:
[2025-07-26 11:11:15.665 -04:00] [INF] [16] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting "HTTP/1.1" "GET" "http"://"jellyfin.jealwh.local""""/videos/757f8f68-a3f1-19c7-73df-12652e6f8b0e/hls1/main/0.mp4""?DeviceId=8f3b92422c3b3c5a&MediaSourceId=757f8f68a3f119c773df12652e6f8b0e&VideoCodec=h264,vp9&AudioCodec=copy&AudioStreamIndex=1&VideoBitrate=14874412&AudioBitrate=125588&AudioSampleRate=44100&MaxFramerate=23.976025&PlaySessionId=5516da09b583426f8e3800e59d50727c&api_key=a6b2ceaf8faa4bf8b94bc52d45bcfd52&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&EnableAudioVbrEncoding=true&Tag=97f169c76f2a144b1df8f30a853ebdf7&SegmentContainer=mp4&MinSegments=1&BreakOnNonKeyFrames=False&h264-level=41&h264-videobitdepth=8&h264-profile=high&h264-audiochannels=2&aac-profile=lc&TranscodeReasons=ContainerNotSupported&runtimeTicks=0&actualSegmentLengthTicks=104270000" - null null
362ms later. WTF is Jellyfin doing?
There are no errors or problems in the log that I can see. There are no errors or any problems at all in the FFmpeg log. This problem happens with many media files, not just this one.
Settings like "Throttle Transcodes" and "Delete segments" are already disabled.
My /config/cache/transcodes folder is a RAMdisk so it is certainly fast enough for the transcoder process.
This failure happens long before playback actually reaches this point. 92 segments is about 9 minutes 20 seconds. The media failed/restarted only a of couple minutes into playback - not at the 9:20 mark.
So ... WTF is Jellyfin doing?
