[Issue]: Jellyfin can't connect to TVHeadend to play channel, but can refresh guide #4138

Closed
opened 2026-02-07 00:28:18 +03:00 by OVERLORD · 31 comments
Owner

Originally created by @DX37 on GitHub (Aug 23, 2022).

Please describe your bug

The bug is in the topic. Previously I could play channels on 10.7.4 version on my Raspberry Pi 4, but stopped all TVHeadend plugins and services and wasn't using them even when 10.8 come out.
Then I got upgraded from raspi4 to x86 host server, and decided to try TVHeadend again - it's not working. I even copied backup configuration with applied tvheadend ids - it doesn't help.

TVHeadend work by itself very good - I can watch channels with internal WebTV or even mpv through playlists. I can even take ffmpeg command from ffmpeg log below and it can access TVHeadend server and tries to play channel (obviously it can play it in console).

Steps to reproduce:

  1. Install tvheadend-git from AUR and configure with wizard, set channels up and configure specific jellyfin user
  2. Install and configure TVHeadend plugin
  3. Refresh guide
  4. Play any channel

Expected behaviour:

  • Channel is playing

What I've got:

  • Jellyfin saying that (any) client isn't compatible with media, and server not sending media in compatible format

Jellyfin Version

10.8.0

if other:

No response

Environment

- OS: updated Arch Linux
- Virtualization: none
- Clients: all
- Browser: all
- FFmpeg Version: 5.1-jellyfin
- Playback Method: ?
- Hardware Acceleration: VAAPI
- Plugins: Email Notifications, Open Subtitles, Playback Reporting, Reports, TVHeadend, TMDb, Studio Images, OMDb, MusicBrainz, AudioDB
- Reverse Proxy: nginx
- Base URL: /
- Networking: Host
- Storage: local

Jellyfin logs

[2022-08-23 23:23:10.478 +07:00] [INF] [53] TVHeadEnd.AccessTicketHandler: [TVHclient] AccessTicketHandler.GetAccessTicket: New ticket (#"1") created for "channelId"="1883013583"
[2022-08-23 23:23:10.533 +07:00] [INF] [53] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "dx37". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2022-08-23 23:23:10.590 +07:00] [INF] [53] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="http://127.0.0.1:9981/stream/channelid/1883013583?ticket=e9697404798c48f17b5d6cce20e28a770f4935fb", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported ) "media:/videos/5080433e-5236-ca77-de88-5352b43b0053/master.m3u8?MediaSourceId=1883013583&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=92693333&AudioBitrate=640000&api_key=<token>&TranscodingMaxAudioChannels=8&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported"
[2022-08-23 23:23:11.091 +07:00] [INF] [38] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2022-08-23 23:23:12.628 +07:00] [INF] [38] Jellyfin.Api.Helpers.TranscodingJobHelper: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -init_hw_device vaapi=va:,driver=iHD -filter_hw_device va -autorotate 0 -i \"http://127.0.0.1:9981/stream/channelid/1883013583?ticket=e9697404798c48f17b5d6cce20e28a770f4935fb\" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 h264_vaapi -rc_mode VBR -b:v 92693333 -maxrate 92693333 -bufsize 185386666 -profile:v:0 high -force_key_frames:0 \"expr:gte(t,n_forced*3)\" -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,yadif=0:-1:0,format=nv12,hwupload_vaapi\" -flags -global_header -codec:a:0 aac -ac 8 -ab 384000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_base_url \"hls/430e89ae5ffdb17ff9f13b9a5db5b575/\" -hls_segment_filename \"/var/lib/jellyfin/transcodes/430e89ae5ffdb17ff9f13b9a5db5b575%d.ts\" -hls_playlist_type event -hls_list_size 0 -y \"/var/lib/jellyfin/transcodes/430e89ae5ffdb17ff9f13b9a5db5b575.m3u8\""
[2022-08-23 23:23:12.974 +07:00] [ERR] [61] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1
[2022-08-23 23:23:13.068 +07:00] [ERR] [61] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL "GET" "/videos/5080433e-5236-ca77-de88-5352b43b0053/live.m3u8".
MediaBrowser.Common.FfmpegException: FFmpeg exited with code 1
   at Jellyfin.Api.Helpers.TranscodingJobHelper.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, HttpRequest request, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Helpers/TranscodingJobHelper.cs:line 645
   at Jellyfin.Api.Controllers.DynamicHlsController.GetLiveHlsStream(Guid itemId, String container, Nullable`1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable`1 segmentLength, Nullable`1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable`1 enableAutoStreamCopy, Nullable`1 allowVideoStreamCopy, Nullable`1 allowAudioStreamCopy, Nullable`1 breakOnNonKeyFrames, Nullable`1 audioSampleRate, Nullable`1 maxAudioBitDepth, Nullable`1 audioBitRate, Nullable`1 audioChannels, Nullable`1 maxAudioChannels, String profile, String level, Nullable`1 framerate, Nullable`1 maxFramerate, Nullable`1 copyTimestamps, Nullable`1 startTimeTicks, Nullable`1 width, Nullable`1 height, Nullable`1 videoBitRate, Nullable`1 subtitleStreamIndex, Nullable`1 subtitleMethod, Nullable`1 maxRefFrames, Nullable`1 maxVideoBitDepth, Nullable`1 requireAvc, Nullable`1 deInterlace, Nullable`1 requireNonAnamorphic, Nullable`1 transcodingMaxAudioChannels, Nullable`1 cpuCoreLimit, String liveStreamId, Nullable`1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable`1 audioStreamIndex, Nullable`1 videoStreamIndex, Nullable`1 context, Dictionary`2 streamOptions, Nullable`1 maxWidth, Nullable`1 maxHeight, Nullable`1 enableSubtitlesInManifest) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Controllers/DynamicHlsController.cs:line 319
   at lambda_method1144(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>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   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>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   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) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ServerStartupMessageMiddleware.cs:line 49
   at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/WebSocketHandlerMiddleware.cs:line 38
   at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/IpBasedAccessValidationMiddleware.cs:line 48
   at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/LanFilteringMiddleware.cs:line 43
   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) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/QueryStringDecodingMiddleware.cs:line 37
   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) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/RobotsRedirectionMiddleware.cs:line 45
   at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/LegacyEmbyRouteRewriteMiddleware.cs:line 52
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
   at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ResponseTimeMiddleware.cs:line 67
   at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ExceptionMiddleware.cs:line 101
