jellyfin / jellyfin-androidtv

Android TV Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
2.54k stars 437 forks source link

Fire Stick 4K crashes while video streaming #1335

Closed LasseKrache closed 2 years ago

LasseKrache commented 2 years ago

Describe the bug

  1. Environment:
    • Jellyfin Server 10.7.7 via docker on a Synology DS218+
    • Fire TV Stick 4K Ultra HD
    • multiple other Jellyfin clients (Windows app, Mac app, Android mobile app)
  2. Problem
    • Streaming a video on the Fire Stick starts to consume more and more RAM on the docker container ... until the app crashes; tried different video formats: same result, though MP4 crashes "faster" then MKV
    • Don't have this issue on one of the other Jellyfin clients, so I don't think the docker/server is causing the crash

Any ideas? Are there any log files on the stick and how can I get them?

Logs

This is the exported server log of the last minutes before the Fire Stick crashed (I have no idea, why the format is so strange):

jellyfin-ha
date,stream,content
2022-01-06 13:43:50,stdout,[13:43:50] [INF] [21] Emby.Server.Implementations.Session.SessionWebSocketListener: Lost 1 WebSockets.

2022-01-06 13:43:38,stdout,[13:43:38] [INF] [21] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.

2022-01-06 13:42:50,stdout,   at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context)

2022-01-06 13:42:50,stdout,   at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context)

2022-01-06 13:42:50,stdout,   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.Invoke(HttpContext context)

2022-01-06 13:42:50,stdout,   at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)

2022-01-06 13:42:50,stdout,   at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)

2022-01-06 13:42:50,stdout,   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)

2022-01-06 13:42:50,stdout,"   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
"
2022-01-06 13:42:50,stdout,   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)

2022-01-06 13:42:50,stdout,   at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)

2022-01-06 13:42:50,stdout,   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)

2022-01-06 13:42:50,stdout,"   at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
"
2022-01-06 13:42:50,stdout,"   at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
"
2022-01-06 13:42:50,stdout,"   at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
"
2022-01-06 13:42:50,stdout,"   at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
"
2022-01-06 13:42:50,stdout,"   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
"
2022-01-06 13:42:50,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
"
2022-01-06 13:42:50,stdout,--- End of stack trace from previous location ---

2022-01-06 13:42:50,stdout,   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()

2022-01-06 13:42:50,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
"
2022-01-06 13:42:50,stdout,   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)

2022-01-06 13:42:50,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
"
2022-01-06 13:42:50,stdout,--- End of stack trace from previous location ---

2022-01-06 13:42:50,stdout,   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()

2022-01-06 13:42:50,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
"
2022-01-06 13:42:50,stdout,   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)

2022-01-06 13:42:50,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
"
2022-01-06 13:42:50,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
"
2022-01-06 13:42:50,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
"
2022-01-06 13:42:50,stdout,"   at lambda_method506(Closure , Object )
"
2022-01-06 13:42:50,stdout,"   at Jellyfin.Api.Controllers.ImageController.GetUserImage(Guid userId, ImageType imageType, String tag, Nullable`1 format, Nullable`1 maxWidth, Nullable`1 maxHeight, Nullable`1 percentPlayed, Nullable`1 unplayedCount, Nullable`1 width, Nullable`1 height, Nullable`1 quality, Nullable`1 fillWidth, Nullable`1 fillHeight, Nullable`1 cropWhitespace, Nullable`1 addPlayedIndicator, Nullable`1 blur, String backgroundColor, String foregroundLayer, Nullable`1 imageIndex)
"
2022-01-06 13:42:50,stdout,System.NullReferenceException: Object reference not set to an instance of an object.

2022-01-06 13:42:50,stdout,[13:42:50] [ERR] [27] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL GET /Users/b5cba38150fe4de280b24ae01500bb17/Images/Primary.

2022-01-06 13:42:50,stdout,[13:42:50] [INF] [37] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 11.22.33.44 request

2022-01-06 13:42:26,stdout,[13:42:26] [WRN] [38] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jelly.XYZ.synology.me/Sessions/Playing/Progress to 11.22.33.44 in 0:00:00.5655353 with Status Code 204

