Jellyfin Forum
"A fatal error was encountered in the HLS stream" - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: "A fatal error was encountered in the HLS stream" (/t-a-fatal-error-was-encountered-in-the-hls-stream)

Pages: 1 2 3 4


RE: "A fatal error was encountered in the HLS stream" - TheDreadPirate - 2024-07-23

I have a test UNRAID setup.  This is all I had to do to get the GPU into the container.

   

Can you show me your container setup for the Jellyfin container?


RE: "A fatal error was encountered in the HLS stream" - rafny2 - 2024-08-28

Also facing the same issue here. I've had Intel QuickSync working well with no issue for months and all of the sudden I get the "A fatal error was encountered in the HLS stream" on most of my movies. Since no settings or config were changed recently, I decided to do an update and see if that would help.

Unfortunately I winded up with the broken migration.xml issue that caused my disk use to swell to 100% by inflating my daemon and system logs. Each were 20GB+ in a few minutes. After clearing the logs, I following the tips here and was able to regain access with no issues: https://forum.jellyfin.org/t-xml-document-error-after-upgrade?pid=29940#pid29940

While now I am on 10.9.10 and all is operating mostly well, I'm still stuck with the HLS issue. After a few days of troubleshooting the other issues, I'm kind of hitting a block here. I'd appreciate any help to see what might be causing the error.

Also note that I tried to turn off transcoding off, but was getting the same error.

ffmpeg log: https://pastebin.com/MQcfG1W9
jellyfin log: https://pastebin.com/rBcBp56y


RE: "A fatal error was encountered in the HLS stream" - TheDreadPirate - 2024-08-28

What client are you having issues on? Is it a specific client or all clients? The ffmpeg log looks normal, but it is being commanded to stop. Probably by the client failing to play for some reason.


RE: "A fatal error was encountered in the HLS stream" - rafny2 - 2024-08-28

Wow, that is interesting!
I usually play from my desktop browser, but after your question I tried on my phone using the Jellyfin app and it worked fine.
Then I noticed that my Firefox desktop browser had a pending update and after running that, everything is now working fine. I'm currently working on Firefox 127.0.2 and the HLS issue went away after the update.


RE: "A fatal error was encountered in the HLS stream" - vinkov - 2025-07-26

Hi everyone,
I'm experiencing the same "A fatal error was encountered in the HLS stream" issue, but in a rather specific scenario.
It happens only when Jellyfin transcodes a DSD64 .dsf file longer than 5 minutes. The error consistently occurs around the 8-second mark during playback, across multiple clients:
  • Chrome
  • Edge
  • Jellyfin for Android
Environment:
  • Server: Jellyfin v10.10.7 running on QNAP NAS
  • File format: DSD64 (.dsf)
  • FFmpeg log: Appears normal, no obvious errors
Shorter DSD files play fine, and direct playback works. The issue seems isolated to transcoding longer DSD files.
Thanks in advance for any help or insights!