[2022-08-23 23:23:13.075 +07:00] [WRN] [61] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.host/videos/5080433e-5236-ca77-de88-5352b43b0053/live.m3u8?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6OTIuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC85Mi4wfDE2MzExOTkxODgxNjU1&MediaSourceId=1883013583&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=92693333&AudioBitrate=640000&PlaySessionId=a11006ff04ea47dc9f20a2d2849004fb&api_key=d8aa139419354562aecf799b4e8f3ec2&TranscodingMaxAudioChannels=8&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported" to "HOST-IP" in 0:00:02.0003782 with Status Code 500
[2022-08-23 23:23:14.331 +07:00] [INF] [64] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "dx37". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2022-08-23 23:23:14.331 +07:00] [INF] [64] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="http://127.0.0.1:9981/stream/channelid/1883013583?ticket=e9697404798c48f17b5d6cce20e28a770f4935fb", AudioStreamIndex=-1, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported ) "media:/videos/5080433e-5236-ca77-de88-5352b43b0053/master.m3u8?MediaSourceId=1883013583&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=92693333&AudioBitrate=640000&api_key=<token>&TranscodingMaxAudioChannels=8&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported"
[2022-08-23 23:23:14.398 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Adding playback tracker : TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6OTIuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC85Mi4wfDE2MzExOTkxODgxNjU1-7fce1e212ebd49fda764ee9d5f106b5c-5080433e5236ca77de885352b43b0053
[2022-08-23 23:23:14.399 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Start Event : 08/23/2022 23:23:14
[2022-08-23 23:23:14.399 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Creating StartPlaybackTimer Task
[2022-08-23 23:23:14.401 +07:00] [INF] [34] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Entered
[2022-08-23 23:23:14.484 +07:00] [INF] [34] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "/var/lib/jellyfin/transcodes/430e89ae5ffdb17ff9f13b9a5db5b575.m3u8"
[2022-08-23 23:23:14.560 +07:00] [INF] [64] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2022-08-23 23:23:16.061 +07:00] [INF] [64] Jellyfin.Api.Helpers.TranscodingJobHelper: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -init_hw_device vaapi=va:,driver=iHD -filter_hw_device va -autorotate 0 -i \"http://127.0.0.1:9981/stream/channelid/1883013583?ticket=e9697404798c48f17b5d6cce20e28a770f4935fb\" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 h264_vaapi -rc_mode VBR -b:v 92693333 -maxrate 92693333 -bufsize 185386666 -profile:v:0 high -force_key_frames:0 \"expr:gte(t,n_forced*3)\" -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,yadif=0:-1:0,format=nv12,hwupload_vaapi\" -flags -global_header -codec:a:0 aac -ac 8 -ab 384000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_base_url \"hls/7a6e4ea5b827a23011148b324e66bb76/\" -hls_segment_filename \"/var/lib/jellyfin/transcodes/7a6e4ea5b827a23011148b324e66bb76%d.ts\" -hls_playlist_type event -hls_list_size 0 -y \"/var/lib/jellyfin/transcodes/7a6e4ea5b827a23011148b324e66bb76.m3u8\""
[2022-08-23 23:23:16.286 +07:00] [ERR] [63] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1
[2022-08-23 23:23:16.290 +07:00] [ERR] [63] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL "GET" "/videos/5080433e-5236-ca77-de88-5352b43b0053/live.m3u8".
MediaBrowser.Common.FfmpegException: FFmpeg exited with code 1
   at Jellyfin.Api.Helpers.TranscodingJobHelper.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, HttpRequest request, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Helpers/TranscodingJobHelper.cs:line 645
   at Jellyfin.Api.Controllers.DynamicHlsController.GetLiveHlsStream(Guid itemId, String container, Nullable`1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable`1 segmentLength, Nullable`1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable`1 enableAutoStreamCopy, Nullable`1 allowVideoStreamCopy, Nullable`1 allowAudioStreamCopy, Nullable`1 breakOnNonKeyFrames, Nullable`1 audioSampleRate, Nullable`1 maxAudioBitDepth, Nullable`1 audioBitRate, Nullable`1 audioChannels, Nullable`1 maxAudioChannels, String profile, String level, Nullable`1 framerate, Nullable`1 maxFramerate, Nullable`1 copyTimestamps, Nullable`1 startTimeTicks, Nullable`1 width, Nullable`1 height, Nullable`1 videoBitRate, Nullable`1 subtitleStreamIndex, Nullable`1 subtitleMethod, Nullable`1 maxRefFrames, Nullable`1 maxVideoBitDepth, Nullable`1 requireAvc, Nullable`1 deInterlace, Nullable`1 requireNonAnamorphic, Nullable`1 transcodingMaxAudioChannels, Nullable`1 cpuCoreLimit, String liveStreamId, Nullable`1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable`1 audioStreamIndex, Nullable`1 videoStreamIndex, Nullable`1 context, Dictionary`2 streamOptions, Nullable`1 maxWidth, Nullable`1 maxHeight, Nullable`1 enableSubtitlesInManifest) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Controllers/DynamicHlsController.cs:line 319
   at lambda_method1144(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>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   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>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   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) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ServerStartupMessageMiddleware.cs:line 49
   at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/WebSocketHandlerMiddleware.cs:line 38
   at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/IpBasedAccessValidationMiddleware.cs:line 48
   at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/LanFilteringMiddleware.cs:line 43
   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) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/QueryStringDecodingMiddleware.cs:line 37
   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) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/RobotsRedirectionMiddleware.cs:line 45
   at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/LegacyEmbyRouteRewriteMiddleware.cs:line 52
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
   at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ResponseTimeMiddleware.cs:line 67
   at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ExceptionMiddleware.cs:line 101
[2022-08-23 23:23:16.292 +07:00] [WRN] [63] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.host/videos/5080433e-5236-ca77-de88-5352b43b0053/live.m3u8?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6OTIuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC85Mi4wfDE2MzExOTkxODgxNjU1&MediaSourceId=1883013583&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=92693333&AudioBitrate=640000&PlaySessionId=0958a58ffce1420ebf89ec2995ed05ae&api_key=d8aa139419354562aecf799b4e8f3ec2&TranscodingMaxAudioChannels=8&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported&allowVideoStreamCopy=false" to "HOST-IP" in 0:00:01.733349 with Status Code 500
[2022-08-23 23:23:16.336 +07:00] [INF] [63] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "dx37". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2022-08-23 23:23:16.336 +07:00] [INF] [63] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="http://127.0.0.1:9981/stream/channelid/1883013583?ticket=e9697404798c48f17b5d6cce20e28a770f4935fb", AudioStreamIndex=-1, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported ) "media:/videos/5080433e-5236-ca77-de88-5352b43b0053/master.m3u8?MediaSourceId=1883013583&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=92693333&AudioBitrate=640000&api_key=<token>&TranscodingMaxAudioChannels=8&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported"
[2022-08-23 23:23:16.360 +07:00] [INF] [53] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "/var/lib/jellyfin/transcodes/7a6e4ea5b827a23011148b324e66bb76.m3u8"
[2022-08-23 23:23:16.416 +07:00] [INF] [64] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2022-08-23 23:23:17.920 +07:00] [INF] [34] Jellyfin.Api.Helpers.TranscodingJobHelper: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -init_hw_device vaapi=va:,driver=iHD -filter_hw_device va -autorotate 0 -i \"http://127.0.0.1:9981/stream/channelid/1883013583?ticket=e9697404798c48f17b5d6cce20e28a770f4935fb\" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 h264_vaapi -rc_mode VBR -b:v 92693333 -maxrate 92693333 -bufsize 185386666 -profile:v:0 high -force_key_frames:0 \"expr:gte(t,n_forced*3)\" -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,yadif=0:-1:0,format=nv12,hwupload_vaapi\" -flags -global_header -codec:a:0 aac -ac 8 -ab 384000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_base_url \"hls/d9bc888572e2471da7ec80ed45a50ccb/\" -hls_segment_filename \"/var/lib/jellyfin/transcodes/d9bc888572e2471da7ec80ed45a50ccb%d.ts\" -hls_playlist_type event -hls_list_size 0 -y \"/var/lib/jellyfin/transcodes/d9bc888572e2471da7ec80ed45a50ccb.m3u8\""
[2022-08-23 23:23:18.153 +07:00] [ERR] [64] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1
[2022-08-23 23:23:18.250 +07:00] [ERR] [64] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL "GET" "/videos/5080433e-5236-ca77-de88-5352b43b0053/live.m3u8".
MediaBrowser.Common.FfmpegException: FFmpeg exited with code 1
   at Jellyfin.Api.Helpers.TranscodingJobHelper.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, HttpRequest request, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Helpers/TranscodingJobHelper.cs:line 645
   at Jellyfin.Api.Controllers.DynamicHlsController.GetLiveHlsStream(Guid itemId, String container, Nullable`1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable`1 segmentLength, Nullable`1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable`1 enableAutoStreamCopy, Nullable`1 allowVideoStreamCopy, Nullable`1 allowAudioStreamCopy, Nullable`1 breakOnNonKeyFrames, Nullable`1 audioSampleRate, Nullable`1 maxAudioBitDepth, Nullable`1 audioBitRate, Nullable`1 audioChannels, Nullable`1 maxAudioChannels, String profile, String level, Nullable`1 framerate, Nullable`1 maxFramerate, Nullable`1 copyTimestamps, Nullable`1 startTimeTicks, Nullable`1 width, Nullable`1 height, Nullable`1 videoBitRate, Nullable`1 subtitleStreamIndex, Nullable`1 subtitleMethod, Nullable`1 maxRefFrames, Nullable`1 maxVideoBitDepth, Nullable`1 requireAvc, Nullable`1 deInterlace, Nullable`1 requireNonAnamorphic, Nullable`1 transcodingMaxAudioChannels, Nullable`1 cpuCoreLimit, String liveStreamId, Nullable`1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable`1 audioStreamIndex, Nullable`1 videoStreamIndex, Nullable`1 context, Dictionary`2 streamOptions, Nullable`1 maxWidth, Nullable`1 maxHeight, Nullable`1 enableSubtitlesInManifest) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Controllers/DynamicHlsController.cs:line 319
   at lambda_method1144(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>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   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>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   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) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ServerStartupMessageMiddleware.cs:line 49
   at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/WebSocketHandlerMiddleware.cs:line 38
   at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/IpBasedAccessValidationMiddleware.cs:line 48
   at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/LanFilteringMiddleware.cs:line 43
   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) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/QueryStringDecodingMiddleware.cs:line 37
   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) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/RobotsRedirectionMiddleware.cs:line 45
   at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/LegacyEmbyRouteRewriteMiddleware.cs:line 52
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
   at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ResponseTimeMiddleware.cs:line 67
   at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ExceptionMiddleware.cs:line 101