2022-01-06 13:42:23,stdout,[13:42:23] [WRN] [37] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jelly.XYZ.synology.me/Sessions/Playing/Progress to 11.22.33.44 in 0:00:00.6889145 with Status Code 204

2022-01-06 13:41:32,stdout,[13:41:32] [WRN] [43] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jelly.XYZ.synology.me/Sessions/Playing/Progress to 11.22.33.44 in 0:00:00.6839896 with Status Code 204

2022-01-06 13:41:23,stdout,[13:41:23] [WRN] [29] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jelly.XYZ.synology.me/Sessions/Playing/Progress to 11.22.33.44 in 0:00:00.6641971 with Status Code 204

2022-01-06 13:40:28,stdout,[13:40:28] [WRN] [39] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jelly.XYZ.synology.me/Sessions/Playing/Progress to 11.22.33.44 in 0:00:00.537266 with Status Code 204

2022-01-06 13:40:21,stdout,[13:40:21] [WRN] [43] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jelly.XYZ.synology.me/Sessions/Playing to 11.22.33.44 in 0:00:00.8651733 with Status Code 204

2022-01-06 13:40:20,stdout,"[13:40:20] [INF] [39] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: AndroidTV-ExoPlayer, Path: /media/Konzerte/Revolverheld - MTV Unplugged in drei Akten (2015)/Revolverheld - MTV Unplugged in drei Akten (2015) h264-720p AAC-2ch.mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
"
2022-01-06 13:40:20,stdout,"[13:40:20] [INF] [39] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: AndroidTV-ExoPlayer, Path: /media/Konzerte/Revolverheld - MTV Unplugged in drei Akten (2015)/Revolverheld - MTV Unplugged in drei Akten (2015) h264-720p AAC-2ch.mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
"
2022-01-06 13:40:20,stdout,"[13:40:20] [INF] [39] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: AndroidTV-ExoPlayer, Path: /media/Konzerte/Revolverheld - MTV Unplugged in drei Akten (2015)/Revolverheld - MTV Unplugged in drei Akten (2015) h264-720p AAC-2ch.mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
"
2022-01-06 13:40:20,stdout,[13:40:20] [INF] [39] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for jelly. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

