Loads all chunks before starting to play #7842

Open
opened 2025-12-22 06:26:54 +01:00 by backuprepo · 0 comments
Owner

Originally created by @Paul2198 on GitHub (Nov 28, 2025).

Description of the bug

This happens only with Firefox.

When I play a movie from the start it starts playing with no problems. When I want to resume the same movie from the middle, it loads and loads (cancelled it after 5 Minutes by closing the tab). When checking the network log, I can see, that it loads chunk after chunk.

Reproduction steps

  1. Sign in
  2. Resume a movie

What is the current bug behavior?

Endless Loading Screen

What is the expected correct behavior?

Playing the Movie

Jellyfin Server version

10.11.3

Specify commit id

No response

Specify unstable release number

No response

Specify version number

No response

Specify the build version

10.11.3

Environment

- OS: Debian 13
- Linux Kernel: 6.12.48+deb13-amd64
- Virtualization: Podman (rootless, Quadlets)
- Clients: Browser
- Browser: Firefox
- FFmpeg Version:
- Playback Method: Transcode
- Hardware Acceleration: QSV
- GPU Model: No GPU (Intel-N100)
- Plugins: Authelia-Auth, Fan-Art, File-Transformation, Intro-Skipper, TMDb Box Sets, Open Subtitles
- Reverse Proxy: Caddy
- Base URL: none
- Networking: Pasta (Podman)
- Jellyfin Data Storage: Local NVME SSD
- Media Storage: Local HDD
- External Integrations: Jellystat, Jellyseer

Jellyfin logs

[07:17:28] [INF] [40] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for tv. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[07:17:28] [INF] [40] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for tv. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[07:17:31] [INF] [40] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[07:17:31] [INF] [40] 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 qsv -hwaccel_output_format qsv -noautorotate -c:v hevc_qsv -i file:"/media/movie/Wicked (2024)/Wicked (2024) - [4k].mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -preset veryfast -mbbrc 1 -b:v 25513803 -maxrate 25513804 -rc_init_occupancy 51027606 -bufsize 102055212 -profile:v:0 main -level 50 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,hwmap=derive_device=vaapi,format=vaapi,procamp_vaapi=b=16,tonemap_vaapi=format=nv12:p=bt709:t=bt709:m=bt709:extra_hw_frames=32,hwmap=derive_device=qsv,format=qsv" -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af "volume=2" -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 "df7497a924452eadad040c6e13396398-1.mp4" -start_number 0 -hls_segment_filename "/cache/transcodes/df7497a924452eadad040c6e13396398%d.mp4" -hls_playlist_type vod -hls_list_size 0 -hls_segment_options movflags=+frag_discont -y "/cache/transcodes/df7497a924452eadad040c6e13396398.m3u8"
[07:17:38] [INF] [35] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for /cache/transcodes/df7497a924452eadad040c6e13396398.m3u8
[07:17:39] [INF] [35] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0
[07:17:39] [INF] [35] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[07:17:39] [INF] [35] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -ss 01:21:15.000 -noaccurate_seek -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 qsv -hwaccel_output_format qsv -noautorotate -c:v hevc_qsv -i file:"/media/movie/Wicked (2024)/Wicked (2024) - [4k].mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -preset veryfast -mbbrc 1 -b:v 25513803 -maxrate 25513804 -rc_init_occupancy 51027606 -bufsize 102055212 -profile:v:0 main -level 50 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,hwmap=derive_device=vaapi,format=vaapi,procamp_vaapi=b=16,tonemap_vaapi=format=nv12:p=bt709:t=bt709:m=bt709:extra_hw_frames=32,hwmap=derive_device=qsv,format=qsv" -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af "volume=2" -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 "df7497a924452eadad040c6e13396398-1.mp4" -start_number 1625 -hls_segment_filename "/cache/transcodes/df7497a924452eadad040c6e13396398%d.mp4" -hls_playlist_type vod -hls_list_size 0 -hls_segment_options movflags=+frag_discont -y "/cache/transcodes/df7497a924452eadad040c6e13396398.m3u8"
[07:17:48] [INF] [35] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for /cache/transcodes/df7497a924452eadad040c6e13396398.m3u8
[07:17:50] [INF] [35] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0
[07:17:50] [INF] [35] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[07:17:50] [INF] [35] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -ss 01:21:13.660 -noaccurate_seek -fflags +genpts -f matroska  -i file:"/media/movie/Wicked (2024)/Wicked (2024) - [4k].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 -af "volume=2" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type fmp4 -hls_fmp4_init_filename "df7497a924452eadad040c6e13396398-1.mp4" -start_number 812 -hls_segment_filename "/cache/transcodes/df7497a924452eadad040c6e13396398%d.mp4" -hls_playlist_type vod -hls_list_size 0 -hls_segment_options movflags=+frag_discont -y "/cache/transcodes/df7497a924452eadad040c6e13396398.m3u8"