[2022-08-23 23:23:18.251 +07:00] [WRN] [64] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.host/videos/5080433e-5236-ca77-de88-5352b43b0053/live.m3u8?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6OTIuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC85Mi4wfDE2MzExOTkxODgxNjU1&MediaSourceId=1883013583&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=92693333&AudioBitrate=640000&PlaySessionId=293dcd2982074746b8ee019d2b1dca6a&api_key=d8aa139419354562aecf799b4e8f3ec2&TranscodingMaxAudioChannels=8&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported&allowVideoStreamCopy=false&allowAudioStreamCopy=false" to "HOST-IP" in 0:00:01.8361937 with Status Code 500
[2022-08-23 23:23:18.315 +07:00] [INF] [34] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "/var/lib/jellyfin/transcodes/d9bc888572e2471da7ec80ed45a50ccb.m3u8"
[2022-08-23 23:23:19.823 +07:00] [INF] [34] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Web" "10.8.4" playing "Первый канал". Stopped at "0" ms
[2022-08-23 23:23:19.831 +07:00] [WRN] [34] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.host/Sessions/Playing/Stopped" to "HOST-IP" in 0:00:01.5215141 with Status Code 204
[2022-08-23 23:23:19.831 +07:00] [INF] [65] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop tracker found, processing stop : "TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6OTIuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC85Mi4wfDE2MzExOTkxODgxNjU1-7fce1e212ebd49fda764ee9d5f106b5c-5080433e5236ca77de885352b43b0053"
[2022-08-23 23:23:19.831 +07:00] [INF] [65] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Stop Event : 08/23/2022 23:23:19
[2022-08-23 23:23:19.834 +07:00] [INF] [65] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop but TrackedPlaybackInfo not found! not storing activity in DB
[2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: session.RemoteEndPoint : "HOST-IP"
[2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_playing_id     = "5080433e5236ca77de885352b43b0053"
[2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_user_id        = "7fce1e212ebd49fda764ee9d5f106b5c"
[2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_user_id_int    = 1
[2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : session_playing_id   = ""
[2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : session_user_id      = "7fce1e212ebd49fda764ee9d5f106b5c"
[2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : play_method          = "na"
[2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : e.ClientName         = "Jellyfin Web"
[2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : e.DeviceName         = "Firefox"
[2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemName             = "Первый канал"
[2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemId               = "5080433e5236ca77de885352b43b0053"
[2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemType             = "TvChannel"
[2022-08-23 23:23:34.403 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Details do not match for play item
[2022-08-23 23:23:34.403 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Exited

FFmpeg logs

/videos/5080433e-5236-ca77-de88-5352b43b0053/live.m3u8

{"Protocol":1,"Id":"1883013583","Path":"http://127.0.0.1:9981/stream/channelid/1883013583?ticket=e9697404798c48f17b5d6cce20e28a770f4935fb","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":null,"Size":null,"Name":null,"IsRemote":false,"ETag":null,"RunTimeTicks":null,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":true,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":1500,"RequiresLooping":false,"SupportsProbing":true,"VideoType":null,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":null,"CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":null,"CodecTimeBase":null,"Title":null,"VideoRange":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"SDR","NalLengthSize":"0","IsInterlaced":true,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":1,"AspectRatio":null,"Index":-1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":null,"IsAnamorphic":null},{"Codec":null,"CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":null,"CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":-1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":null,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device vaapi=va:,driver=iHD -filter_hw_device va -autorotate 0 -i "http://127.0.0.1:9981/stream/channelid/1883013583?ticket=e9697404798c48f17b5d6cce20e28a770f4935fb" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 h264_vaapi -rc_mode VBR -b:v 92693333 -maxrate 92693333 -bufsize 185386666 -profile:v:0 high -force_key_frames:0 "expr:gte(t,n_forced*3)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,yadif=0:-1:0,format=nv12,hwupload_vaapi" -flags -global_header -codec:a:0 aac -ac 8 -ab 384000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_base_url "hls/d9bc888572e2471da7ec80ed45a50ccb/" -hls_segment_filename "/var/lib/jellyfin/transcodes/d9bc888572e2471da7ec80ed45a50ccb%d.ts" -hls_playlist_type event -hls_list_size 0 -y "/var/lib/jellyfin/transcodes/d9bc888572e2471da7ec80ed45a50ccb.m3u8"


ffmpeg version 5.1-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 12.2.0 (GCC)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --enable-gmp --enable-gnutls --enable-chromaprint --enable-libfontconfig --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[http @ 0x55c7e77a0100] HTTP error 500 Unable to connect
http://127.0.0.1:9981/stream/channelid/1883013583?ticket=e9697404798c48f17b5d6cce20e28a770f4935fb: Server returned 5XX Server Error reply

Please attach any browser or client logs here

Can't attach logs, GitHub gives error

Please attach any screenshots here

213

Nothing happens with TVHeadend...

изображение

Code of Conduct

  • I agree to follow this project's Code of Conduct
Originally created by @DX37 on GitHub (Aug 23, 2022). ### Please describe your bug The bug is in the topic. Previously I could play channels on 10.7.4 version on my Raspberry Pi 4, but stopped all TVHeadend plugins and services and wasn't using them even when 10.8 come out. Then I got upgraded from raspi4 to x86 host server, and decided to try TVHeadend again - it's not working. I even copied backup configuration with applied tvheadend ids - it doesn't help. TVHeadend work by itself very good - I can watch channels with internal WebTV or even mpv through playlists. I can even take ffmpeg command from ffmpeg log below and it *can* access TVHeadend server and tries to play channel (obviously it can play it in console). Steps to reproduce: 1. Install `tvheadend-git` from AUR and configure with wizard, set channels up and configure specific jellyfin user 2. Install and configure TVHeadend plugin 3. Refresh guide 4. Play any channel Expected behaviour: - Channel is playing What I've got: - Jellyfin saying that (any) client isn't compatible with media, and server not sending media in compatible format ### Jellyfin Version 10.8.0 ### if other: _No response_ ### Environment ```markdown - OS: updated Arch Linux - Virtualization: none - Clients: all - Browser: all - FFmpeg Version: 5.1-jellyfin - Playback Method: ? - Hardware Acceleration: VAAPI - Plugins: Email Notifications, Open Subtitles, Playback Reporting, Reports, TVHeadend, TMDb, Studio Images, OMDb, MusicBrainz, AudioDB - Reverse Proxy: nginx - Base URL: / - Networking: Host - Storage: local ``` ### Jellyfin logs ```shell [2022-08-23 23:23:10.478 +07:00] [INF] [53] TVHeadEnd.AccessTicketHandler: [TVHclient] AccessTicketHandler.GetAccessTicket: New ticket (#"1") created for "channelId"="1883013583" [2022-08-23 23:23:10.533 +07:00] [INF] [53] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "dx37". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2022-08-23 23:23:10.590 +07:00] [INF] [53] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="http://127.0.0.1:9981/stream/channelid/1883013583?ticket=e9697404798c48f17b5d6cce20e28a770f4935fb", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported ) "media:/videos/5080433e-5236-ca77-de88-5352b43b0053/master.m3u8?MediaSourceId=1883013583&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=92693333&AudioBitrate=640000&api_key=<token>&TranscodingMaxAudioChannels=8&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported" [2022-08-23 23:23:11.091 +07:00] [INF] [38] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request [2022-08-23 23:23:12.628 +07:00] [INF] [38] Jellyfin.Api.Helpers.TranscodingJobHelper: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -init_hw_device vaapi=va:,driver=iHD -filter_hw_device va -autorotate 0 -i \"http://127.0.0.1:9981/stream/channelid/1883013583?ticket=e9697404798c48f17b5d6cce20e28a770f4935fb\" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 h264_vaapi -rc_mode VBR -b:v 92693333 -maxrate 92693333 -bufsize 185386666 -profile:v:0 high -force_key_frames:0 \"expr:gte(t,n_forced*3)\" -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,yadif=0:-1:0,format=nv12,hwupload_vaapi\" -flags -global_header -codec:a:0 aac -ac 8 -ab 384000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_base_url \"hls/430e89ae5ffdb17ff9f13b9a5db5b575/\" -hls_segment_filename \"/var/lib/jellyfin/transcodes/430e89ae5ffdb17ff9f13b9a5db5b575%d.ts\" -hls_playlist_type event -hls_list_size 0 -y \"/var/lib/jellyfin/transcodes/430e89ae5ffdb17ff9f13b9a5db5b575.m3u8\"" [2022-08-23 23:23:12.974 +07:00] [ERR] [61] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1 [2022-08-23 23:23:13.068 +07:00] [ERR] [61] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL "GET" "/videos/5080433e-5236-ca77-de88-5352b43b0053/live.m3u8". MediaBrowser.Common.FfmpegException: FFmpeg exited with code 1 at Jellyfin.Api.Helpers.TranscodingJobHelper.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, HttpRequest request, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Helpers/TranscodingJobHelper.cs:line 645 at Jellyfin.Api.Controllers.DynamicHlsController.GetLiveHlsStream(Guid itemId, String container, Nullable`1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable`1 segmentLength, Nullable`1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable`1 enableAutoStreamCopy, Nullable`1 allowVideoStreamCopy, Nullable`1 allowAudioStreamCopy, Nullable`1 breakOnNonKeyFrames, Nullable`1 audioSampleRate, Nullable`1 maxAudioBitDepth, Nullable`1 audioBitRate, Nullable`1 audioChannels, Nullable`1 maxAudioChannels, String profile, String level, Nullable`1 framerate, Nullable`1 maxFramerate, Nullable`1 copyTimestamps, Nullable`1 startTimeTicks, Nullable`1 width, Nullable`1 height, Nullable`1 videoBitRate, Nullable`1 subtitleStreamIndex, Nullable`1 subtitleMethod, Nullable`1 maxRefFrames, Nullable`1 maxVideoBitDepth, Nullable`1 requireAvc, Nullable`1 deInterlace, Nullable`1 requireNonAnamorphic, Nullable`1 transcodingMaxAudioChannels, Nullable`1 cpuCoreLimit, String liveStreamId, Nullable`1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable`1 audioStreamIndex, Nullable`1 videoStreamIndex, Nullable`1 context, Dictionary`2 streamOptions, Nullable`1 maxWidth, Nullable`1 maxHeight, Nullable`1 enableSubtitlesInManifest) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Controllers/DynamicHlsController.cs:line 319 at lambda_method1144(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>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 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>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 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) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ServerStartupMessageMiddleware.cs:line 49 at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/WebSocketHandlerMiddleware.cs:line 38 at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/IpBasedAccessValidationMiddleware.cs:line 48 at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/LanFilteringMiddleware.cs:line 43 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) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/QueryStringDecodingMiddleware.cs:line 37 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) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/RobotsRedirectionMiddleware.cs:line 45 at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/LegacyEmbyRouteRewriteMiddleware.cs:line 52 at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ResponseTimeMiddleware.cs:line 67 at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ExceptionMiddleware.cs:line 101 [2022-08-23 23:23:13.075 +07:00] [WRN] [61] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.host/videos/5080433e-5236-ca77-de88-5352b43b0053/live.m3u8?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6OTIuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC85Mi4wfDE2MzExOTkxODgxNjU1&MediaSourceId=1883013583&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=92693333&AudioBitrate=640000&PlaySessionId=a11006ff04ea47dc9f20a2d2849004fb&api_key=d8aa139419354562aecf799b4e8f3ec2&TranscodingMaxAudioChannels=8&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported" to "HOST-IP" in 0:00:02.0003782 with Status Code 500 [2022-08-23 23:23:14.331 +07:00] [INF] [64] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "dx37". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2022-08-23 23:23:14.331 +07:00] [INF] [64] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="http://127.0.0.1:9981/stream/channelid/1883013583?ticket=e9697404798c48f17b5d6cce20e28a770f4935fb", AudioStreamIndex=-1, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported ) "media:/videos/5080433e-5236-ca77-de88-5352b43b0053/master.m3u8?MediaSourceId=1883013583&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=92693333&AudioBitrate=640000&api_key=<token>&TranscodingMaxAudioChannels=8&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported" [2022-08-23 23:23:14.398 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Adding playback tracker : TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6OTIuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC85Mi4wfDE2MzExOTkxODgxNjU1-7fce1e212ebd49fda764ee9d5f106b5c-5080433e5236ca77de885352b43b0053 [2022-08-23 23:23:14.399 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Start Event : 08/23/2022 23:23:14 [2022-08-23 23:23:14.399 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Creating StartPlaybackTimer Task [2022-08-23 23:23:14.401 +07:00] [INF] [34] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Entered [2022-08-23 23:23:14.484 +07:00] [INF] [34] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "/var/lib/jellyfin/transcodes/430e89ae5ffdb17ff9f13b9a5db5b575.m3u8" [2022-08-23 23:23:14.560 +07:00] [INF] [64] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request [2022-08-23 23:23:16.061 +07:00] [INF] [64] Jellyfin.Api.Helpers.TranscodingJobHelper: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -init_hw_device vaapi=va:,driver=iHD -filter_hw_device va -autorotate 0 -i \"http://127.0.0.1:9981/stream/channelid/1883013583?ticket=e9697404798c48f17b5d6cce20e28a770f4935fb\" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 h264_vaapi -rc_mode VBR -b:v 92693333 -maxrate 92693333 -bufsize 185386666 -profile:v:0 high -force_key_frames:0 \"expr:gte(t,n_forced*3)\" -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,yadif=0:-1:0,format=nv12,hwupload_vaapi\" -flags -global_header -codec:a:0 aac -ac 8 -ab 384000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_base_url \"hls/7a6e4ea5b827a23011148b324e66bb76/\" -hls_segment_filename \"/var/lib/jellyfin/transcodes/7a6e4ea5b827a23011148b324e66bb76%d.ts\" -hls_playlist_type event -hls_list_size 0 -y \"/var/lib/jellyfin/transcodes/7a6e4ea5b827a23011148b324e66bb76.m3u8\"" [2022-08-23 23:23:16.286 +07:00] [ERR] [63] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1 [2022-08-23 23:23:16.290 +07:00] [ERR] [63] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL "GET" "/videos/5080433e-5236-ca77-de88-5352b43b0053/live.m3u8". MediaBrowser.Common.FfmpegException: FFmpeg exited with code 1 at Jellyfin.Api.Helpers.TranscodingJobHelper.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, HttpRequest request, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Helpers/TranscodingJobHelper.cs:line 645 at Jellyfin.Api.Controllers.DynamicHlsController.GetLiveHlsStream(Guid itemId, String container, Nullable`1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable`1 segmentLength, Nullable`1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable`1 enableAutoStreamCopy, Nullable`1 allowVideoStreamCopy, Nullable`1 allowAudioStreamCopy, Nullable`1 breakOnNonKeyFrames, Nullable`1 audioSampleRate, Nullable`1 maxAudioBitDepth, Nullable`1 audioBitRate, Nullable`1 audioChannels, Nullable`1 maxAudioChannels, String profile, String level, Nullable`1 framerate, Nullable`1 maxFramerate, Nullable`1 copyTimestamps, Nullable`1 startTimeTicks, Nullable`1 width, Nullable`1 height, Nullable`1 videoBitRate, Nullable`1 subtitleStreamIndex, Nullable`1 subtitleMethod, Nullable`1 maxRefFrames, Nullable`1 maxVideoBitDepth, Nullable`1 requireAvc, Nullable`1 deInterlace, Nullable`1 requireNonAnamorphic, Nullable`1 transcodingMaxAudioChannels, Nullable`1 cpuCoreLimit, String liveStreamId, Nullable`1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable`1 audioStreamIndex, Nullable`1 videoStreamIndex, Nullable`1 context, Dictionary`2 streamOptions, Nullable`1 maxWidth, Nullable`1 maxHeight, Nullable`1 enableSubtitlesInManifest) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Controllers/DynamicHlsController.cs:line 319 at lambda_method1144(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>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 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>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 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) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ServerStartupMessageMiddleware.cs:line 49 at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/WebSocketHandlerMiddleware.cs:line 38 at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/IpBasedAccessValidationMiddleware.cs:line 48 at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/LanFilteringMiddleware.cs:line 43 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) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/QueryStringDecodingMiddleware.cs:line 37 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) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/RobotsRedirectionMiddleware.cs:line 45 at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/LegacyEmbyRouteRewriteMiddleware.cs:line 52 at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ResponseTimeMiddleware.cs:line 67 at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ExceptionMiddleware.cs:line 101 [2022-08-23 23:23:16.292 +07:00] [WRN] [63] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.host/videos/5080433e-5236-ca77-de88-5352b43b0053/live.m3u8?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6OTIuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC85Mi4wfDE2MzExOTkxODgxNjU1&MediaSourceId=1883013583&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=92693333&AudioBitrate=640000&PlaySessionId=0958a58ffce1420ebf89ec2995ed05ae&api_key=d8aa139419354562aecf799b4e8f3ec2&TranscodingMaxAudioChannels=8&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported&allowVideoStreamCopy=false" to "HOST-IP" in 0:00:01.733349 with Status Code 500 [2022-08-23 23:23:16.336 +07:00] [INF] [63] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "dx37". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2022-08-23 23:23:16.336 +07:00] [INF] [63] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="http://127.0.0.1:9981/stream/channelid/1883013583?ticket=e9697404798c48f17b5d6cce20e28a770f4935fb", AudioStreamIndex=-1, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported ) "media:/videos/5080433e-5236-ca77-de88-5352b43b0053/master.m3u8?MediaSourceId=1883013583&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=92693333&AudioBitrate=640000&api_key=<token>&TranscodingMaxAudioChannels=8&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported" [2022-08-23 23:23:16.360 +07:00] [INF] [53] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "/var/lib/jellyfin/transcodes/7a6e4ea5b827a23011148b324e66bb76.m3u8" [2022-08-23 23:23:16.416 +07:00] [INF] [64] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request [2022-08-23 23:23:17.920 +07:00] [INF] [34] Jellyfin.Api.Helpers.TranscodingJobHelper: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -init_hw_device vaapi=va:,driver=iHD -filter_hw_device va -autorotate 0 -i \"http://127.0.0.1:9981/stream/channelid/1883013583?ticket=e9697404798c48f17b5d6cce20e28a770f4935fb\" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 h264_vaapi -rc_mode VBR -b:v 92693333 -maxrate 92693333 -bufsize 185386666 -profile:v:0 high -force_key_frames:0 \"expr:gte(t,n_forced*3)\" -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,yadif=0:-1:0,format=nv12,hwupload_vaapi\" -flags -global_header -codec:a:0 aac -ac 8 -ab 384000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_base_url \"hls/d9bc888572e2471da7ec80ed45a50ccb/\" -hls_segment_filename \"/var/lib/jellyfin/transcodes/d9bc888572e2471da7ec80ed45a50ccb%d.ts\" -hls_playlist_type event -hls_list_size 0 -y \"/var/lib/jellyfin/transcodes/d9bc888572e2471da7ec80ed45a50ccb.m3u8\"" [2022-08-23 23:23:18.153 +07:00] [ERR] [64] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1 [2022-08-23 23:23:18.250 +07:00] [ERR] [64] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL "GET" "/videos/5080433e-5236-ca77-de88-5352b43b0053/live.m3u8". MediaBrowser.Common.FfmpegException: FFmpeg exited with code 1 at Jellyfin.Api.Helpers.TranscodingJobHelper.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, HttpRequest request, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Helpers/TranscodingJobHelper.cs:line 645 at Jellyfin.Api.Controllers.DynamicHlsController.GetLiveHlsStream(Guid itemId, String container, Nullable`1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable`1 segmentLength, Nullable`1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable`1 enableAutoStreamCopy, Nullable`1 allowVideoStreamCopy, Nullable`1 allowAudioStreamCopy, Nullable`1 breakOnNonKeyFrames, Nullable`1 audioSampleRate, Nullable`1 maxAudioBitDepth, Nullable`1 audioBitRate, Nullable`1 audioChannels, Nullable`1 maxAudioChannels, String profile, String level, Nullable`1 framerate, Nullable`1 maxFramerate, Nullable`1 copyTimestamps, Nullable`1 startTimeTicks, Nullable`1 width, Nullable`1 height, Nullable`1 videoBitRate, Nullable`1 subtitleStreamIndex, Nullable`1 subtitleMethod, Nullable`1 maxRefFrames, Nullable`1 maxVideoBitDepth, Nullable`1 requireAvc, Nullable`1 deInterlace, Nullable`1 requireNonAnamorphic, Nullable`1 transcodingMaxAudioChannels, Nullable`1 cpuCoreLimit, String liveStreamId, Nullable`1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable`1 audioStreamIndex, Nullable`1 videoStreamIndex, Nullable`1 context, Dictionary`2 streamOptions, Nullable`1 maxWidth, Nullable`1 maxHeight, Nullable`1 enableSubtitlesInManifest) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Api/Controllers/DynamicHlsController.cs:line 319 at lambda_method1144(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>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 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>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 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) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ServerStartupMessageMiddleware.cs:line 49 at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/WebSocketHandlerMiddleware.cs:line 38 at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/IpBasedAccessValidationMiddleware.cs:line 48 at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/LanFilteringMiddleware.cs:line 43 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) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/QueryStringDecodingMiddleware.cs:line 37 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) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/RobotsRedirectionMiddleware.cs:line 45 at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/LegacyEmbyRouteRewriteMiddleware.cs:line 52 at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ResponseTimeMiddleware.cs:line 67 at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context) in /home/dx37/.cache/yay/jellyfin/src/jellyfin-10.8.4/Jellyfin.Server/Middleware/ExceptionMiddleware.cs:line 101 [2022-08-23 23:23:18.251 +07:00] [WRN] [64] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.host/videos/5080433e-5236-ca77-de88-5352b43b0053/live.m3u8?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6OTIuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC85Mi4wfDE2MzExOTkxODgxNjU1&MediaSourceId=1883013583&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=92693333&AudioBitrate=640000&PlaySessionId=293dcd2982074746b8ee019d2b1dca6a&api_key=d8aa139419354562aecf799b4e8f3ec2&TranscodingMaxAudioChannels=8&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported&allowVideoStreamCopy=false&allowAudioStreamCopy=false" to "HOST-IP" in 0:00:01.8361937 with Status Code 500 [2022-08-23 23:23:18.315 +07:00] [INF] [34] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "/var/lib/jellyfin/transcodes/d9bc888572e2471da7ec80ed45a50ccb.m3u8" [2022-08-23 23:23:19.823 +07:00] [INF] [34] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Web" "10.8.4" playing "Первый канал". Stopped at "0" ms [2022-08-23 23:23:19.831 +07:00] [WRN] [34] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://jellyfin.host/Sessions/Playing/Stopped" to "HOST-IP" in 0:00:01.5215141 with Status Code 204 [2022-08-23 23:23:19.831 +07:00] [INF] [65] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop tracker found, processing stop : "TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6OTIuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC85Mi4wfDE2MzExOTkxODgxNjU1-7fce1e212ebd49fda764ee9d5f106b5c-5080433e5236ca77de885352b43b0053" [2022-08-23 23:23:19.831 +07:00] [INF] [65] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Stop Event : 08/23/2022 23:23:19 [2022-08-23 23:23:19.834 +07:00] [INF] [65] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop but TrackedPlaybackInfo not found! not storing activity in DB [2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: session.RemoteEndPoint : "HOST-IP" [2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_playing_id = "5080433e5236ca77de885352b43b0053" [2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_user_id = "7fce1e212ebd49fda764ee9d5f106b5c" [2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_user_id_int = 1 [2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : session_playing_id = "" [2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : session_user_id = "7fce1e212ebd49fda764ee9d5f106b5c" [2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : play_method = "na" [2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : e.ClientName = "Jellyfin Web" [2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : e.DeviceName = "Firefox" [2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemName = "Первый канал" [2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemId = "5080433e5236ca77de885352b43b0053" [2022-08-23 23:23:34.402 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemType = "TvChannel" [2022-08-23 23:23:34.403 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Details do not match for play item [2022-08-23 23:23:34.403 +07:00] [INF] [64] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Exited ``` ### FFmpeg logs ```shell /videos/5080433e-5236-ca77-de88-5352b43b0053/live.m3u8 {"Protocol":1,"Id":"1883013583","Path":"http://127.0.0.1:9981/stream/channelid/1883013583?ticket=e9697404798c48f17b5d6cce20e28a770f4935fb","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":null,"Size":null,"Name":null,"IsRemote":false,"ETag":null,"RunTimeTicks":null,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":true,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":1500,"RequiresLooping":false,"SupportsProbing":true,"VideoType":null,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":null,"CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":null,"CodecTimeBase":null,"Title":null,"VideoRange":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"SDR","NalLengthSize":"0","IsInterlaced":true,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":1,"AspectRatio":null,"Index":-1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":null,"IsAnamorphic":null},{"Codec":null,"CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":null,"CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":-1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":null,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null} /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device vaapi=va:,driver=iHD -filter_hw_device va -autorotate 0 -i "http://127.0.0.1:9981/stream/channelid/1883013583?ticket=e9697404798c48f17b5d6cce20e28a770f4935fb" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 h264_vaapi -rc_mode VBR -b:v 92693333 -maxrate 92693333 -bufsize 185386666 -profile:v:0 high -force_key_frames:0 "expr:gte(t,n_forced*3)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,yadif=0:-1:0,format=nv12,hwupload_vaapi" -flags -global_header -codec:a:0 aac -ac 8 -ab 384000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_base_url "hls/d9bc888572e2471da7ec80ed45a50ccb/" -hls_segment_filename "/var/lib/jellyfin/transcodes/d9bc888572e2471da7ec80ed45a50ccb%d.ts" -hls_playlist_type event -hls_list_size 0 -y "/var/lib/jellyfin/transcodes/d9bc888572e2471da7ec80ed45a50ccb.m3u8" ffmpeg version 5.1-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers built with gcc 12.2.0 (GCC) configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --enable-gmp --enable-gnutls --enable-chromaprint --enable-libfontconfig --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc libavutil 57. 28.100 / 57. 28.100 libavcodec 59. 37.100 / 59. 37.100 libavformat 59. 27.100 / 59. 27.100 libavdevice 59. 7.100 / 59. 7.100 libavfilter 8. 44.100 / 8. 44.100 libswscale 6. 7.100 / 6. 7.100 libswresample 4. 7.100 / 4. 7.100 libpostproc 56. 6.100 / 56. 6.100 [http @ 0x55c7e77a0100] HTTP error 500 Unable to connect http://127.0.0.1:9981/stream/channelid/1883013583?ticket=e9697404798c48f17b5d6cce20e28a770f4935fb: Server returned 5XX Server Error reply ``` ### Please attach any browser or client logs here Can't attach logs, GitHub gives error ### Please attach any screenshots here ![213](https://user-images.githubusercontent.com/12829428/186330347-45d6710a-600a-4f39-ac3c-8517ba743cc1.png) Nothing happens with TVHeadend... ![изображение](https://user-images.githubusercontent.com/12829428/186211828-a38bf9c6-3b74-4fba-af38-61651e2fdec2.png) ### Code of Conduct - [X] I agree to follow this project's Code of Conduct
OVERLORD added the bugstalelive-tv labels 2026-02-07 00:28:18 +03:00
Author
Owner

@DX37 commented on GitHub (Aug 24, 2022):

ffmpeg_log.txt
jellyfin_log.txt

@DX37 commented on GitHub (Aug 24, 2022): [ffmpeg_log.txt](https://github.com/jellyfin/jellyfin/files/9412892/ffmpeg_log.txt) [jellyfin_log.txt](https://github.com/jellyfin/jellyfin/files/9412893/jellyfin_log.txt)
Author
Owner

@DX37 commented on GitHub (Nov 27, 2022):

Still not fixed... And I tried using Tvheadend in Docker - not working too.

@DX37 commented on GitHub (Nov 27, 2022): Still not fixed... And I tried using Tvheadend in Docker - not working too.
Author
Owner

@pkkrusty commented on GitHub (Dec 25, 2022):

I'm getting the same problem. TVHeadEnd works fine on the back end, and program info loads correctly in Jellyfin, but I get the same error trying to stream anything. Did you make any progress?

ffmpeg version 5.1.2-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.3.0-1ubuntu1~22.04)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[AVHWDeviceContext @ 0x55a3e38760c0] No VA display found for any default device.
Device creation failed: -22.
Failed to set value 'vaapi=va:,driver=iHD,kernel_driver=i915' for option 'init_hw_device': Invalid argument
Error parsing global options: Invalid argument

My ffmpeg log shows some stuff, but I'm too new to jelly fin and tvheadend to know what I'm looking at.

@pkkrusty commented on GitHub (Dec 25, 2022): I'm getting the same problem. TVHeadEnd works fine on the back end, and program info loads correctly in Jellyfin, but I get the same error trying to stream anything. Did you make any progress? ``` ffmpeg version 5.1.2-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers built with gcc 11 (Ubuntu 11.3.0-1ubuntu1~22.04) configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc libavutil 57. 28.100 / 57. 28.100 libavcodec 59. 37.100 / 59. 37.100 libavformat 59. 27.100 / 59. 27.100 libavdevice 59. 7.100 / 59. 7.100 libavfilter 8. 44.100 / 8. 44.100 libswscale 6. 7.100 / 6. 7.100 libswresample 4. 7.100 / 4. 7.100 libpostproc 56. 6.100 / 56. 6.100 [AVHWDeviceContext @ 0x55a3e38760c0] No VA display found for any default device. Device creation failed: -22. Failed to set value 'vaapi=va:,driver=iHD,kernel_driver=i915' for option 'init_hw_device': Invalid argument Error parsing global options: Invalid argument ``` My ffmpeg log shows some stuff, but I'm too new to jelly fin and tvheadend to know what I'm looking at.
Author
Owner

@pkkrusty commented on GitHub (Dec 25, 2022):

Looks like I needed to follow the instructions for enabling/installing the drivers for hardware acceleration on the jellyfin website.

ffmpeg version 4.4.1-Jellyfin Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.2.0-18ubuntu1)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --enable-gmp --enable-gnutls --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --arch=amd64 --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-vdpau --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
[mpeg2video @ 0x55643f908c00] Invalid frame dimensions 0x0.
    Last message repeated 40 times
Input #0, mpegts, from 'http://192.168.0.81:9981/stream/channelid/1900116787?ticket=4c0a22dabfaca1d0ded25b3da4d2081db8760354':
  Duration: N/A, start: 80346.091378, bitrate: N/A
  Program 1 
  Stream #0:0[0x31]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, progressive), 1280x720 [SAR 1:1 DAR 16:9], Closed Captions, 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
    Side data:
      cpb: bitrate max/min/avg: 13370000/0/0 buffer size: 9764864 vbv_delay: N/A
  Stream #0:1[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s
  Stream #0:2[0x35](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, mono, fltp, 192 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (h264_vaapi))
  Stream #0:1 -> #0:1 (ac3 (native) -> aac (native))
Press [q] to stop, [?] for help
Error while decoding stream #0:1: Invalid data found when processing input
[aac @ 0x55643f9718c0] Queue input is backward in time
[h264_vaapi @ 0x55643f972340] No usable encoding entrypoint found for profile VAProfileH264High (7).
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[aac @ 0x55643f9718c0] Qavg: 169.729
[aac @ 0x55643f9718c0] 2 frames left in the queue on closing
Conversion failed!

Maybe the dimensions aren't getting passed correctly. However, I have progressed past the "compatible media format" error.

@pkkrusty commented on GitHub (Dec 25, 2022): Looks like I needed to follow the instructions for enabling/installing the drivers for hardware acceleration on the jellyfin website. ``` ffmpeg version 4.4.1-Jellyfin Copyright (c) 2000-2021 the FFmpeg developers built with gcc 11 (Ubuntu 11.2.0-18ubuntu1) configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --enable-gmp --enable-gnutls --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --arch=amd64 --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-vdpau --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 [mpeg2video @ 0x55643f908c00] Invalid frame dimensions 0x0. Last message repeated 40 times Input #0, mpegts, from 'http://192.168.0.81:9981/stream/channelid/1900116787?ticket=4c0a22dabfaca1d0ded25b3da4d2081db8760354': Duration: N/A, start: 80346.091378, bitrate: N/A Program 1 Stream #0:0[0x31]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, progressive), 1280x720 [SAR 1:1 DAR 16:9], Closed Captions, 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc Side data: cpb: bitrate max/min/avg: 13370000/0/0 buffer size: 9764864 vbv_delay: N/A Stream #0:1[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s Stream #0:2[0x35](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, mono, fltp, 192 kb/s Stream mapping: Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (h264_vaapi)) Stream #0:1 -> #0:1 (ac3 (native) -> aac (native)) Press [q] to stop, [?] for help Error while decoding stream #0:1: Invalid data found when processing input [aac @ 0x55643f9718c0] Queue input is backward in time [h264_vaapi @ 0x55643f972340] No usable encoding entrypoint found for profile VAProfileH264High (7). Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height [aac @ 0x55643f9718c0] Qavg: 169.729 [aac @ 0x55643f9718c0] 2 frames left in the queue on closing Conversion failed! ``` Maybe the dimensions aren't getting passed correctly. However, I have progressed past the "compatible media format" error.
Author
Owner

@pkkrusty commented on GitHub (Dec 25, 2022):

More progress. Disabled the low-power encoding options and got streaming to happen on Jellyfin. Stream cuts off after 30 seconds or so, but it worked for a bit.

@pkkrusty commented on GitHub (Dec 25, 2022): More progress. Disabled the low-power encoding options and got streaming to happen on Jellyfin. Stream cuts off after 30 seconds or so, but it worked for a bit.
Author
Owner

@jellyfin-bot commented on GitHub (Apr 25, 2023):

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

@jellyfin-bot commented on GitHub (Apr 25, 2023): This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label. This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on [Matrix or Social Media](https://docs.jellyfin.org/general/getting-help.html).
Author
Owner

@DX37 commented on GitHub (Apr 27, 2023):

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

Still confirmed on 10.8.10

@DX37 commented on GitHub (Apr 27, 2023): > This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. > > If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label. > > This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on [Matrix or Social Media](https://docs.jellyfin.org/general/getting-help.html). Still confirmed on 10.8.10
Author
Owner

@DX37 commented on GitHub (Apr 27, 2023):

Fresh logs:
jellyfin.log
ffmpeg.log

@DX37 commented on GitHub (Apr 27, 2023): Fresh logs: [jellyfin.log](https://github.com/jellyfin/jellyfin/files/11345295/jellyfin.log) [ffmpeg.log](https://github.com/jellyfin/jellyfin/files/11345296/ffmpeg.log)
Author
Owner

@DX37 commented on GitHub (Apr 29, 2023):

TVHeadend on it's side says nothing, even when loglevel is set to debug

2023-04-29 23:28:58.313 epggrab: EIT: EPG Grabber - data completion timeout for 467MHz in DVB-C
2023-04-29 23:28:58.313 subscription: 0003: "epggrab" unsubscribing
2023-04-29 23:28:59.313 mpegts: 395MHz in DVB-C - tuning on Sony CXD2837ER DVB-T/T2/C demodulator #0 : DVB-C #1
2023-04-29 23:28:59.313 subscription: 0005: "epggrab" subscribing to mux "395MHz", weight: 4, adapter: "Sony CXD2837ER DVB-T/T2/C demodulator #0 : DVB-C #1", network: "DVB-C", service: "Raw PID Subscription"
2023-04-29 23:30:11.504 tbl-eit: eit: 395MHz in DVB-C: invalid checksum (len 3267, errors 1)
Loglevel debug: enabled
Loglevel debug: disabled
Loglevel debug: enabled
2023-04-29 23:31:49.928 htsp: Got connection from 127.0.0.1
2023-04-29 23:31:49.933 htsp: 127.0.0.1: Identified as user 'jellybaby' (unverified)
2023-04-29 23:31:49.933 htsp: 127.0.0.1 [ jellybaby ]: Welcomed client software: TVHclient4Emby-10.8.10.0 (HTSPv20)
2023-04-29 23:31:49.937 htsp: 127.0.0.1 [ jellybaby | TVHclient4Emby-10.8.10.0 ]: Identified as user 'jellybaby'
2023-04-29 23:31:49.937 htsp: 127.0.0.1 [ jellybaby | TVHclient4Emby-10.8.10.0 ]: Privileges updated
2023-04-29 23:33:06.542 tbl-eit: eit: 395MHz in DVB-C: invalid checksum (len 323, errors 2)

Works in mpv, with the same unexpired ticket:

изображение
and even internal (in SSH session, but obviously fails to find display)

изображение

and external (mpv to domain URL) link:
изображение

@DX37 commented on GitHub (Apr 29, 2023): TVHeadend on it's side says nothing, even when loglevel is set to debug ``` 2023-04-29 23:28:58.313 epggrab: EIT: EPG Grabber - data completion timeout for 467MHz in DVB-C 2023-04-29 23:28:58.313 subscription: 0003: "epggrab" unsubscribing 2023-04-29 23:28:59.313 mpegts: 395MHz in DVB-C - tuning on Sony CXD2837ER DVB-T/T2/C demodulator #0 : DVB-C #1 2023-04-29 23:28:59.313 subscription: 0005: "epggrab" subscribing to mux "395MHz", weight: 4, adapter: "Sony CXD2837ER DVB-T/T2/C demodulator #0 : DVB-C #1", network: "DVB-C", service: "Raw PID Subscription" 2023-04-29 23:30:11.504 tbl-eit: eit: 395MHz in DVB-C: invalid checksum (len 3267, errors 1) Loglevel debug: enabled Loglevel debug: disabled Loglevel debug: enabled 2023-04-29 23:31:49.928 htsp: Got connection from 127.0.0.1 2023-04-29 23:31:49.933 htsp: 127.0.0.1: Identified as user 'jellybaby' (unverified) 2023-04-29 23:31:49.933 htsp: 127.0.0.1 [ jellybaby ]: Welcomed client software: TVHclient4Emby-10.8.10.0 (HTSPv20) 2023-04-29 23:31:49.937 htsp: 127.0.0.1 [ jellybaby | TVHclient4Emby-10.8.10.0 ]: Identified as user 'jellybaby' 2023-04-29 23:31:49.937 htsp: 127.0.0.1 [ jellybaby | TVHclient4Emby-10.8.10.0 ]: Privileges updated 2023-04-29 23:33:06.542 tbl-eit: eit: 395MHz in DVB-C: invalid checksum (len 323, errors 2) ``` Works in mpv, with the same unexpired ticket: ![изображение](https://user-images.githubusercontent.com/12829428/235314114-911e37d5-776e-46e4-bf1b-1dfa1f447a02.png) and even internal (in SSH session, but obviously fails to find display) ![изображение](https://user-images.githubusercontent.com/12829428/235314494-cfc61cfc-ae53-4c95-945a-37da9188ad17.png) and external (mpv to domain URL) link: ![изображение](https://user-images.githubusercontent.com/12829428/235314517-5b709346-19b7-45f7-8bc6-51a046d686ac.png)
Author
Owner

@jellyfin-bot commented on GitHub (Aug 28, 2023):

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

@jellyfin-bot commented on GitHub (Aug 28, 2023): This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label. This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on [Matrix or Social Media](https://docs.jellyfin.org/general/getting-help.html).
Author
Owner

@DX37 commented on GitHub (Aug 29, 2023):

Still exist...

@DX37 commented on GitHub (Aug 29, 2023): Still exist...
Author
Owner

@Aireezz commented on GitHub (Nov 24, 2023):

I too have this issue

@Aireezz commented on GitHub (Nov 24, 2023): I too have this issue
Author
Owner

@jellyfin-bot commented on GitHub (Mar 24, 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 (Mar 24, 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

@DX37 commented on GitHub (Mar 24, 2024):

Issue still exists, tested it several days ago.

@DX37 commented on GitHub (Mar 24, 2024): Issue still exists, tested it several days ago.
Author
Owner

@cslak commented on GitHub (Apr 21, 2024):

issue is still present tested it today

@cslak commented on GitHub (Apr 21, 2024): issue is still present tested it today
Author
Owner

@felix920506 commented on GitHub (Apr 21, 2024):

Please test on unstable.

@felix920506 commented on GitHub (Apr 21, 2024): Please test on unstable.
Author
Owner

@DX37 commented on GitHub (May 30, 2024):

Issue is still present on 10.9.3

@DX37 commented on GitHub (May 30, 2024): Issue is still present on 10.9.3
Author
Owner

@Mihara commented on GitHub (Jul 1, 2024):

I'm having the same issue, notably, also with the Russian broadcasts. I wonder, is it common for DVB-T2 to transmit sound in MPEG2? Because I suspect this is what in fact makes transcoding required...

Feeding the same tvheadend URL from the log to MPV indeed results in playback starting, but Jellyfin mysteriously fails out.

@Mihara commented on GitHub (Jul 1, 2024): I'm having the same issue, notably, also with the Russian broadcasts. I wonder, is it common for DVB-T2 to transmit sound in MPEG2? Because I suspect this is what in fact makes transcoding required... Feeding the same tvheadend URL from the log to MPV indeed results in playback starting, but Jellyfin mysteriously fails out.
Author
Owner

@theguymadmax commented on GitHub (Jul 1, 2024):

I recently helped someone out on the forums with a issue regarding the TVHeadend Plugin. For some reason the fmp4 transcoding profiles aren't disabled for live TV using this plugin, this was on 10.9.7. Disabling "Prefer fMP4-HLS Media Container" in Settings->Playback might possibly help.

@theguymadmax commented on GitHub (Jul 1, 2024): I recently helped someone out on the [forums](https://forum.jellyfin.org/t-tvheadend-plugin) with a issue regarding the TVHeadend Plugin. For some reason the fmp4 transcoding profiles aren't disabled for live TV using this plugin, this was on 10.9.7. Disabling "Prefer fMP4-HLS Media Container" in Settings->Playback might possibly help.
Author
Owner

@DX37 commented on GitHub (Jul 3, 2024):

I recently helped someone out on the forums with a issue regarding the TVHeadend Plugin. For some reason the fmp4 transcoding profiles aren't disabled for live TV using this plugin, this was on 10.9.7. Disabling "Prefer fMP4-HLS Media Container" in Settings->Playback might possibly help.

Holy... That actually worked!

@DX37 commented on GitHub (Jul 3, 2024): > I recently helped someone out on the [forums](https://forum.jellyfin.org/t-tvheadend-plugin) with a issue regarding the TVHeadend Plugin. For some reason the fmp4 transcoding profiles aren't disabled for live TV using this plugin, this was on 10.9.7. Disabling "Prefer fMP4-HLS Media Container" in Settings->Playback might possibly help. Holy... That actually worked!
Author
Owner

@Mihara commented on GitHub (Jul 3, 2024):

That workaround only serves to localize the actual bug, though, doesn't it?

@Mihara commented on GitHub (Jul 3, 2024): That workaround only serves to localize the actual bug, though, doesn't it?
Author
Owner

@DX37 commented on GitHub (Jul 3, 2024):

That workaround only serves to localize the actual bug, though, doesn't it?

I dunno, honestly...

@DX37 commented on GitHub (Jul 3, 2024): > That workaround only serves to localize the actual bug, though, doesn't it? I dunno, honestly...
Author
Owner

@Medformatik commented on GitHub (Aug 8, 2024):

I recently helped someone out on the forums with a issue regarding the TVHeadend Plugin. For some reason the fmp4 transcoding profiles aren't disabled for live TV using this plugin, this was on 10.9.7. Disabling "Prefer fMP4-HLS Media Container" in Settings->Playback might possibly help.

Disabling this worked for me, but I wonder if this setting can be applied to the whole server and not per-user. Does disabling this setting have any drawbacks?

@Medformatik commented on GitHub (Aug 8, 2024): > I recently helped someone out on the [forums](https://forum.jellyfin.org/t-tvheadend-plugin) with a issue regarding the TVHeadend Plugin. For some reason the fmp4 transcoding profiles aren't disabled for live TV using this plugin, this was on 10.9.7. Disabling "Prefer fMP4-HLS Media Container" in Settings->Playback might possibly help. Disabling this worked for me, but I wonder if this setting can be applied to the whole server and not per-user. Does disabling this setting have any drawbacks?
Author
Owner

@striker30345 commented on GitHub (Sep 28, 2024):

I recently helped someone out on the forums with a issue regarding the TVHeadend Plugin. For some reason the fmp4 transcoding profiles aren't disabled for live TV using this plugin, this was on 10.9.7. Disabling "Prefer fMP4-HLS Media Container" in Settings->Playback might possibly help.

Hours of troubleshooting and this is all that has worked. I'll take it per device if I have to for now. Thanks!

@striker30345 commented on GitHub (Sep 28, 2024): > I recently helped someone out on the [forums](https://forum.jellyfin.org/t-tvheadend-plugin) with a issue regarding the TVHeadend Plugin. For some reason the fmp4 transcoding profiles aren't disabled for live TV using this plugin, this was on 10.9.7. Disabling "Prefer fMP4-HLS Media Container" in Settings->Playback might possibly help. Hours of troubleshooting and this is all that has worked. I'll take it per device if I have to for now. Thanks!
Author
Owner

@jellyfin-bot commented on GitHub (Jan 27, 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 (Jan 27, 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

@Medformatik commented on GitHub (Jan 27, 2025):

I recently helped someone out on the forums with a issue regarding the TVHeadend Plugin. For some reason the fmp4 transcoding profiles aren't disabled for live TV using this plugin, this was on 10.9.7. Disabling "Prefer fMP4-HLS Media Container" in Settings->Playback might possibly help.

Although the workaround described above works, it is not an actual solution to the problem and is also inconvenient, as it has to be applied individually for each user.

@Medformatik commented on GitHub (Jan 27, 2025): > I recently helped someone out on the [forums](https://forum.jellyfin.org/t-tvheadend-plugin) with a issue regarding the TVHeadend Plugin. For some reason the fmp4 transcoding profiles aren't disabled for live TV using this plugin, this was on 10.9.7. Disabling "Prefer fMP4-HLS Media Container" in Settings->Playback might possibly help. Although the workaround described above works, it is not an actual solution to the problem and is also inconvenient, as it has to be applied individually for each user.
Author
Owner

@jellyfin-bot commented on GitHub (May 28, 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 (May 28, 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

@Medformatik commented on GitHub (May 29, 2025):

As of my knowledge this issue isn't fixed yet.

@Medformatik commented on GitHub (May 29, 2025): As of my knowledge this issue isn't fixed yet.
Author
Owner

@gabbieblue commented on GitHub (May 29, 2025):

@DX37 if you have found a solution that works for you could you please share it here?

@gabbieblue commented on GitHub (May 29, 2025): @DX37 if you have found a solution that works for you could you please share it here?
Author
Owner

@DX37 commented on GitHub (May 29, 2025):

@DX37 if you have found a solution that works for you could you please share it here?

I found it long ago here https://github.com/jellyfin/jellyfin/issues/8305#issuecomment-2205072736

@DX37 commented on GitHub (May 29, 2025): > @DX37 if you have found a solution that works for you could you please share it here? I found it long ago here https://github.com/jellyfin/jellyfin/issues/8305#issuecomment-2205072736
Author
Owner

@gabbieblue commented on GitHub (May 29, 2025):

ah my bad, i have in fact tried that one
i will test on my server and see if it works now
thanks!

@gabbieblue commented on GitHub (May 29, 2025): ah my bad, i have in fact tried that one i will test on my server and see if it works now thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#4138