2022-01-06 13:40:20,stdout,"[30m], \"Codec\": \"hevc\", \"Container\": null, \"$type\": \"CodecProfile\"}, {\"Type\": \"VideoAudio\", \"Conditions\": [{\"Condition\": \"LessThanEqual\", \"Property\": \"AudioChannels\", \"Value\": \"6\", \"IsRequired\": false, \"$type\": \"ProfileCondition\"}], \"ApplyConditions\": [], \"Codec\": null, \"Container\": null, \"$type\": \"CodecProfile\"}], \"ResponseProfiles\": [], \"SubtitleProfiles\": [{\"Format\": \"srt\", \"Method\": \"External\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"srt\", \"Method\": \"Embed\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"subrip\", \"Method\": \"Embed\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"ass\", \"Method\": \"Encode\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"ssa\", \"Method\": \"Encode\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"pgs\", \"Method\": \"Encode\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"pgssub\", \"Method\": \"Encode\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"dvdsub\", \"Method\": \"Encode\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"vtt\", \"Method\": \"Embed\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"sub\", \"Method\": \"Embed\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"idx\", \"Method\": \"Embed\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}], \"$type\": \"DeviceProfile\"}
"
2022-01-06 13:40:20,stdout,"[13:40:20] [INF] [39] Jellyfin.Api.Controllers.MediaInfoController: GetPostedPlaybackInfo profile: {\"Name\": \"AndroidTV-ExoPlayer\", \"Id\": null, \"Identification\": null, \"FriendlyName\": null, \"Manufacturer\": null, \"ManufacturerUrl\": null, \"ModelName\": null, \"ModelDescription\": null, \"ModelNumber\": null, \"ModelUrl\": null, \"SerialNumber\": null, \"EnableAlbumArtInDidl\": false, \"EnableSingleAlbumArtLimit\": false, \"EnableSingleSubtitleLimit\": false, \"SupportedMediaTypes\": \"Audio,Photo,Video\", \"UserId\": null, \"AlbumArtPn\": null, \"MaxAlbumArtWidth\": 0, \"MaxAlbumArtHeight\": 0, \"MaxIconWidth\": null, \"MaxIconHeight\": null, \"MaxStreamingBitrate\": 20000000, \"MaxStaticBitrate\": 100000000, \"MusicStreamingTranscodingBitrate\": 128000, \"MaxStaticMusicBitrate\": null, \"SonyAggregationFlags\": null, \"ProtocolInfo\": null, \"TimelineOffsetSeconds\": 0, \"RequiresPlainVideoItems\": false, \"RequiresPlainFolders\": false, \"EnableMSMediaReceiverRegistrar\": false, \"IgnoreTranscodeByteRangeRequests\": false, \"XmlRootAttributes\": [], \"DirectPlayProfiles\": [{\"Container\": \"m4v,mov,xvid,vob,mkv,wmv,asf,ogm,ogv,mp4,webm\", \"AudioCodec\": \"aac,ac3,eac3,aac_latm,mp3,mp2,dca,dts\", \"VideoCodec\": \"h264,hevc,vp8,vp9,mpeg,mpeg2video\", \"Type\": \"Video\", \"$type\": \"DirectPlayProfile\"}, {\"Container\": \"aac,mp3,mpa,flac,wav,wma,mp2,ogg,oga,webma,ape,opus\", \"AudioCodec\": null, \"VideoCodec\": null, \"Type\": \"Audio\", \"$type\": \"DirectPlayProfile\"}, {\"Container\": \"jpg,jpeg,png,gif,webp\", \"AudioCodec\": null, \"VideoCodec\": null, \"Type\": \"Photo\", \"$type\": \"DirectPlayProfile\"}], \"TranscodingProfiles\": [{\"Container\": \"mkv\", \"Type\": \"Video\", \"VideoCodec\": \"h264\", \"AudioCodec\": \"ac3,aac,mp3\", \"Protocol\": null, \"EstimateContentLength\": false, \"EnableMpegtsM2TsMode\": false, \"TranscodeSeekInfo\": \"Auto\", \"CopyTimestamps\": true, \"Context\": \"Streaming\", \"EnableSubtitlesInManifest\": false, \"MaxAudioChannels\": null, \"MinSegments\": 0, \"SegmentLength\": 0, \"BreakOnNonKeyFrames\": false, \"$type\": \"TranscodingProfile\"}, {\"Container\": \"mp3\", \"Type\": \"Audio\", \"VideoCodec\": null, \"AudioCodec\": \"mp3\", \"Protocol\": null, \"EstimateContentLength\": false, \"EnableMpegtsM2TsMode\": false, \"TranscodeSeekInfo\": \"Auto\", \"CopyTimestamps\": false, \"Context\": \"Streaming\", \"EnableSubtitlesInManifest\": false, \"MaxAudioChannels\": null, \"MinSegments\": 0, \"SegmentLength\": 0, \"BreakOnNonKeyFrames\": false, \"$type\": \"TranscodingProfile\"}], \"ContainerProfiles\": [], \"CodecProfiles\": [{\"Type\": \"Video\", \"Conditions\": [{\"Condition\": \"EqualsAny\", \"Property\": \"VideoProfile\", \"Value\": \"high|main|baseline|constrained baseline\", \"IsRequired\": false, \"$type\": \"ProfileCondition\"}, {\"Condition\": \"LessThanEqual\", \"Property\": \"VideoLevel\", \"Value\": \"52\", \"IsRequired\": false, \"$type\": \"ProfileCondition\"}], \"ApplyConditions\": [], \"Codec\": \"h264\", \"Container\": null, \"$type\": \"CodecProfile\"}, {\"Type\": \"Video\", \"Conditions\": [{\"Condition\": \"LessThanEqual\", \"Property\": \"RefFrames\", \"Value\": \"12\", \"IsRequired\": false, \"$type\": \"ProfileCondition\"}], \"ApplyConditions\": [{\"Condition\": \"GreaterThanEqual\", \"Property\": \"Width\", \"Value\": \"1200\", \"IsRequired\": false, \"$type\": \"ProfileCondition\"}], \"Codec\": \"h264\", \"Container\": null, \"$type\": \"CodecProfile\"}, {\"Type\": \"Video\", \"Conditions\": [{\"Condition\": \"LessThanEqual\", \"Property\": \"RefFrames\", \"Value\": \"4\", \"IsRequired\": false, \"$type\": \"ProfileCondition\"}], \"ApplyConditions\": [{\"Condition\": \"GreaterThanEqual\", \"Property\": \"Width\", \"Value\": \"1900\", \"IsRequired\": false, \"$type\": \"ProfileCondition\"}], \"Codec\": \"h264\", \"Container\": null, \"$type\": \"CodecProfile\"}, {\"Type\": \"Video\", \"Conditions\": [{\"Condition\": \"NotEquals\", \"Property\": \"VideoProfile\", \"Value\": \"none\", \"IsRequired\": false, \"$type\": \"ProfileCondition\"}], \"ApplyConditions\": [
"
2022-01-06 13:40:20,stdout,"[13:40:20] [INF] [42] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: AndroidTV-libVLC, Path: /media/Konzerte/Revolverheld - MTV Unplugged in drei Akten (2015)/Revolverheld - MTV Unplugged in drei Akten (2015) h264-720p AAC-2ch.mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
"
2022-01-06 13:40:20,stdout,"[13:40:20] [INF] [42] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: AndroidTV-libVLC, Path: /media/Konzerte/Revolverheld - MTV Unplugged in drei Akten (2015)/Revolverheld - MTV Unplugged in drei Akten (2015) h264-720p AAC-2ch.mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
"
2022-01-06 13:40:20,stdout,"[13:40:20] [INF] [42] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: AndroidTV-libVLC, Path: /media/Konzerte/Revolverheld - MTV Unplugged in drei Akten (2015)/Revolverheld - MTV Unplugged in drei Akten (2015) h264-720p AAC-2ch.mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
"
2022-01-06 13:40:20,stdout,[13:40:20] [INF] [42] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for jelly. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