FFmpeg logs


Client / Browser logs

Image

Requesting https:///Users/bd175ee3363c49518474b73c98ca75ee/Items/980c7885c129972bec695e02f1114244 node_modules.jellyfin-apiclient.bundle.js:2:13545
playing url: https://
/videos/980c7885-c129-972b-ec69-5e02f1114244/master.m3u8?&DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTQ1LjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTQ1LjB8MTc2NDMxNjU1MDEwOQ11&MediaSourceId=980c7885c129972bec695e02f1114244&VideoCodec=av1,hevc,h264,vp9&AudioCodec=aac,opus,flac&AudioStreamIndex=1&VideoBitrate=34516598&AudioBitrate=384000&MaxFramerate=23.976025&SegmentContainer=mp4&MinSegments=1&BreakOnNonKeyFrames=True&PlaySessionId=dceee01625174a61a8e1199a51a1e75e&ApiKey=7af4198141b74dcba015000d0f12bddd&TranscodingMaxAudioChannels=2&RequireAvc=false&EnableAudioVbrEncoding=true&Tag=2ecf219938dafc26e654b6ce0980b3d2&SubtitleMethod=Encode&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&av1-profile=main&av1-rangetype=SDR&av1-level=19&vp9-rangetype=SDR&hevc-rangetype=SDR&hevc-deinterlace=true&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=ContainerNotSupported,AudioCodecNotSupported,VideoRangeTypeNotSupported htmlVideoPlayer-plugin.f37fbfc78b8a9cbf8f41.chunk.js:2:12936

HLS Error: Type: otherError Details: internalException Fatal: false main.jellyfin.bundle.js:2:316310
ReferenceError: e is not defined 5040a9ab-69e3-4487-9758-d1ba02748587:1:100

Sending web socket message: KeepAlive node_modules.jellyfin-apiclient.bundle.js:2:18698
Received KeepAlive from server. node_modules.jellyfin-apiclient.bundle.js:2:62736
Sending web socket message: KeepAlive node_modules.jellyfin-apiclient.bundle.js:2:18698
Received KeepAlive from server. node_modules.jellyfin-apiclient.bundle.js:2:62736

HLS Error: Type: mediaError Details: bufferFullError Fatal: false

Relevant screenshots or videos

No response

Additional information

File Meta-Data
Error_File_Media-Infos.txt

Same movie, but with other file is working
Functional_Media_File-Infos.txt

I use mTLS certificates with Caddy .

I dont no, if it is the same error or a connected one, but some other files start downloading completly (single http request) before starting to play.
This also happens only with Firefox.

