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-06-24

Can you open a the browser dev console and look for any messages that stand out?

You can also try disabling "Prefer fMP4" in Settings > Playback (not the one in Dashboard).


RE: "A fatal error was encountered in the HLS stream" - YC G - 2024-07-13

I encountered this same error message as well

This is my log file
https://pastebin.com/UAM83bZA

The issue started with one video file, then subsequent 4-6 videos encountered same issue.
The error message showed while I'm playing the video file through Jellyfin in my Jellyfin server pc via Microsoft Edge.
While in my tv box, the video wont play, stucked at 00:00 with black screen and didnt show the full movie duration.

I also observed that the video & audio codecs description don't show beside the titles in both server and client side for those new videos.
However, for the existing videos, there's no issue.

Please let me know what other information I should provide to describe this issue.
Note: I might have disturbed some settings at Playback section at the server because I was trying to resolve the issue randomly.
 
Server Specs:
Jellyfin 10.9.7
Windows 11 Pro 64 bit
11th Gen Intel Core i5-11400F @ 2.60GHz
RAM 32GB DDR4-3600
NVIDIA GeForce GTX 1650
XPG SPECTRIX S40G (SSD) (OS Storage - Jellyfin in C Drive)
Lexar SSD ARES 2TB (SSD) (Storage for Media)

Client:
Homatics R 4K Plus (via Jellyfin App)
CPU: Quad-core Cortex-A55
GPU: ARM Mali-G31
RAM: 4GB
Storage: 32GB
OS: Android TV 12


RE: "A fatal error was encountered in the HLS stream" - YC G - 2024-07-13

Oh, reinstalled Jellyfin server fixed this issue. but would like to know if this issue can be fixed by adjusting the settings.


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

Several things. Your movies appear to be in the library root and not in their own folders. Please organize your media so that it conforms to our documented expectations.

https://jellyfin.org/docs/general/server/media/movies/

https://jellyfin.org/docs/general/server/media/shows/

Also, you do not have hardware acceleration enabled. It is currently CPU transcoding, and very slowly. That is probably why nothing shows up. You should be using NVENC for accelerating transcoding.


RE: "A fatal error was encountered in the HLS stream" - MoldyTaint - 2024-07-19

I am currently experiencing the same issue. No media will play while getting the same error displayed on the page "A fatal error was encountered in the HLS stream."

The browser is with Floorp that receives the issue

It does work with Firefox and other forks though. It seems something with Floorp may have done brokeded it on the browser end?

Edit: I found this on the floorp github. I do not really know how DRM works and frankly suck when it comes to coding and all that fun stuff. But here ya go! https://github.com/Floorp-Projects/Floorp/issues/272 . Essentially it looks like floorp doesn't do DRM, at all.


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

Jellyfin does not, nor will ever have, DRM.

I'd be interested in seeing you jellyfin logs and browser debug console to figure out what is going on.


RE: "A fatal error was encountered in the HLS stream" - rdb - 2024-07-19

I also am experiencing this... will post logs here.. been using jellyfin on IOS via website rather than app and have had almost no issues. My LG webos app has been dodgy here lately and I just tried on my personal pc at home and most of my movies are getting the HLS fatal error. I did have success with Planet of the apes so I will post logs here for that as well. Any help would be greatly appreciated.

Specs of pc I am streaming from

AMD 7800x3d
4090
32gb DDR5 ram
4TB NVME

Server
Unraid 6.12.10
32gb ddr4 ram
CPU: i3 12100


EDIT: I have my logs but just realized I cant post attachments in here... sorry I am new to all of this


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

Use pastebin.


RE: "A fatal error was encountered in the HLS stream" - Efficient_Good_5784 - 2024-07-19

(2024-07-19, 10:08 PM)rdb Wrote: EDIT: I have my logs but just realized I cant post attachments in here... sorry I am new to all of this

You can paste them on pastebin and then share that link here.

Also, you should be able to drag and drop a zip of the logs here.


RE: "A fatal error was encountered in the HLS stream" - rdb - 2024-07-19

(2024-07-19, 10:18 PM)Efficient_Good_5784 Wrote:
(2024-07-19, 10:08 PM)rdb Wrote: EDIT: I have my logs but just realized I cant post attachments in here... sorry I am new to all of this

You can paste them on pastebin and then share that link here.

Also, you should be able to drag and drop a zip of the logs here.

Ok, I will add them here. Thanks!

I am fairly certain these are the logs that I typically see needed for help on here but if not, let me know and happy to grab the correct ones!
nullnullnull
nullnullnullhttps://pastebin.com/2TGU2SmU --ffmeg log of unsuccessful stream
https://pastebin.com/Vpfke1Qv --Log of unsuccessful stream
https://pastebin.com/1he19TU0 -- ffmeg log of successful stream


EDIT: https://pastebin.com/6520QLBY -- jellyfin docker log in unraid posting this sometime later after having more trouble with other movies on my pc

let me know if I need to paste more log info! thx so much.