2022-01-06 13:40:20,stdout,"9m: \"srt\", \"Method\": \"Embed\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"subrip\", \"Method\": \"Embed\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"ass\", \"Method\": \"Embed\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"ssa\", \"Method\": \"Embed\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"pgs\", \"Method\": \"Embed\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"pgssub\", \"Method\": \"Embed\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"dvdsub\", \"Method\": \"Embed\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"vtt\", \"Method\": \"Embed\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"sub\", \"Method\": \"Embed\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"smi\", \"Method\": \"Embed\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\": \"idx\", \"Method\": \"Embed\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}], \"$type\": \"DeviceProfile\"}
"
2022-01-06 13:40:20,stdout,"[13:40:20] [INF] [42] Jellyfin.Api.Controllers.MediaInfoController: GetPostedPlaybackInfo profile: {\"Name\": \"AndroidTV-libVLC\", \"Id\": null, \"Identification\": null, \"FriendlyName\": null, \"Manufacturer\": null, \"ManufacturerUrl\": null, \"ModelName\": null, \"ModelDescription\": null, \"ModelNumber\": null, \"ModelUrl\": null, \"SerialNumber\": null, \"EnableAlbumArtInDidl\": false, \"EnableSingleAlbumArtLimit\": false, \"EnableSingleSubtitleLimit\": false, \"SupportedMediaTypes\": \"Audio,Photo,Video\", \"UserId\": null, \"AlbumArtPn\": null, \"MaxAlbumArtWidth\": 0, \"MaxAlbumArtHeight\": 0, \"MaxIconWidth\": null, \"MaxIconHeight\": null, \"MaxStreamingBitrate\": 20000000, \"MaxStaticBitrate\": 100000000, \"MusicStreamingTranscodingBitrate\": 128000, \"MaxStaticMusicBitrate\": null, \"SonyAggregationFlags\": null, \"ProtocolInfo\": null, \"TimelineOffsetSeconds\": 0, \"RequiresPlainVideoItems\": false, \"RequiresPlainFolders\": false, \"EnableMSMediaReceiverRegistrar\": false, \"IgnoreTranscodeByteRangeRequests\": false, \"XmlRootAttributes\": [], \"DirectPlayProfiles\": [{\"Container\": \"m4v,3gp,ts,mpegts,mov,xvid,vob,mkv,wmv,asf,ogm,ogv,m2v,avi,mpg,mpeg,mp4,webm,wtv\", \"AudioCodec\": \"aac,mp3,mp2,ac3,wma,wmav2,dca,dts,pcm,PCM_S16LE,PCM_S24LE,opus,flac,truehd\", \"VideoCodec\": null, \"Type\": \"Video\", \"$type\": \"DirectPlayProfile\"}, {\"Container\": \"flac,aac,mp3,mpa,wav,wma,mp2,ogg,oga,webma,ape\", \"AudioCodec\": null, \"VideoCodec\": null, \"Type\": \"Audio\", \"$type\": \"DirectPlayProfile\"}, {\"Container\": \"jpg,jpeg,png,gif,webp\", \"AudioCodec\": null, \"VideoCodec\": null, \"Type\": \"Photo\", \"$type\": \"DirectPlayProfile\"}], \"TranscodingProfiles\": [{\"Container\": \"mkv\", \"Type\": \"Video\", \"VideoCodec\": \"h264\", \"AudioCodec\": \"aac,mp3\", \"Protocol\": null, \"EstimateContentLength\": false, \"EnableMpegtsM2TsMode\": false, \"TranscodeSeekInfo\": \"Auto\", \"CopyTimestamps\": true, \"Context\": \"Streaming\", \"EnableSubtitlesInManifest\": false, \"MaxAudioChannels\": null, \"MinSegments\": 0, \"SegmentLength\": 0, \"BreakOnNonKeyFrames\": false, \"$type\": \"TranscodingProfile\"}, {\"Container\": \"mp3\", \"Type\": \"Audio\", \"VideoCodec\": null, \"AudioCodec\": \"mp3\", \"Protocol\": null, \"EstimateContentLength\": false, \"EnableMpegtsM2TsMode\": false, \"TranscodeSeekInfo\": \"Auto\", \"CopyTimestamps\": false, \"Context\": \"Streaming\", \"EnableSubtitlesInManifest\": false, \"MaxAudioChannels\": null, \"MinSegments\": 0, \"SegmentLength\": 0, \"BreakOnNonKeyFrames\": false, \"$type\": \"TranscodingProfile\"}], \"ContainerProfiles\": [{\"Type\": \"Video\", \"Conditions\": [{\"Condition\": \"NotEquals\", \"Property\": \"VideoCodecTag\", \"Value\": \"xvid\", \"IsRequired\": false, \"$type\": \"ProfileCondition\"}], \"Container\": \"avi\", \"$type\": \"ContainerProfile\"}], \"CodecProfiles\": [{\"Type\": \"Video\", \"Conditions\": [{\"Condition\": \"NotEquals\", \"Property\": \"VideoProfile\", \"Value\": \"none\", \"IsRequired\": false, \"$type\": \"ProfileCondition\"}], \"ApplyConditions\": [], \"Codec\": \"hevc\", \"Container\": null, \"$type\": \"CodecProfile\"}, {\"Type\": \"Video\", \"Conditions\": [{\"Condition\": \"EqualsAny\", \"Property\": \"VideoProfile\", \"Value\": \"high|main|baseline|constrained baseline\", \"IsRequired\": false, \"$type\": \"ProfileCondition\"}, {\"Condition\": \"LessThanEqual\", \"Property\": \"VideoLevel\", \"Value\": \"52\", \"IsRequired\": false, \"$type\": \"ProfileCondition\"}], \"ApplyConditions\": [], \"Codec\": \"h264\", \"Container\": null, \"$type\": \"CodecProfile\"}, {\"Type\": \"VideoAudio\", \"Conditions\": [{\"Condition\": \"LessThanEqual\", \"Property\": \"AudioChannels\", \"Value\": \"8\", \"IsRequired\": false, \"$type\": \"ProfileCondition\"}], \"ApplyConditions\": [], \"Codec\": null, \"Container\": null, \"$type\": \"CodecProfile\"}], \"ResponseProfiles\": [], \"SubtitleProfiles\": [{\"Format\": \"srt\", \"Method\": \"External\", \"DidlMode\": null, \"Language\": null, \"Container\": null, \"$type\": \"SubtitleProfile\"}, {\"Format\"[39;4
"
2022-01-06 13:39:53,stdout,   at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context)

