[Issue]: HDHomeRun steam crashes on aparently corrput data #5631

Closed
opened 2026-02-07 02:01:42 +03:00 by OVERLORD · 10 comments
Owner

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, then web 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

- OS: Windows or Linux 
- Linux Kernel: 6.2.16-19-pve / None (windows)
- Virtualization: LXC / None (windows)
- Clients: All
- Browser: All
- FFmpeg Version: Multiple tried, including latest 6.0.1-5
- Playback Method: Web / Tv App / Phone app
- Hardware Acceleration: Tried both extensively
- GPU Model: Arc A770
- Plugins: None
- Reverse Proxy: HAproxy, but direct is affected too
- Base URL: https://jellyfin.pleunetowne.com
- Networking: Direct
- Storage: m.2

Jellyfin logs

MediaBrowser.Common.Extensions.ResourceNotFoundException: Exception of type 'MediaBrowser.Common.Extensions.ResourceNotFoundException' was thrown.
   at Emby.Server.Implementations.Library.MediaSourceManager.GetLiveStreamWithDirectStreamProvider(String id, CancellationToken cancellationToken)
   at Emby.Server.Implementations.Library.MediaSourceManager.GetLiveStream(String id, CancellationToken cancellationToken)
   at Emby.Server.Implementations.Library.MediaSourceManager.GetMediaSource(BaseItem item, String mediaSourceId, String liveStreamId, Boolean enablePathSubstitution, CancellationToken cancellationToken)
   at Emby.Server.Implementations.Session.SessionManager.UpdateNowPlayingItem(SessionInfo session, PlaybackProgressInfo info, BaseItem libraryItem, Boolean updateLastCheckInTime)
   at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated)
   at Jellyfin.Api.Controllers.PlaystateController.ReportPlaybackProgress(PlaybackProgressInfo playbackProgressInfo)
   at lambda_method559(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
   at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
   at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
   at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
   at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Jellyfin.Server.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
   at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
   at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
   at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
[2024-04-23 02:41:25.883 -04:00] [INF] [56] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.1" request

FFmpeg logs

frame= 2758 fps= 63 q=23.0 size=N/A time=00:00:45.88 bitrate=N/A speed=1.05x    
frame= 2782 fps= 63 q=25.0 size=N/A time=00:00:46.46 bitrate=N/A speed=1.05x    
frame= 2821 fps= 63 q=24.0 size=N/A time=00:00:47.04 bitrate=N/A speed=1.06x    
frame= 2846 fps= 63 q=24.0 size=N/A time=00:00:47.46 bitrate=N/A speed=1.05x    
frame= 2879 fps= 63 q=26.0 size=N/A time=00:00:48.00 bitrate=N/A speed=1.05x    
[hls @ 000001c535e98580] Opening 'C:\Users\mitch\AppData\Local\Jellyfin\transcodes\a0f77e4d56701945186c07e6fe64782f15.ts' for writing
[hls @ 000001c535e98580] Opening 'C:\Users\mitch\AppData\Local\Jellyfin\transcodes\a0f77e4d56701945186c07e6fe64782f.m3u8.tmp' for writing
frame= 2902 fps= 63 q=25.0 size=N/A time=00:00:48.57 bitrate=N/A speed=1.05x    
frame= 2941 fps= 63 q=24.0 size=N/A time=00:00:48.96 bitrate=N/A speed=1.05x    
frame= 2969 fps= 63 q=22.0 size=N/A time=00:00:49.53 bitrate=N/A speed=1.05x    
frame= 2998 fps= 63 q=24.0 size=N/A time=00:00:50.11 bitrate=N/A speed=1.05x    
frame= 3035 fps= 63 q=26.0 size=N/A time=00:00:50.56 bitrate=N/A speed=1.05x    
frame= 3061 fps= 63 q=28.0 size=N/A time=00:00:51.07 bitrate=N/A speed=1.05x    
[hls @ 000001c535e98580] Opening 'C:\Users\mitch\AppData\Local\Jellyfin\transcodes\a0f77e4d56701945186c07e6fe64782f16.ts' for writing
[hls @ 000001c535e98580] Opening 'C:\Users\mitch\AppData\Local\Jellyfin\transcodes\a0f77e4d56701945186c07e6fe64782f.m3u8.tmp' for writing
frame= 3083 fps= 63 q=26.0 size=N/A time=00:00:51.64 bitrate=N/A speed=1.05x    
frame= 3123 fps= 63 q=25.0 size=N/A time=00:00:52.22 bitrate=N/A speed=1.05x    
frame= 3161 fps= 63 q=28.0 size=N/A time=00:00:52.65 bitrate=N/A speed=1.05x    
frame= 3188 fps= 63 q=26.0 size=N/A time=00:00:53.24 bitrate=N/A speed=1.05x    
frame= 3223 fps= 63 q=26.0 size=N/A time=00:00:53.76 bitrate=N/A speed=1.05x    
frame= 3248 fps= 63 q=29.0 size=N/A time=00:00:54.33 bitrate=N/A speed=1.05x    
[hls @ 000001c535e98580] Opening 'C:\Users\mitch\AppData\Local\Jellyfin\transcodes\a0f77e4d56701945186c07e6fe64782f17.ts' for writing
[hls @ 000001c535e98580] Opening 'C:\Users\mitch\AppData\Local\Jellyfin\transcodes\a0f77e4d56701945186c07e6fe64782f.m3u8.tmp' for writing
frame= 3275 fps= 63 q=26.0 size=N/A time=00:00:54.91 bitrate=N/A speed=1.05x    
frame= 3313 fps= 63 q=25.0 size=N/A time=00:00:55.29 bitrate=N/A speed=1.04x    
frame= 3340 fps= 62 q=27.0 size=N/A time=00:00:55.87 bitrate=N/A speed=1.05x    
frame= 3366 fps= 62 q=25.0 size=N/A time=00:00:56.25 bitrate=N/A speed=1.04x    
[mpegts @ 000001c535f29100] PES packet size mismatch
[mpegts @ 000001c535f29100] Packet corrupt (stream = 1, dts = 6359946978).
https://192.168.10.0:8920/LiveTv/LiveStreamFiles/1a2929cb077f4658935c29cbdc63674c/stream.ts: corrupt input packet in stream 1
frame= 3369 fps= 40 q=26.0 size=N/A time=00:00:56.49 bitrate=N/A speed=0.672x    
[mpeg2video @ 000001c535e97980] ac-tex damaged at 63 29
[mpeg2video @ 000001c535e97980] Warning MVs not available
[mpeg2video @ 000001c535e97980] concealing 1266 DC, 1266 AC, 1266 MV errors in P frame
[ac3 @ 000001c535e5af00] incomplete frame
https://192.168.10.0:8920/LiveTv/LiveStreamFiles/1a2929cb077f4658935c29cbdc63674c/stream.ts: corrupt decoded frame in stream 1
https://192.168.10.0:8920/LiveTv/LiveStreamFiles/1a2929cb077f4658935c29cbdc63674c/stream.ts: corrupt decoded frame in stream 0
[hls @ 000001c535e98580] Opening 'C:\Users\mitch\AppData\Local\Jellyfin\transcodes\a0f77e4d56701945186c07e6fe64782f18.ts' for writing
[hls @ 000001c535e98580] Opening 'C:\Users\mitch\AppData\Local\Jellyfin\transcodes\a0f77e4d56701945186c07e6fe64782f.m3u8.tmp' for writing
frame= 3384 fps= 40 q=25.0 Lsize=N/A time=00:00:56.57 bitrate=N/A dup=2 drop=0 speed=0.673x    
video:16517kB audio:4477kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[libx264 @ 000001c537e1cbc0] frame I:19    Avg QP:17.38  size: 73778
[libx264 @ 000001c537e1cbc0] frame P:969   Avg QP:18.68  size:  9426
[libx264 @ 000001c537e1cbc0] frame B:2396  Avg QP:20.30  size:  2662
[libx264 @ 000001c537e1cbc0] consecutive B-frames:  1.2% 12.4%  2.9% 83.6%
[libx264 @ 000001c537e1cbc0] mb I  I16..4: 37.8%  0.0% 62.2%
[libx264 @ 000001c537e1cbc0] mb P  I16..4: 12.8%  0.0%  0.0%  P16..4: 33.4%  0.0%  0.0%  0.0%  0.0%    skip:53.8%
[libx264 @ 000001c537e1cbc0] mb B  I16..4:  0.9%  0.0%  0.0%  B16..8:  9.3%  0.0%  0.0%  direct: 9.8%  skip:79.9%  L0:38.5% L1:52.3% BI: 9.2%
[libx264 @ 000001c537e1cbc0] coded y,uvDC,uvAC intra: 23.0% 50.7% 29.4% inter: 4.9% 11.0% 1.0%
[libx264 @ 000001c537e1cbc0] i16 v,h,dc,p: 51% 29%  9% 11%
[libx264 @ 000001c537e1cbc0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 25% 12%  6%  5%  5%  5%  5%  5%
[libx264 @ 000001c537e1cbc0] i8c dc,h,v,p: 44% 25% 24%  7%
[libx264 @ 000001c537e1cbc0] Weighted P-Frames: Y:3.2% UV:2.4%
[libx264 @ 000001c537e1cbc0] kb/s:2396.71

Please attach any browser or client logs here

Begin ConnectionManager constructor [main.jellyfin.bundle.js:2:852587](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Translation dictionary is empty. 8 [main.jellyfin.bundle.js:2:354164](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
ApiClient serverAddress: http://localhost:8096/ [main.jellyfin.bundle.js:2:789448](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
ApiClient appName: Jellyfin Web [main.jellyfin.bundle.js:2:789501](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
ApiClient appVersion: 10.8.13 [main.jellyfin.bundle.js:2:789548](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
ApiClient deviceName: Firefox [main.jellyfin.bundle.js:2:789598](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
ApiClient deviceId: TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTIxLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTIxLjB8MTcwMzY1NzE0MTU4MA11 [main.jellyfin.bundle.js:2:789648](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
returning instance from getOrAddApiClient [main.jellyfin.bundle.js:2:856783](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
defining core routes [main.jellyfin.bundle.js:2:1220539](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
URL candidates: 
Array [ "http://localhost:8096/" ]
[main.jellyfin.bundle.js:2:340401](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
creating ApiClient singleton [main.jellyfin.bundle.js:2:2304](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
ApiClient serverAddress: http://localhost:8096/ [main.jellyfin.bundle.js:2:789448](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
ApiClient appName: Jellyfin Web [main.jellyfin.bundle.js:2:789501](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
ApiClient appVersion: 10.8.13 [main.jellyfin.bundle.js:2:789548](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
ApiClient deviceName: Firefox [main.jellyfin.bundle.js:2:789598](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
ApiClient deviceId: TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTIxLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTIxLjB8MTcwMzY1NzE0MTU4MA11 [main.jellyfin.bundle.js:2:789648](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
loaded ApiClient singleton [main.jellyfin.bundle.js:2:2539](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
initAfterDependencies promises resolved [main.jellyfin.bundle.js:2:1254714](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
using default fonts [main.jellyfin.bundle.js:2:1255605](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
loading installed plugins [main.jellyfin.bundle.js:2:1255733](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
loading packages [main.jellyfin.bundle.js:2:1217589](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
getTryConnectPromise http://localhost:8096/ [main.jellyfin.bundle.js:2:859826](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
ConnectionManager requesting url: http://localhost:8096/system/info/public [main.jellyfin.bundle.js:2:850922](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
fetchWithTimeout: timeoutMs: 20000, url: http://localhost:8096/system/info/public [main.jellyfin.bundle.js:2:851497](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
fetchWithTimeout: succeeded connecting to url: http://localhost:8096/system/info/public [main.jellyfin.bundle.js:2:851702](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
ConnectionManager response status: 200, url: http://localhost:8096/system/info/public [main.jellyfin.bundle.js:2:851939](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Reconnect succeeded to http://localhost:8096/ [main.jellyfin.bundle.js:2:859986](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
ConnectionManager requesting url: http://localhost:8096/System/Info [main.jellyfin.bundle.js:2:850922](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
ConnectionManager response status: 200, url: http://localhost:8096/System/Info [main.jellyfin.bundle.js:2:851939](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
returning instance from getOrAddApiClient [main.jellyfin.bundle.js:2:856783](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Setting server address to http://localhost:8096/ [main.jellyfin.bundle.js:2:797356](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Requesting url without automatic networking: http://localhost:8096/Sessions/Capabilities/Full [main.jellyfin.bundle.js:2:792308](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
calling apiClient.ensureWebSocket [main.jellyfin.bundle.js:2:853405](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
opening web socket with url: ws://localhost:8096/socket?api_key=7413b9ef76dd4944ba2bdc807806a8c2&deviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTIxLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTIxLjB8MTcwMzY1NzE0MTU4MA11 [main.jellyfin.bundle.js:2:795852](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Requesting http://localhost:8096/Users/e518be94e52046ed95cebe77caaadabc [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
returning instance from getOrAddApiClient [main.jellyfin.bundle.js:2:856783](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Requesting http://localhost:8096/DisplayPreferences/usersettings?userId=e518be94e52046ed95cebe77caaadabc&client=emby [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
web socket connection opened [main.jellyfin.bundle.js:2:839845](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Requesting http://localhost:8096/Sessions?ControllableByUserId=e518be94e52046ed95cebe77caaadabc [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Received ForceKeepAlive from server. Timeout is 60 seconds. [main.jellyfin.bundle.js:2:839395](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Sending web socket message: KeepAlive [main.jellyfin.bundle.js:2:796384](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Clearing KeepAlive for 
WebSocket { url: "ws://localhost:8096/socket?api_key=7413b9ef76dd4944ba2bdc807806a8c2&deviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTIxLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTIxLjB8MTcwMzY1NzE0MTU4MA11", readyState: 1, bufferedAmount: 0, onopen: BoundFunctionObject, onerror: BoundFunctionObject, onclose: ()
, extensions: "", protocol: "", onmessage: BoundFunctionObject, binaryType: "blob" }
[main.jellyfin.bundle.js:2:839696](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Received KeepAlive from server. [main.jellyfin.bundle.js:2:839311](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
resolving connectToServers with result.State: SignedIn [main.jellyfin.bundle.js:2:858953](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
processing path request: /livetv.html [main.jellyfin.bundle.js:2:23031](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
user is authenticated [main.jellyfin.bundle.js:2:23400](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
proceeding to page: /livetv.html [main.jellyfin.bundle.js:2:23621](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Requesting http://localhost:8096/LiveTv/Programs/Recommended?userId=e518be94e52046ed95cebe77caaadabc&IsAiring=true&limit=9&ImageTypeLimit=1&EnableImageTypes=Primary%2CThumb%2CBackdrop&EnableTotalRecordCount=false&Fields=ChannelInfo%2CPrimaryImageAspectRatio [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Requesting http://localhost:8096/LiveTv/Programs?userId=e518be94e52046ed95cebe77caaadabc&HasAired=false&limit=9&IsMovie=false&IsSports=false&IsKids=false&IsNews=false&IsSeries=true&EnableTotalRecordCount=false&Fields=ChannelInfo%2CPrimaryImageAspectRatio&EnableImageTypes=Primary%2CThumb [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Requesting http://localhost:8096/LiveTv/Programs?userId=e518be94e52046ed95cebe77caaadabc&HasAired=false&limit=9&IsMovie=true&EnableTotalRecordCount=false&Fields=ChannelInfo&EnableImageTypes=Primary%2CThumb [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Requesting http://localhost:8096/LiveTv/Programs?userId=e518be94e52046ed95cebe77caaadabc&HasAired=false&limit=9&IsSports=true&EnableTotalRecordCount=false&Fields=ChannelInfo%2CPrimaryImageAspectRatio&EnableImageTypes=Primary%2CThumb [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Requesting http://localhost:8096/LiveTv/Programs?userId=e518be94e52046ed95cebe77caaadabc&HasAired=false&limit=9&IsKids=true&EnableTotalRecordCount=false&Fields=ChannelInfo%2CPrimaryImageAspectRatio&EnableImageTypes=Primary%2CThumb [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Requesting http://localhost:8096/LiveTv/Programs?userId=e518be94e52046ed95cebe77caaadabc&HasAired=false&limit=9&IsNews=true&EnableTotalRecordCount=false&Fields=ChannelInfo%2CPrimaryImageAspectRatio&EnableImageTypes=Primary%2CThumb [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Requesting http://localhost:8096/Users/e518be94e52046ed95cebe77caaadabc/Views [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
offset:431.04998779296875 currentStart:0 currentEnd:1059 [3800.8530c66fa98e791ccde3.chunk.js:1:5313](http://localhost:8096/web/3800.8530c66fa98e791ccde3.chunk.js)
Requesting http://localhost:8096/LiveTv/Channels?StartIndex=0&Fields=PrimaryImageAspectRatio&Limit=100&UserId=e518be94e52046ed95cebe77caaadabc [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Requesting http://localhost:8096/Users/e518be94e52046ed95cebe77caaadabc/Items/cda10c0a8b5c53725d0bb3aa3716cb2f [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Requesting http://localhost:8096/System/Endpoint [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Requesting url without automatic networking: http://localhost:8096/Items/cda10c0a8b5c53725d0bb3aa3716cb2f/PlaybackInfo?UserId=e518be94e52046ed95cebe77caaadabc&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=60000000 [main.jellyfin.bundle.js:2:792308](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
getLiveStreamMediaInfo [main.jellyfin.bundle.js:2:161995](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Requesting url without automatic networking: http://localhost:8096/LiveStreams/MediaInfo [main.jellyfin.bundle.js:2:792308](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
playing url: http://localhost:8096/videos/cda10c0a-8b5c-5372-5d0b-b3aa3716cb2f/master.m3u8?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTIxLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTIxLjB8MTcwMzY1NzE0MTU4MA11&MediaSourceId=native_b23ebc9442ec90ed5f591ef1683972b1_64bb1957fe77d7f1854670bc596a95ec&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=59360000&AudioBitrate=640000&MaxFramerate=59.94006&PlaySessionId=acd0333afa0d42d0ae60395c3eee4b01&api_key=7413b9ef76dd4944ba2bdc807806a8c2&LiveStreamId=a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_native_b23ebc9442ec90ed5f591ef1683972b1_64bb1957fe77d7f1854670bc596a95ec&TranscodingMaxAudioChannels=8&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&mpeg2video-level=4&mpeg2video-videobitdepth=8&mpeg2video-profile=main&TranscodeReasons=ContainerNotSupported,%20VideoCodecNotSupported,%20AudioCodecNotSupported [htmlVideoPlayer-plugin.319152dc3b023f10961e.chunk.js:1:9408](http://localhost:8096/web/htmlVideoPlayer-plugin.319152dc3b023f10961e.chunk.js)
Active player: {"name":"Html Video Player","id":"htmlvideoplayer","playerName":"Html Video Player","playableMediaTypes":[false,true,false,false],"isLocalPlayer":true,"supportedCommands":["GoHome","GoToSettings","VolumeUp","VolumeDown","Mute","Unmute","ToggleMute","SetVolume","SetAudioStreamIndex","SetSubtitleStreamIndex","SetMaxStreamingBitrate","DisplayContent","GoToSearch","DisplayMessage","SetRepeatMode","SetShuffleQueue","PlayMediaSource","PlayTrailers","ToggleFullscreen","SetBrightness","SetAspectRatio","PlaybackRate"]} [main.jellyfin.bundle.js:2:141923](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
SyncPlay WrapperFactory getWrapper: htmlvideoplayer [main.jellyfin.bundle.js:2:252073](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Requesting url without automatic networking: http://localhost:8096/Sessions/Playing [main.jellyfin.bundle.js:2:792308](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
nowplaying event: playbackstart [9944.7c989716de118dc7f50a.chunk.js:1:7787](http://localhost:8096/web/9944.7c989716de118dc7f50a.chunk.js)
nowplaying event: playbackstart [9944.7c989716de118dc7f50a.chunk.js:1:8473](http://localhost:8096/web/9944.7c989716de118dc7f50a.chunk.js)
processing path request: /video [main.jellyfin.bundle.js:2:23031](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
user is authenticated [main.jellyfin.bundle.js:2:23400](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
proceeding to page: /video [main.jellyfin.bundle.js:2:23621](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Translation key is missing from dictionary: AirPlay [main.jellyfin.bundle.js:2:354213](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Requesting http://localhost:8096/Users/e518be94e52046ed95cebe77caaadabc/Items/cda10c0a8b5c53725d0bb3aa3716cb2f [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
setting new text track index to: -1 [htmlVideoPlayer-plugin.319152dc3b023f10961e.chunk.js:1:21016](http://localhost:8096/web/htmlVideoPlayer-plugin.319152dc3b023f10961e.chunk.js)
Requesting url without automatic networking: http://localhost:8096/Sessions/Playing/Progress 3 [main.jellyfin.bundle.js:2:792308](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Sending web socket message: KeepAlive [main.jellyfin.bundle.js:2:796384](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Received KeepAlive from server. [main.jellyfin.bundle.js:2:839311](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Requesting url without automatic networking: http://localhost:8096/Sessions/Playing/Progress 3 [main.jellyfin.bundle.js:2:792308](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)
Sending web socket message: KeepAlive [main.jellyfin.bundle.js:2:796384](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33)

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
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`, then `web 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 ```markdown - OS: Windows or Linux - Linux Kernel: 6.2.16-19-pve / None (windows) - Virtualization: LXC / None (windows) - Clients: All - Browser: All - FFmpeg Version: Multiple tried, including latest 6.0.1-5 - Playback Method: Web / Tv App / Phone app - Hardware Acceleration: Tried both extensively - GPU Model: Arc A770 - Plugins: None - Reverse Proxy: HAproxy, but direct is affected too - Base URL: https://jellyfin.pleunetowne.com - Networking: Direct - Storage: m.2 ``` ### Jellyfin logs ```shell MediaBrowser.Common.Extensions.ResourceNotFoundException: Exception of type 'MediaBrowser.Common.Extensions.ResourceNotFoundException' was thrown. at Emby.Server.Implementations.Library.MediaSourceManager.GetLiveStreamWithDirectStreamProvider(String id, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.MediaSourceManager.GetLiveStream(String id, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.MediaSourceManager.GetMediaSource(BaseItem item, String mediaSourceId, String liveStreamId, Boolean enablePathSubstitution, CancellationToken cancellationToken) at Emby.Server.Implementations.Session.SessionManager.UpdateNowPlayingItem(SessionInfo session, PlaybackProgressInfo info, BaseItem libraryItem, Boolean updateLastCheckInTime) at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated) at Jellyfin.Api.Controllers.PlaystateController.ReportPlaybackProgress(PlaybackProgressInfo playbackProgressInfo) at lambda_method559(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager) at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Jellyfin.Server.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext) at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context) [2024-04-23 02:41:25.883 -04:00] [INF] [56] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.1" request ``` ### FFmpeg logs ```shell frame= 2758 fps= 63 q=23.0 size=N/A time=00:00:45.88 bitrate=N/A speed=1.05x frame= 2782 fps= 63 q=25.0 size=N/A time=00:00:46.46 bitrate=N/A speed=1.05x frame= 2821 fps= 63 q=24.0 size=N/A time=00:00:47.04 bitrate=N/A speed=1.06x frame= 2846 fps= 63 q=24.0 size=N/A time=00:00:47.46 bitrate=N/A speed=1.05x frame= 2879 fps= 63 q=26.0 size=N/A time=00:00:48.00 bitrate=N/A speed=1.05x [hls @ 000001c535e98580] Opening 'C:\Users\mitch\AppData\Local\Jellyfin\transcodes\a0f77e4d56701945186c07e6fe64782f15.ts' for writing [hls @ 000001c535e98580] Opening 'C:\Users\mitch\AppData\Local\Jellyfin\transcodes\a0f77e4d56701945186c07e6fe64782f.m3u8.tmp' for writing frame= 2902 fps= 63 q=25.0 size=N/A time=00:00:48.57 bitrate=N/A speed=1.05x frame= 2941 fps= 63 q=24.0 size=N/A time=00:00:48.96 bitrate=N/A speed=1.05x frame= 2969 fps= 63 q=22.0 size=N/A time=00:00:49.53 bitrate=N/A speed=1.05x frame= 2998 fps= 63 q=24.0 size=N/A time=00:00:50.11 bitrate=N/A speed=1.05x frame= 3035 fps= 63 q=26.0 size=N/A time=00:00:50.56 bitrate=N/A speed=1.05x frame= 3061 fps= 63 q=28.0 size=N/A time=00:00:51.07 bitrate=N/A speed=1.05x [hls @ 000001c535e98580] Opening 'C:\Users\mitch\AppData\Local\Jellyfin\transcodes\a0f77e4d56701945186c07e6fe64782f16.ts' for writing [hls @ 000001c535e98580] Opening 'C:\Users\mitch\AppData\Local\Jellyfin\transcodes\a0f77e4d56701945186c07e6fe64782f.m3u8.tmp' for writing frame= 3083 fps= 63 q=26.0 size=N/A time=00:00:51.64 bitrate=N/A speed=1.05x frame= 3123 fps= 63 q=25.0 size=N/A time=00:00:52.22 bitrate=N/A speed=1.05x frame= 3161 fps= 63 q=28.0 size=N/A time=00:00:52.65 bitrate=N/A speed=1.05x frame= 3188 fps= 63 q=26.0 size=N/A time=00:00:53.24 bitrate=N/A speed=1.05x frame= 3223 fps= 63 q=26.0 size=N/A time=00:00:53.76 bitrate=N/A speed=1.05x frame= 3248 fps= 63 q=29.0 size=N/A time=00:00:54.33 bitrate=N/A speed=1.05x [hls @ 000001c535e98580] Opening 'C:\Users\mitch\AppData\Local\Jellyfin\transcodes\a0f77e4d56701945186c07e6fe64782f17.ts' for writing [hls @ 000001c535e98580] Opening 'C:\Users\mitch\AppData\Local\Jellyfin\transcodes\a0f77e4d56701945186c07e6fe64782f.m3u8.tmp' for writing frame= 3275 fps= 63 q=26.0 size=N/A time=00:00:54.91 bitrate=N/A speed=1.05x frame= 3313 fps= 63 q=25.0 size=N/A time=00:00:55.29 bitrate=N/A speed=1.04x frame= 3340 fps= 62 q=27.0 size=N/A time=00:00:55.87 bitrate=N/A speed=1.05x frame= 3366 fps= 62 q=25.0 size=N/A time=00:00:56.25 bitrate=N/A speed=1.04x [mpegts @ 000001c535f29100] PES packet size mismatch [mpegts @ 000001c535f29100] Packet corrupt (stream = 1, dts = 6359946978). https://192.168.10.0:8920/LiveTv/LiveStreamFiles/1a2929cb077f4658935c29cbdc63674c/stream.ts: corrupt input packet in stream 1 frame= 3369 fps= 40 q=26.0 size=N/A time=00:00:56.49 bitrate=N/A speed=0.672x [mpeg2video @ 000001c535e97980] ac-tex damaged at 63 29 [mpeg2video @ 000001c535e97980] Warning MVs not available [mpeg2video @ 000001c535e97980] concealing 1266 DC, 1266 AC, 1266 MV errors in P frame [ac3 @ 000001c535e5af00] incomplete frame https://192.168.10.0:8920/LiveTv/LiveStreamFiles/1a2929cb077f4658935c29cbdc63674c/stream.ts: corrupt decoded frame in stream 1 https://192.168.10.0:8920/LiveTv/LiveStreamFiles/1a2929cb077f4658935c29cbdc63674c/stream.ts: corrupt decoded frame in stream 0 [hls @ 000001c535e98580] Opening 'C:\Users\mitch\AppData\Local\Jellyfin\transcodes\a0f77e4d56701945186c07e6fe64782f18.ts' for writing [hls @ 000001c535e98580] Opening 'C:\Users\mitch\AppData\Local\Jellyfin\transcodes\a0f77e4d56701945186c07e6fe64782f.m3u8.tmp' for writing frame= 3384 fps= 40 q=25.0 Lsize=N/A time=00:00:56.57 bitrate=N/A dup=2 drop=0 speed=0.673x video:16517kB audio:4477kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown [libx264 @ 000001c537e1cbc0] frame I:19 Avg QP:17.38 size: 73778 [libx264 @ 000001c537e1cbc0] frame P:969 Avg QP:18.68 size: 9426 [libx264 @ 000001c537e1cbc0] frame B:2396 Avg QP:20.30 size: 2662 [libx264 @ 000001c537e1cbc0] consecutive B-frames: 1.2% 12.4% 2.9% 83.6% [libx264 @ 000001c537e1cbc0] mb I I16..4: 37.8% 0.0% 62.2% [libx264 @ 000001c537e1cbc0] mb P I16..4: 12.8% 0.0% 0.0% P16..4: 33.4% 0.0% 0.0% 0.0% 0.0% skip:53.8% [libx264 @ 000001c537e1cbc0] mb B I16..4: 0.9% 0.0% 0.0% B16..8: 9.3% 0.0% 0.0% direct: 9.8% skip:79.9% L0:38.5% L1:52.3% BI: 9.2% [libx264 @ 000001c537e1cbc0] coded y,uvDC,uvAC intra: 23.0% 50.7% 29.4% inter: 4.9% 11.0% 1.0% [libx264 @ 000001c537e1cbc0] i16 v,h,dc,p: 51% 29% 9% 11% [libx264 @ 000001c537e1cbc0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 25% 12% 6% 5% 5% 5% 5% 5% [libx264 @ 000001c537e1cbc0] i8c dc,h,v,p: 44% 25% 24% 7% [libx264 @ 000001c537e1cbc0] Weighted P-Frames: Y:3.2% UV:2.4% [libx264 @ 000001c537e1cbc0] kb/s:2396.71 ``` ### Please attach any browser or client logs here ``` Begin ConnectionManager constructor [main.jellyfin.bundle.js:2:852587](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Translation dictionary is empty. 8 [main.jellyfin.bundle.js:2:354164](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) ApiClient serverAddress: http://localhost:8096/ [main.jellyfin.bundle.js:2:789448](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) ApiClient appName: Jellyfin Web [main.jellyfin.bundle.js:2:789501](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) ApiClient appVersion: 10.8.13 [main.jellyfin.bundle.js:2:789548](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) ApiClient deviceName: Firefox [main.jellyfin.bundle.js:2:789598](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) ApiClient deviceId: TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTIxLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTIxLjB8MTcwMzY1NzE0MTU4MA11 [main.jellyfin.bundle.js:2:789648](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) returning instance from getOrAddApiClient [main.jellyfin.bundle.js:2:856783](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) defining core routes [main.jellyfin.bundle.js:2:1220539](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) URL candidates: Array [ "http://localhost:8096/" ] [main.jellyfin.bundle.js:2:340401](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) creating ApiClient singleton [main.jellyfin.bundle.js:2:2304](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) ApiClient serverAddress: http://localhost:8096/ [main.jellyfin.bundle.js:2:789448](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) ApiClient appName: Jellyfin Web [main.jellyfin.bundle.js:2:789501](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) ApiClient appVersion: 10.8.13 [main.jellyfin.bundle.js:2:789548](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) ApiClient deviceName: Firefox [main.jellyfin.bundle.js:2:789598](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) ApiClient deviceId: TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTIxLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTIxLjB8MTcwMzY1NzE0MTU4MA11 [main.jellyfin.bundle.js:2:789648](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) loaded ApiClient singleton [main.jellyfin.bundle.js:2:2539](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) initAfterDependencies promises resolved [main.jellyfin.bundle.js:2:1254714](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) using default fonts [main.jellyfin.bundle.js:2:1255605](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) loading installed plugins [main.jellyfin.bundle.js:2:1255733](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) loading packages [main.jellyfin.bundle.js:2:1217589](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) getTryConnectPromise http://localhost:8096/ [main.jellyfin.bundle.js:2:859826](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) ConnectionManager requesting url: http://localhost:8096/system/info/public [main.jellyfin.bundle.js:2:850922](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) fetchWithTimeout: timeoutMs: 20000, url: http://localhost:8096/system/info/public [main.jellyfin.bundle.js:2:851497](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) fetchWithTimeout: succeeded connecting to url: http://localhost:8096/system/info/public [main.jellyfin.bundle.js:2:851702](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) ConnectionManager response status: 200, url: http://localhost:8096/system/info/public [main.jellyfin.bundle.js:2:851939](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Reconnect succeeded to http://localhost:8096/ [main.jellyfin.bundle.js:2:859986](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) ConnectionManager requesting url: http://localhost:8096/System/Info [main.jellyfin.bundle.js:2:850922](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) ConnectionManager response status: 200, url: http://localhost:8096/System/Info [main.jellyfin.bundle.js:2:851939](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) returning instance from getOrAddApiClient [main.jellyfin.bundle.js:2:856783](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Setting server address to http://localhost:8096/ [main.jellyfin.bundle.js:2:797356](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Requesting url without automatic networking: http://localhost:8096/Sessions/Capabilities/Full [main.jellyfin.bundle.js:2:792308](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) calling apiClient.ensureWebSocket [main.jellyfin.bundle.js:2:853405](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) opening web socket with url: ws://localhost:8096/socket?api_key=7413b9ef76dd4944ba2bdc807806a8c2&deviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTIxLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTIxLjB8MTcwMzY1NzE0MTU4MA11 [main.jellyfin.bundle.js:2:795852](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Requesting http://localhost:8096/Users/e518be94e52046ed95cebe77caaadabc [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) returning instance from getOrAddApiClient [main.jellyfin.bundle.js:2:856783](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Requesting http://localhost:8096/DisplayPreferences/usersettings?userId=e518be94e52046ed95cebe77caaadabc&client=emby [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) web socket connection opened [main.jellyfin.bundle.js:2:839845](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Requesting http://localhost:8096/Sessions?ControllableByUserId=e518be94e52046ed95cebe77caaadabc [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Received ForceKeepAlive from server. Timeout is 60 seconds. [main.jellyfin.bundle.js:2:839395](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Sending web socket message: KeepAlive [main.jellyfin.bundle.js:2:796384](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Clearing KeepAlive for WebSocket { url: "ws://localhost:8096/socket?api_key=7413b9ef76dd4944ba2bdc807806a8c2&deviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTIxLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTIxLjB8MTcwMzY1NzE0MTU4MA11", readyState: 1, bufferedAmount: 0, onopen: BoundFunctionObject, onerror: BoundFunctionObject, onclose: () , extensions: "", protocol: "", onmessage: BoundFunctionObject, binaryType: "blob" } [main.jellyfin.bundle.js:2:839696](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Received KeepAlive from server. [main.jellyfin.bundle.js:2:839311](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) resolving connectToServers with result.State: SignedIn [main.jellyfin.bundle.js:2:858953](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) processing path request: /livetv.html [main.jellyfin.bundle.js:2:23031](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) user is authenticated [main.jellyfin.bundle.js:2:23400](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) proceeding to page: /livetv.html [main.jellyfin.bundle.js:2:23621](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Requesting http://localhost:8096/LiveTv/Programs/Recommended?userId=e518be94e52046ed95cebe77caaadabc&IsAiring=true&limit=9&ImageTypeLimit=1&EnableImageTypes=Primary%2CThumb%2CBackdrop&EnableTotalRecordCount=false&Fields=ChannelInfo%2CPrimaryImageAspectRatio [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Requesting http://localhost:8096/LiveTv/Programs?userId=e518be94e52046ed95cebe77caaadabc&HasAired=false&limit=9&IsMovie=false&IsSports=false&IsKids=false&IsNews=false&IsSeries=true&EnableTotalRecordCount=false&Fields=ChannelInfo%2CPrimaryImageAspectRatio&EnableImageTypes=Primary%2CThumb [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Requesting http://localhost:8096/LiveTv/Programs?userId=e518be94e52046ed95cebe77caaadabc&HasAired=false&limit=9&IsMovie=true&EnableTotalRecordCount=false&Fields=ChannelInfo&EnableImageTypes=Primary%2CThumb [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Requesting http://localhost:8096/LiveTv/Programs?userId=e518be94e52046ed95cebe77caaadabc&HasAired=false&limit=9&IsSports=true&EnableTotalRecordCount=false&Fields=ChannelInfo%2CPrimaryImageAspectRatio&EnableImageTypes=Primary%2CThumb [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Requesting http://localhost:8096/LiveTv/Programs?userId=e518be94e52046ed95cebe77caaadabc&HasAired=false&limit=9&IsKids=true&EnableTotalRecordCount=false&Fields=ChannelInfo%2CPrimaryImageAspectRatio&EnableImageTypes=Primary%2CThumb [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Requesting http://localhost:8096/LiveTv/Programs?userId=e518be94e52046ed95cebe77caaadabc&HasAired=false&limit=9&IsNews=true&EnableTotalRecordCount=false&Fields=ChannelInfo%2CPrimaryImageAspectRatio&EnableImageTypes=Primary%2CThumb [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Requesting http://localhost:8096/Users/e518be94e52046ed95cebe77caaadabc/Views [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) offset:431.04998779296875 currentStart:0 currentEnd:1059 [3800.8530c66fa98e791ccde3.chunk.js:1:5313](http://localhost:8096/web/3800.8530c66fa98e791ccde3.chunk.js) Requesting http://localhost:8096/LiveTv/Channels?StartIndex=0&Fields=PrimaryImageAspectRatio&Limit=100&UserId=e518be94e52046ed95cebe77caaadabc [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Requesting http://localhost:8096/Users/e518be94e52046ed95cebe77caaadabc/Items/cda10c0a8b5c53725d0bb3aa3716cb2f [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Requesting http://localhost:8096/System/Endpoint [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Requesting url without automatic networking: http://localhost:8096/Items/cda10c0a8b5c53725d0bb3aa3716cb2f/PlaybackInfo?UserId=e518be94e52046ed95cebe77caaadabc&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=60000000 [main.jellyfin.bundle.js:2:792308](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) getLiveStreamMediaInfo [main.jellyfin.bundle.js:2:161995](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Requesting url without automatic networking: http://localhost:8096/LiveStreams/MediaInfo [main.jellyfin.bundle.js:2:792308](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) playing url: http://localhost:8096/videos/cda10c0a-8b5c-5372-5d0b-b3aa3716cb2f/master.m3u8?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTIxLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTIxLjB8MTcwMzY1NzE0MTU4MA11&MediaSourceId=native_b23ebc9442ec90ed5f591ef1683972b1_64bb1957fe77d7f1854670bc596a95ec&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=59360000&AudioBitrate=640000&MaxFramerate=59.94006&PlaySessionId=acd0333afa0d42d0ae60395c3eee4b01&api_key=7413b9ef76dd4944ba2bdc807806a8c2&LiveStreamId=a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_native_b23ebc9442ec90ed5f591ef1683972b1_64bb1957fe77d7f1854670bc596a95ec&TranscodingMaxAudioChannels=8&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&mpeg2video-level=4&mpeg2video-videobitdepth=8&mpeg2video-profile=main&TranscodeReasons=ContainerNotSupported,%20VideoCodecNotSupported,%20AudioCodecNotSupported [htmlVideoPlayer-plugin.319152dc3b023f10961e.chunk.js:1:9408](http://localhost:8096/web/htmlVideoPlayer-plugin.319152dc3b023f10961e.chunk.js) Active player: {"name":"Html Video Player","id":"htmlvideoplayer","playerName":"Html Video Player","playableMediaTypes":[false,true,false,false],"isLocalPlayer":true,"supportedCommands":["GoHome","GoToSettings","VolumeUp","VolumeDown","Mute","Unmute","ToggleMute","SetVolume","SetAudioStreamIndex","SetSubtitleStreamIndex","SetMaxStreamingBitrate","DisplayContent","GoToSearch","DisplayMessage","SetRepeatMode","SetShuffleQueue","PlayMediaSource","PlayTrailers","ToggleFullscreen","SetBrightness","SetAspectRatio","PlaybackRate"]} [main.jellyfin.bundle.js:2:141923](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) SyncPlay WrapperFactory getWrapper: htmlvideoplayer [main.jellyfin.bundle.js:2:252073](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Requesting url without automatic networking: http://localhost:8096/Sessions/Playing [main.jellyfin.bundle.js:2:792308](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) nowplaying event: playbackstart [9944.7c989716de118dc7f50a.chunk.js:1:7787](http://localhost:8096/web/9944.7c989716de118dc7f50a.chunk.js) nowplaying event: playbackstart [9944.7c989716de118dc7f50a.chunk.js:1:8473](http://localhost:8096/web/9944.7c989716de118dc7f50a.chunk.js) processing path request: /video [main.jellyfin.bundle.js:2:23031](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) user is authenticated [main.jellyfin.bundle.js:2:23400](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) proceeding to page: /video [main.jellyfin.bundle.js:2:23621](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Translation key is missing from dictionary: AirPlay [main.jellyfin.bundle.js:2:354213](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Requesting http://localhost:8096/Users/e518be94e52046ed95cebe77caaadabc/Items/cda10c0a8b5c53725d0bb3aa3716cb2f [main.jellyfin.bundle.js:2:791231](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) setting new text track index to: -1 [htmlVideoPlayer-plugin.319152dc3b023f10961e.chunk.js:1:21016](http://localhost:8096/web/htmlVideoPlayer-plugin.319152dc3b023f10961e.chunk.js) Requesting url without automatic networking: http://localhost:8096/Sessions/Playing/Progress 3 [main.jellyfin.bundle.js:2:792308](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Sending web socket message: KeepAlive [main.jellyfin.bundle.js:2:796384](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Received KeepAlive from server. [main.jellyfin.bundle.js:2:839311](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Requesting url without automatic networking: http://localhost:8096/Sessions/Playing/Progress 3 [main.jellyfin.bundle.js:2:792308](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) Sending web socket message: KeepAlive [main.jellyfin.bundle.js:2:796384](http://localhost:8096/web/main.jellyfin.bundle.js?d5f64bca077b6d6aaf33) ``` ### Please attach any screenshots here _No response_ ### Code of Conduct - [X] I agree to follow this project's Code of Conduct
OVERLORD added the bugstalelive-tvmedia playback labels 2026-02-07 02:01:42 +03:00
Author
Owner

@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:

  • You have not filled in the environment completely.
  • You have not provided the ffmpeg log unaltered from the server. Please provide a valid ffmpeg log.

This is an automated message, currently under testing. Please file an issue here if you encounter any problems.

@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: - You have not filled in the environment completely. - You have not provided the ffmpeg log unaltered from the server. Please provide a valid ffmpeg log. This is an automated message, currently under testing. Please file an issue [here](https://github.com/jellyfin/jellyfin-triage-scripts/issues) if you encounter any problems.
Author
Owner
@Pleune commented on GitHub (Apr 23, 2024): Attached are full logs [FFmpeg.Transcode-2024-04-23_02-09-24_native_b23ebc9442ec90ed5f591ef1683972b1_64bb1957fe77d7f1854670bc596a95ec_cf6a28a4.log](https://github.com/jellyfin/jellyfin/files/15072529/FFmpeg.Transcode-2024-04-23_02-09-24_native_b23ebc9442ec90ed5f591ef1683972b1_64bb1957fe77d7f1854670bc596a95ec_cf6a28a4.log) [log_20240423.log](https://github.com/jellyfin/jellyfin/files/15072530/log_20240423.log)
Author
Owner

@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.

@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](https://jellyfin.org/contact).
Author
Owner

@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

https://[fe80::50d5:a19c:bb70:7726]:8920/LiveTv/LiveStreamFiles/7c27c6c1a3bf4134bbf9f54b1be3bd35/stream.ts: corrupt input packet in stream 1
    Last message repeated 1 times
    Last message repeated 1 times
frame=29811 fps= 57 q=19.0 size=N/A time=00:08:17.47 bitrate=N/A dup=14910 drop=0 speed=0.948x    
[ac3 @ 0000025ee8807100] incomplete frame
https://[fe80::50d5:a19c:bb70:7726]:8920/LiveTv/LiveStreamFiles/7c27c6c1a3bf4134bbf9f54b1be3bd35/stream.ts: corrupt decoded frame in stream 1
[hls @ 0000025ee88077c0] Opening 'C:\ProgramData\Jellyfin\cache\transcodes\af69e4b5df980b025a51420ab55f52cc166.ts' for writing
[hls @ 0000025ee88077c0] Opening 'C:\ProgramData\Jellyfin\cache\transcodes\af69e4b5df980b025a51420ab55f52cc.m3u8.tmp' for writing
frame=29846 fps= 57 q=17.0 Lsize=N/A time=00:08:17.60 bitrate=N/A dup=14922 drop=0 speed=0.948x    
video:303585kB audio:11699kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

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 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 ``` https://[fe80::50d5:a19c:bb70:7726]:8920/LiveTv/LiveStreamFiles/7c27c6c1a3bf4134bbf9f54b1be3bd35/stream.ts: corrupt input packet in stream 1 Last message repeated 1 times Last message repeated 1 times frame=29811 fps= 57 q=19.0 size=N/A time=00:08:17.47 bitrate=N/A dup=14910 drop=0 speed=0.948x [ac3 @ 0000025ee8807100] incomplete frame https://[fe80::50d5:a19c:bb70:7726]:8920/LiveTv/LiveStreamFiles/7c27c6c1a3bf4134bbf9f54b1be3bd35/stream.ts: corrupt decoded frame in stream 1 [hls @ 0000025ee88077c0] Opening 'C:\ProgramData\Jellyfin\cache\transcodes\af69e4b5df980b025a51420ab55f52cc166.ts' for writing [hls @ 0000025ee88077c0] Opening 'C:\ProgramData\Jellyfin\cache\transcodes\af69e4b5df980b025a51420ab55f52cc.m3u8.tmp' for writing frame=29846 fps= 57 q=17.0 Lsize=N/A time=00:08:17.60 bitrate=N/A dup=14922 drop=0 speed=0.948x video:303585kB audio:11699kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown ``` 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
Author
Owner

@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 +discardcorrupt ffmpeg flag set, but it is always false.
75bbd30296/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs (L104)

@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 `+discardcorrupt` ffmpeg flag set, but it is always false. https://github.com/jellyfin/jellyfin/blame/75bbd3029613829a9b55ac01e27093583fc8cf52/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs#L104
Author
Owner

@Pleune commented on GitHub (Nov 11, 2024):

Testing with 10.10.0 this is still happening, even after the inclusion of #11801

@Pleune commented on GitHub (Nov 11, 2024): Testing with 10.10.0 this is still happening, even after the inclusion of #11801
Author
Owner

@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 (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](https://jellyfin.org/contact).
Author
Owner

@jellyfin-bot commented on GitHub (Apr 1, 2025):

This issue was closed due to inactivity.

@jellyfin-bot commented on GitHub (Apr 1, 2025): This issue was closed due to inactivity.
Author
Owner
@Pleune commented on GitHub (Aug 30, 2025): https://github.com/jellyfin/jellyfin/issues/13877 https://github.com/jellyfin/jellyfin/issues/13781
Author
Owner

@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 +discardcorrupt flag, but this does not fix it.

The log now looks like this

frame= 2889 fps= 39 q=22.0 size=N/A time=00:00:44.73 bitrate=N/A speed=0.604x    
frame= 2889 fps= 39 q=22.0 size=N/A time=00:00:44.73 bitrate=N/A speed= 0.6x    
frame= 2889 fps= 39 q=22.0 size=N/A time=00:00:44.73 bitrate=N/A speed=0.596x    
[mpegts @ 0x561c8cc13800] PES packet size mismatch
[mpegts @ 0x561c8cc13800] Packet corrupt (stream = 1, dts = 6520092009), dropping it.
[mpeg2video @ 0x561c8edc7a40] slice too small
[vist#0:0/mpeg2video @ 0x561c8dee6ac0] [dec:mpeg2video @ 0x561c8cd835c0] Error submitting packet to decoder: Invalid data found when processing input
[hls @ 0x561c8edc6fc0] Opening '/var/cache/jellyfin/transcodes/6ac185d824c6774fa01b64af06ba7e6215.ts' for writing
[hls @ 0x561c8edc6fc0] Opening '/var/cache/jellyfin/transcodes/6ac185d824c6774fa01b64af06ba7e62.m3u8.tmp' for writing
[hls @ 0x561c8edc6fc0] Opening '/var/cache/jellyfin/transcodes/6ac185d824c6774fa01b64af06ba7e6216.ts' for writing
[hls @ 0x561c8edc6fc0] Opening '/var/cache/jellyfin/transcodes/6ac185d824c6774fa01b64af06ba7e62.m3u8.tmp' for writing
[out#0/hls @ 0x561c8edb8400] video:40079KiB audio:1483KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
frame= 2913 fps= 39 q=-1.0 Lsize=N/A time=00:00:44.82 bitrate=N/A dup=2 drop=0 speed=0.595x    
[libx264 @ 0x561c8ea9e480] frame I:17    Avg QP:20.76  size:121845
[libx264 @ 0x561c8ea9e480] frame P:2896  Avg QP:23.80  size: 13456
[libx264 @ 0x561c8ea9e480] mb I  I16..4: 100.0%  0.0%  0.0%
[libx264 @ 0x561c8ea9e480] mb P  I16..4:  3.7%  0.0%  0.0%  P16..4: 32.6%  0.0%  0.0%  0.0%  0.0%    skip:63.7%
[libx264 @ 0x561c8ea9e480] coded y,uvDC,uvAC intra: 30.7% 54.0% 21.8% inter: 14.9% 11.9% 1.9%
[libx264 @ 0x561c8ea9e480] i16 v,h,dc,p: 33% 33% 16% 18%
[libx264 @ 0x561c8ea9e480] i8c dc,h,v,p: 35% 33% 20% 12%
[libx264 @ 0x561c8ea9e480] kb/s:6755.85
[aac @ 0x561c8eed59c0] Qavg: 33523.980

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

@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 `+discardcorrupt` flag, but this does not fix it. The log now looks like this ``` frame= 2889 fps= 39 q=22.0 size=N/A time=00:00:44.73 bitrate=N/A speed=0.604x frame= 2889 fps= 39 q=22.0 size=N/A time=00:00:44.73 bitrate=N/A speed= 0.6x frame= 2889 fps= 39 q=22.0 size=N/A time=00:00:44.73 bitrate=N/A speed=0.596x [mpegts @ 0x561c8cc13800] PES packet size mismatch [mpegts @ 0x561c8cc13800] Packet corrupt (stream = 1, dts = 6520092009), dropping it. [mpeg2video @ 0x561c8edc7a40] slice too small [vist#0:0/mpeg2video @ 0x561c8dee6ac0] [dec:mpeg2video @ 0x561c8cd835c0] Error submitting packet to decoder: Invalid data found when processing input [hls @ 0x561c8edc6fc0] Opening '/var/cache/jellyfin/transcodes/6ac185d824c6774fa01b64af06ba7e6215.ts' for writing [hls @ 0x561c8edc6fc0] Opening '/var/cache/jellyfin/transcodes/6ac185d824c6774fa01b64af06ba7e62.m3u8.tmp' for writing [hls @ 0x561c8edc6fc0] Opening '/var/cache/jellyfin/transcodes/6ac185d824c6774fa01b64af06ba7e6216.ts' for writing [hls @ 0x561c8edc6fc0] Opening '/var/cache/jellyfin/transcodes/6ac185d824c6774fa01b64af06ba7e62.m3u8.tmp' for writing [out#0/hls @ 0x561c8edb8400] video:40079KiB audio:1483KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown frame= 2913 fps= 39 q=-1.0 Lsize=N/A time=00:00:44.82 bitrate=N/A dup=2 drop=0 speed=0.595x [libx264 @ 0x561c8ea9e480] frame I:17 Avg QP:20.76 size:121845 [libx264 @ 0x561c8ea9e480] frame P:2896 Avg QP:23.80 size: 13456 [libx264 @ 0x561c8ea9e480] mb I I16..4: 100.0% 0.0% 0.0% [libx264 @ 0x561c8ea9e480] mb P I16..4: 3.7% 0.0% 0.0% P16..4: 32.6% 0.0% 0.0% 0.0% 0.0% skip:63.7% [libx264 @ 0x561c8ea9e480] coded y,uvDC,uvAC intra: 30.7% 54.0% 21.8% inter: 14.9% 11.9% 1.9% [libx264 @ 0x561c8ea9e480] i16 v,h,dc,p: 33% 33% 16% 18% [libx264 @ 0x561c8ea9e480] i8c dc,h,v,p: 35% 33% 20% 12% [libx264 @ 0x561c8ea9e480] kb/s:6755.85 [aac @ 0x561c8eed59c0] Qavg: 33523.980 ``` 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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#5631