mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[Issue]: HDHomeRun steam crashes on aparently corrput data #5631
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Pleune on GitHub (Apr 23, 2024).
Please describe your bug
When viewing any LiveTV channel for long enough, the stream will crash (both audio and video) and the browser console shows
hls.js response error code: 404, thenweb socket closed, and will stay on a black screen until the channel is re-opened.I have tried nearly every combination of options and hosts. I have mostly tried on Windows, which has been working great for regular media files. I have tried with hardware acceleration on and off, transcoding within the HDHomeRun in both states, and both through my proxy and direct.
If I watch the same channel on a separate TV on the same antenna, I can usually see some visible corruption in the frame at the same time. I just wish that the stream would recover automatically.
Reproduction Steps
View any channel with weak signal in my area. On windy nights the problem may happen every few minutes. On a good day there may be no problems. When the problem occoures, all clients connected will stop at the same time.
Jellyfin Version
10.8.13
if other:
No response
Environment
Jellyfin logs
FFmpeg logs
Please attach any browser or client logs here
Please attach any screenshots here
No response
Code of Conduct
@jellyfin-bot commented on GitHub (Apr 23, 2024):
Hi, it seems like your issue report has the following item(s) that need to be addressed:
This is an automated message, currently under testing. Please file an issue here if you encounter any problems.
@Pleune commented on GitHub (Apr 23, 2024):
Attached are full logs
FFmpeg.Transcode-2024-04-23_02-09-24_native_b23ebc9442ec90ed5f591ef1683972b1_64bb1957fe77d7f1854670bc596a95ec_cf6a28a4.log
log_20240423.log
@jellyfin-bot commented on GitHub (Aug 22, 2024):
This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.
If you have any questions you can use one of several ways to contact us.
@Pleune commented on GitHub (Sep 5, 2024):
I have recently updated to 10.9.10, and this problem still happens. Although the screen now will usually just freeze instead of go to a black screen now, the transcode logs still show the following at the end
It definitely happens more when we have bad antenna reception, so I am thinking it really is corruption from the HDHR. It would be great if LiveTV streams could be restarted transparently and the stream would recover after a couple seconds, if there is not other better solution.
I would love to capture some data of this happening if it would help, but I'm not sure how
@Pleune commented on GitHub (Sep 26, 2024):
Is there any reason we could not just enable the dropping of corrupt packets for live tv here? It's the only place I see the
+discardcorruptffmpeg flag set, but it is always false.75bbd30296/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs (L104)@Pleune commented on GitHub (Nov 11, 2024):
Testing with 10.10.0 this is still happening, even after the inclusion of #11801
@jellyfin-bot commented on GitHub (Mar 11, 2025):
This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.
If you have any questions you can use one of several ways to contact us.
@jellyfin-bot commented on GitHub (Apr 1, 2025):
This issue was closed due to inactivity.
@Pleune commented on GitHub (Aug 30, 2025):
https://github.com/jellyfin/jellyfin/issues/13877
https://github.com/jellyfin/jellyfin/issues/13781
@Pleune commented on GitHub (Oct 24, 2025):
Just want to say I am still experiencing this on the latest jellyfin release, and I have not been able to find a workaround. I have patched emby to add the
+discardcorruptflag, but this does not fix it.The log now looks like this
I noticed there is a form post now here: https://forum.jellyfin.org/t-live-tv-hanging-freezing-10-10-7-antenna-hdhomerun-corrupt-packets?pid=65772#pid65772