2022-01-06 13:39:53,stdout,   at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context)

2022-01-06 13:39:53,stdout,   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.Invoke(HttpContext context)

2022-01-06 13:39:53,stdout,   at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)

2022-01-06 13:39:53,stdout,   at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)

2022-01-06 13:39:53,stdout,   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)

2022-01-06 13:39:53,stdout,"   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
"
2022-01-06 13:39:53,stdout,   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)

2022-01-06 13:39:53,stdout,   at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)

2022-01-06 13:39:53,stdout,   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)

2022-01-06 13:39:53,stdout,"   at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
"
2022-01-06 13:39:53,stdout,"   at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
"
2022-01-06 13:39:53,stdout,"   at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
"
2022-01-06 13:39:53,stdout,"   at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
"
2022-01-06 13:39:53,stdout,"   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
"
2022-01-06 13:39:53,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
"
2022-01-06 13:39:53,stdout,--- End of stack trace from previous location ---

2022-01-06 13:39:53,stdout,   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()

2022-01-06 13:39:53,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
"
2022-01-06 13:39:53,stdout,   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)

2022-01-06 13:39:53,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
"
2022-01-06 13:39:53,stdout,--- End of stack trace from previous location ---

2022-01-06 13:39:53,stdout,   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()

2022-01-06 13:39:53,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
"
2022-01-06 13:39:53,stdout,   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)