Originally created by @Paul2198 on GitHub (Nov 28, 2025). ### Description of the bug This happens only with Firefox. When I play a movie from the start it starts playing with no problems. When I want to resume the same movie from the middle, it loads and loads (cancelled it after 5 Minutes by closing the tab). When checking the network log, I can see, that it loads chunk after chunk. ### Reproduction steps 1. Sign in 2. Resume a movie ### What is the current _bug_ behavior? Endless Loading Screen ### What is the expected _correct_ behavior? Playing the Movie ### Jellyfin Server version 10.11.3 ### Specify commit id _No response_ ### Specify unstable release number _No response_ ### Specify version number _No response_ ### Specify the build version 10.11.3 ### Environment ```markdown - OS: Debian 13 - Linux Kernel: 6.12.48+deb13-amd64 - Virtualization: Podman (rootless, Quadlets) - Clients: Browser - Browser: Firefox - FFmpeg Version: - Playback Method: Transcode - Hardware Acceleration: QSV - GPU Model: No GPU (Intel-N100) - Plugins: Authelia-Auth, Fan-Art, File-Transformation, Intro-Skipper, TMDb Box Sets, Open Subtitles - Reverse Proxy: Caddy - Base URL: none - Networking: Pasta (Podman) - Jellyfin Data Storage: Local NVME SSD - Media Storage: Local HDD - External Integrations: Jellystat, Jellyseer ``` ### Jellyfin logs ```shell [07:17:28] [INF] [40] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for tv. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [07:17:28] [INF] [40] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for tv. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [07:17:31] [INF] [40] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request [07:17:31] [INF] [40] 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 qsv -hwaccel_output_format qsv -noautorotate -c:v hevc_qsv -i file:"/media/movie/Wicked (2024)/Wicked (2024) - [4k].mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -preset veryfast -mbbrc 1 -b:v 25513803 -maxrate 25513804 -rc_init_occupancy 51027606 -bufsize 102055212 -profile:v:0 main -level 50 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,hwmap=derive_device=vaapi,format=vaapi,procamp_vaapi=b=16,tonemap_vaapi=format=nv12:p=bt709:t=bt709:m=bt709:extra_hw_frames=32,hwmap=derive_device=qsv,format=qsv" -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af "volume=2" -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 "df7497a924452eadad040c6e13396398-1.mp4" -start_number 0 -hls_segment_filename "/cache/transcodes/df7497a924452eadad040c6e13396398%d.mp4" -hls_playlist_type vod -hls_list_size 0 -hls_segment_options movflags=+frag_discont -y "/cache/transcodes/df7497a924452eadad040c6e13396398.m3u8" [07:17:38] [INF] [35] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for /cache/transcodes/df7497a924452eadad040c6e13396398.m3u8 [07:17:39] [INF] [35] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0 [07:17:39] [INF] [35] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request [07:17:39] [INF] [35] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -ss 01:21:15.000 -noaccurate_seek -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 qsv -hwaccel_output_format qsv -noautorotate -c:v hevc_qsv -i file:"/media/movie/Wicked (2024)/Wicked (2024) - [4k].mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -preset veryfast -mbbrc 1 -b:v 25513803 -maxrate 25513804 -rc_init_occupancy 51027606 -bufsize 102055212 -profile:v:0 main -level 50 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,hwmap=derive_device=vaapi,format=vaapi,procamp_vaapi=b=16,tonemap_vaapi=format=nv12:p=bt709:t=bt709:m=bt709:extra_hw_frames=32,hwmap=derive_device=qsv,format=qsv" -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af "volume=2" -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 "df7497a924452eadad040c6e13396398-1.mp4" -start_number 1625 -hls_segment_filename "/cache/transcodes/df7497a924452eadad040c6e13396398%d.mp4" -hls_playlist_type vod -hls_list_size 0 -hls_segment_options movflags=+frag_discont -y "/cache/transcodes/df7497a924452eadad040c6e13396398.m3u8" [07:17:48] [INF] [35] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for /cache/transcodes/df7497a924452eadad040c6e13396398.m3u8 [07:17:50] [INF] [35] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0 [07:17:50] [INF] [35] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request [07:17:50] [INF] [35] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -ss 01:21:13.660 -noaccurate_seek -fflags +genpts -f matroska -i file:"/media/movie/Wicked (2024)/Wicked (2024) - [4k].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 -af "volume=2" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type fmp4 -hls_fmp4_init_filename "df7497a924452eadad040c6e13396398-1.mp4" -start_number 812 -hls_segment_filename "/cache/transcodes/df7497a924452eadad040c6e13396398%d.mp4" -hls_playlist_type vod -hls_list_size 0 -hls_segment_options movflags=+frag_discont -y "/cache/transcodes/df7497a924452eadad040c6e13396398.m3u8" ``` ### FFmpeg logs ```shell ``` ### Client / Browser logs <img width="2547" height="1246" alt="Image" src="https://github.com/user-attachments/assets/8a2e4260-7dc1-467f-b1e2-f22e0469b620" /> Requesting https://***/Users/bd175ee3363c49518474b73c98ca75ee/Items/980c7885c129972bec695e02f1114244 [node_modules.jellyfin-apiclient.bundle.js:2:13545](https://***/web/node_modules.jellyfin-apiclient.bundle.js?9f0df736e4eab255faba) playing url: https://***/videos/980c7885-c129-972b-ec69-5e02f1114244/master.m3u8?&DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTQ1LjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTQ1LjB8MTc2NDMxNjU1MDEwOQ11&MediaSourceId=980c7885c129972bec695e02f1114244&VideoCodec=av1,hevc,h264,vp9&AudioCodec=aac,opus,flac&AudioStreamIndex=1&VideoBitrate=34516598&AudioBitrate=384000&MaxFramerate=23.976025&SegmentContainer=mp4&MinSegments=1&BreakOnNonKeyFrames=True&PlaySessionId=dceee01625174a61a8e1199a51a1e75e&ApiKey=7af4198141b74dcba015000d0f12bddd&TranscodingMaxAudioChannels=2&RequireAvc=false&EnableAudioVbrEncoding=true&Tag=2ecf219938dafc26e654b6ce0980b3d2&SubtitleMethod=Encode&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&av1-profile=main&av1-rangetype=SDR&av1-level=19&vp9-rangetype=SDR&hevc-rangetype=SDR&hevc-deinterlace=true&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=ContainerNotSupported,AudioCodecNotSupported,VideoRangeTypeNotSupported [htmlVideoPlayer-plugin.f37fbfc78b8a9cbf8f41.chunk.js:2:12936](https://***/web/htmlVideoPlayer-plugin.f37fbfc78b8a9cbf8f41.chunk.js) HLS Error: Type: otherError Details: internalException Fatal: false [main.jellyfin.bundle.js:2:316310](https://***/web/main.jellyfin.bundle.js?9f0df736e4eab255faba) ReferenceError: e is not defined [5040a9ab-69e3-4487-9758-d1ba02748587:1:100](blob:https://***/5040a9ab-69e3-4487-9758-d1ba02748587) Sending web socket message: KeepAlive [node_modules.jellyfin-apiclient.bundle.js:2:18698](https://***/web/node_modules.jellyfin-apiclient.bundle.js?9f0df736e4eab255faba) Received KeepAlive from server. [node_modules.jellyfin-apiclient.bundle.js:2:62736](https://***/web/node_modules.jellyfin-apiclient.bundle.js?9f0df736e4eab255faba) Sending web socket message: KeepAlive [node_modules.jellyfin-apiclient.bundle.js:2:18698](https://***/web/node_modules.jellyfin-apiclient.bundle.js?9f0df736e4eab255faba) Received KeepAlive from server. [node_modules.jellyfin-apiclient.bundle.js:2:62736](https://***/web/node_modules.jellyfin-apiclient.bundle.js?9f0df736e4eab255faba) HLS Error: Type: mediaError Details: bufferFullError Fatal: false ### Relevant screenshots or videos _No response_ ### Additional information File Meta-Data [Error_File_Media-Infos.txt](https://github.com/user-attachments/files/23816336/Error_File_Media-Infos.txt) Same movie, but with other file is working [Functional_Media_File-Infos.txt](https://github.com/user-attachments/files/23816376/Functional_Media_File-Infos.txt) I use mTLS certificates with Caddy . I dont no, if it is the same error or a connected one, but some other files start downloading completly (single http request) before starting to play. This also happens only with Firefox.
backuprepo added the
bug
label 2025-12-22 06:26:54 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#7842
No description provided.