[Issue]: Buffer stalling when playing HLS H264 MKV video's on several browser types #11450
Closed as not planned
Closed as not planned
Description
Please describe your bug
After a few minutes of playback, the player suddenly stops. No useful log message is visible server sided. Client-side logs show that the buffer has stalled. The only way to resume playback is by restarting the player or switching to a different quality, which requires the transcode to restart.
Jellyfin Version
Other
if other:
10.8.13
Environment
- OS: Debian
- Virtualization: None
- Clients: Browser
- Browser: Chrome 105, Firefox 105, Edge 106
- FFmpeg Version: ffmpeg version 5.1.1-Jellyfin
- Playback Method: Transcode
- Hardware Acceleration: None
- Plugins: None
- Reverse Proxy: None
- Base URL: none
- Networking: Host
- Storage: localJellyfin logs
[2022-10-11 14:21:13.817 +02:00] [INF] Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2022-10-11 14:21:13.818 +02:00] [INF] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -ss 00:34:54.000 -f matroska,webm -autorotate 0 -canvas_size 1920x1080 -i file:\"/storage/media/Series/The Blacklist/Season 06/The.Blacklist.S06E04.The.Pawnbrokers.1080p.10bit.BluRay.AAC5.1.HEVC-Vyndros.mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -codec:v:0 libx264 -preset veryfast -crf 23 -maxrate 9570100 -bufsize 19140200 -profile:v:0 high -level 51 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames:0 \"expr:gte(t,2094+n_forced*3)\" -sc_threshold:v:0 0 -filter_complex \"[0:3]scale=trunc(min(max(iw\,ih*a)\,min(1920\,1080*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(1920/a\,1080))/2)*2[sub];[0:0]setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(1920\,1080*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(1920/a\,1080))/2)*2,format=yuv420p[main];[main][sub]overlay=eof_action=endall:shortest=1:repeatlast=0\" -start_at_zero -codec:a:0 libfdk_aac -ac 2 -ab 384000 -ar 48000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 698 -hls_segment_filename \"/storage/media/transcodes/6a8e118c323e27f6aa168833512b9376%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/storage/media/transcodes/6a8e118c323e27f6aa168833512b9376.m3u8\""FFmpeg logs
[hls @ 0x55eafba6dc40] Opening '/storage/media/transcodes/6a8e118c323e27f6aa168833512b9376714.ts' for writing
frame= 4320 fps= 99 q=28.0 size=N/A time=00:03:00.26 bitrate=N/A speed=4.13x
frame= 4364 fps= 99 q=28.0 size=N/A time=00:03:01.97 bitrate=N/A speed=4.12x
frame= 4419 fps= 99 q=28.0 size=N/A time=00:03:04.25 bitrate=N/A speed=4.12x
frame= 4481 fps= 99 q=28.0 size=N/A time=00:03:06.98 bitrate=N/A speed=4.14x
[hls @ 0x55eafba6dc40] Opening '/storage/media/transcodes/6a8e118c323e27f6aa168833512b9376715.ts' for writing
frame= 4536 fps= 99 q=28.0 size=N/A time=00:03:09.24 bitrate=N/A speed=4.14x
frame= 4592 fps= 99 q=28.0 size=N/A time=00:03:11.50 bitrate=N/A speed=4.15x
frame= 4647 fps=100 q=28.0 size=N/A time=00:03:13.87 bitrate=N/A speed=4.15x
frame= 4698 fps=100 q=28.0 size=N/A time=00:03:15.99 bitrate=N/A speed=4.15x
frame= 4755 fps=100 q=28.0 size=N/A time=00:03:18.57 bitrate=N/A speed=4.16x
[hls @ 0x55eafba6dc40] Opening '/storage/media/transcodes/6a8e118c323e27f6aa168833512b9376716.ts' for writing
frame= 4820 fps=100 q=28.0 size=N/A time=00:03:21.13 bitrate=N/A speed=4.17x
Transcoding is paused. Press [u] to resume.Please attach any browser or client logs here
Please attach any screenshots here
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status
Status
Closed/Done


Activity