2022-01-06 13:39:53,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
"
2022-01-06 13:39:53,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
"
2022-01-06 13:39:53,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
"
2022-01-06 13:39:53,stdout,"   at lambda_method506(Closure , Object )
"
2022-01-06 13:39:53,stdout,"   at Jellyfin.Api.Controllers.ImageController.GetUserImage(Guid userId, ImageType imageType, String tag, Nullable`1 format, Nullable`1 maxWidth, Nullable`1 maxHeight, Nullable`1 percentPlayed, Nullable`1 unplayedCount, Nullable`1 width, Nullable`1 height, Nullable`1 quality, Nullable`1 fillWidth, Nullable`1 fillHeight, Nullable`1 cropWhitespace, Nullable`1 addPlayedIndicator, Nullable`1 blur, String backgroundColor, String foregroundLayer, Nullable`1 imageIndex)
"
2022-01-06 13:39:53,stdout,System.NullReferenceException: Object reference not set to an instance of an object.

2022-01-06 13:39:53,stdout,[13:39:53] [ERR] [42] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL GET /Users/b5cba38150fe4de280b24ae01500bb17/Images/Primary.

2022-01-06 13:39:08,stdout,   at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context)

2022-01-06 13:39:08,stdout,   at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context)

2022-01-06 13:39:08,stdout,   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.Invoke(HttpContext context)

2022-01-06 13:39:08,stdout,   at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)

2022-01-06 13:39:08,stdout,   at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)

2022-01-06 13:39:08,stdout,   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)

2022-01-06 13:39:08,stdout,"   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
"
2022-01-06 13:39:08,stdout,   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)

2022-01-06 13:39:08,stdout,   at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)

2022-01-06 13:39:08,stdout,   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)

2022-01-06 13:39:08,stdout,"   at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
"
2022-01-06 13:39:08,stdout,"   at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
"
2022-01-06 13:39:08,stdout,"   at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
"
2022-01-06 13:39:08,stdout,"   at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
"
2022-01-06 13:39:08,stdout,"   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
"
2022-01-06 13:39:08,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
"
2022-01-06 13:39:08,stdout,--- End of stack trace from previous location ---

2022-01-06 13:39:08,stdout,   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()

2022-01-06 13:39:08,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
"
2022-01-06 13:39:08,stdout,   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)

2022-01-06 13:39:08,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
"
2022-01-06 13:39:08,stdout,--- End of stack trace from previous location ---

2022-01-06 13:39:08,stdout,   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()

2022-01-06 13:39:08,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
"
2022-01-06 13:39:08,stdout,   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)

2022-01-06 13:39:08,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
"
2022-01-06 13:39:08,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
"
2022-01-06 13:39:08,stdout,"   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
"
2022-01-06 13:39:08,stdout,"   at lambda_method506(Closure , Object )
"
2022-01-06 13:39:08,stdout,"   at Jellyfin.Api.Controllers.ImageController.GetUserImage(Guid userId, ImageType imageType, String tag, Nullable`1 format, Nullable`1 maxWidth, Nullable`1 maxHeight, Nullable`1 percentPlayed, Nullable`1 unplayedCount, Nullable`1 width, Nullable`1 height, Nullable`1 quality, Nullable`1 fillWidth, Nullable`1 fillHeight, Nullable`1 cropWhitespace, Nullable`1 addPlayedIndicator, Nullable`1 blur, String backgroundColor, String foregroundLayer, Nullable`1 imageIndex)
"
2022-01-06 13:39:08,stdout,System.NullReferenceException: Object reference not set to an instance of an object.

2022-01-06 13:39:08,stdout,[13:39:08] [ERR] [39] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL GET /Users/b5cba38150fe4de280b24ae01500bb17/Images/Primary.

2022-01-06 13:39:08,stdout,[13:39:08] [WRN] [37] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jelly.XYZ.synology.me/Sessions/Playing/Stopped to 11.22.33.44 in 0:00:00.7041388 with Status Code 204

2022-01-06 13:39:07,stdout,[13:39:07] [INF] [37] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app Android TV 0.12.3 playing Coldplay: Live In São Paulo. Stopped at 4773151 ms

2022-01-06 13:38:55,stdout,[13:38:55] [WRN] [42] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jelly.XYZ.synology.me/Sessions/Playing/Progress to 11.22.33.44 in 0:00:00.6692481 with Status Code 204

2022-01-06 13:38:31,stdout,[13:38:31] [WRN] [39] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jelly.XYZ.synology.me/Sessions/Playing/Progress to 11.22.33.44 in 0:00:00.6359252 with Status Code 204

2022-01-06 13:37:55,stdout,[13:37:55] [WRN] [42] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jelly.XYZ.synology.me/Sessions/Playing/Progress to 11.22.33.44 in 0:00:00.6882383 with Status Code 204

2022-01-06 13:37:52,stdout,[13:37:52] [WRN] [38] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jelly.XYZ.synology.me/Sessions/Playing/Progress to 11.22.33.44 in 0:00:00.5181799 with Status Code 204

2022-01-06 13:36:55,stdout,[13:36:55] [WRN] [42] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jelly.XYZ.synology.me/Sessions/Playing/Progress to 11.22.33.44 in 0:00:00.5796639 with Status Code 204

2022-01-06 13:36:10,stdout,[13:36:10] [WRN] [42] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jelly.XYZ.synology.me/Sessions/Playing/Progress to 11.22.33.44 in 0:00:00.5044043 with Status Code 204

2022-01-06 13:35:55,stdout,[13:35:55] [WRN] [42] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jelly.XYZ.synology.me/Sessions/Playing/Progress to 11.22.33.44 in 0:00:00.6411949 with Status Code 204

2022-01-06 13:35:31,stdout,[13:35:31] [WRN] [34] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jelly.XYZ.synology.me/Sessions/Playing/Progress to 11.22.33.44 in 0:00:00.5659176 with Status Code 204

2022-01-06 13:34:55,stdout,[13:34:55] [WRN] [37] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jelly.XYZ.synology.me/Sessions/Playing/Progress to 11.22.33.44 in 0:00:00.5763517 with Status Code 204

2022-01-06 13:34:36,stdout,[13:34:36] [WRN] [38] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jelly.XYZ.synology.me/Sessions/Playing/Stopped to 11.22.33.44 in 0:00:00.6898415 with Status Code 204

2022-01-06 13:34:35,stdout,[13:34:35] [INF] [38] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app Jellyfin Web 10.7.6 playing Coldplay: Live In São Paulo. Stopped at 4221884 ms

2022-01-06 13:34:22,stdout,[13:34:22] [WRN] [36] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jelly.XYZ.synology.me/Sessions/Playing/Progress to 11.22.33.44 in 0:00:00.5200477 with Status Code 204

FFmpeg logs

No response

Media info of the file

No response

Application version

0.12.3

Device information

Amazon Fire Stick 4K Ultra

Android version

Fire OS 6.2.8.1

Jellyfin server version

10.7.7

RubenVP2 commented 2 years ago

I am having the same issue.

Morby21 commented 2 years ago

Hey, I'm having the same issue. (Barely new FireTV 4K Stick).

chicungunya commented 2 years ago

Same here. Wanted to use external player but external subtitles don't work with external player.

jellyfin-bot commented 2 years ago

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.