Truenas Scale Jellyfin transcoding not working

I am running TrueNAS-SCALE-24.10.2.1 on my Ugreen DXP4800 plus NAS that has an Intel(R) Pentium(R) Gold 8505 and 8GB of Ram.

I am running Jellyfin from the appstore version 1.1.24 and I enabled gpu passthrough. In Jellyfin on playback → transcoding I have QSV enabled and I also have verified the /dev/dri/renderD128 exists on my host. I have tried with and without QSV Device and I still get the same error “Playback failed due to a fatal player error.” on my laptop via edge and brave browser and on my iphone with the jellyfin app the movie is just on endless loading loop.

I have added the apps user to the render group for /dev/dri/renderD128. I am not too familiar with linux and nas so any help can be appriciated.

logs from Jellyfin:

2025-04-30 18:49:40.148340+00:00[14:49:40] [INF] [8] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f matroska -init_hw_device vaapi=va:,vendor_id=0x8086,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel qsv -hwaccel_output_format qsv -noautorotate -c:v hevc_qsv -i file:“/Media/movies/From.Dusk.Till.Dawn.1996/From.Dusk.Till.Dawn.1996.4K.HDR.DV.2160p.WEBDL Ita Eng x265-NAHOM.mkv” -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 av1_qsv -preset veryfast -b:v 16918872 -maxrate 16918872 -bufsize 33837744 -profile:v:0 main -level 53 -g:v:0 72 -keyint_min:v:0 72 -vf “setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,hwmap=derive_device=vaapi,format=vaapi,procamp_vaapi=b=16,tonemap_vaapi=format=nv12:p=bt709:t=bt709:m=bt709:extra_hw_frames=32,hwmap=derive_device=qsv,format=qsv” -codec:a:0 libfdk_aac -ac 6 -ab 640000 -ar 48000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename “ee27369cd4bb724ace07d75906a6c2dd-1.mp4” -start_number 0 -hls_segment_filename “/cache/transcodes/ee27369cd4bb724ace07d75906a6c2dd%d.mp4” -hls_playlist_type vod -hls_list_size 0 -y “/cache/transcodes/ee27369cd4bb724ace07d75906a6c2dd.m3u8”
2025-04-30 18:49:40.987319+00:00[14:49:40] [ERR] [25] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 218
2025-04-30 18:49:41.070109+00:00[14:49:41] [ERR] [25] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/c5b48eb6-5623-95f5-47a6-4d52949410bd/hls1/main/-1.mp4.
2025-04-30 18:49:41.070217+00:00MediaBrowser.Common.FfmpegException: FFmpeg exited with code 218
2025-04-30 18:49:41.070234+00:00at MediaBrowser.MediaEncoding.Transcoding.TranscodeManager.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, Guid userId, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory)

I say that Jellyfin/Plex get their own subforum…

Anyway, in your error:

 av1_qsv

I looked up the cpu and see it has 12th gen Intel graphics.

I looked up whether 12th gen Intel graphics supports av1 encode, and found that it doesn’t.

I use Plex, but if you have an option to enable av1 encoding – try disabling it?

yup AV1 is disabled.

I had low power av1 enabled, disabled that but still having issues:

2025-04-30 21:14:16.160802+00:00[17:14:16] [INF] [20] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.68.78 request
2025-04-30 21:14:19.653692+00:00[17:14:19] [ERR] [37] TVHeadEnd.HTSConnectionHandler: [TVHclient] HTSConnectionHandler.ensureConnection: username must be configured
2025-04-30 21:14:19.656769+00:00[17:14:19] [ERR] [37] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL GET /LiveTv/Recordings.
2025-04-30 21:14:19.656854+00:00System.InvalidOperationException: [TVHclient] HTSConnectionHandler.ensureConnection: username must be configured
2025-04-30 21:14:19.656873+00:00at TVHeadEnd.HTSConnectionHandler.init()
2025-04-30 21:14:19.656887+00:00at TVHeadEnd.HTSConnectionHandler.ensureConnection()
2025-04-30 21:14:19.656901+00:00at TVHeadEnd.HTSConnectionHandler.WaitForInitialLoad(CancellationToken cancellationToken)
2025-04-30 21:14:19.656916+00:00at System.Threading.Tasks.Task1.InnerInvoke() 2025-04-30 21:14:19.656929+00:00at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) 2025-04-30 21:14:19.656941+00:00--- End of stack trace from previous location --- 2025-04-30 21:14:19.656953+00:00at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) 2025-04-30 21:14:19.656967+00:00at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) 2025-04-30 21:14:19.656980+00:00--- End of stack trace from previous location --- 2025-04-30 21:14:19.656992+00:00at TVHeadEnd.RecordingsChannel.GetAllRecordingsAsync(CancellationToken cancellationToken) 2025-04-30 21:14:19.657022+00:00at TVHeadEnd.RecordingsChannel.GetRecordingGroups(InternalChannelItemQuery query, CancellationToken cancellationToken) 2025-04-30 21:14:19.657038+00:00at Jellyfin.LiveTv.Channels.ChannelManager.GetChannelItems(IChannel channel, User user, String externalFolderId, Nullable1 sortField, Boolean sortDescending, CancellationToken cancellationToken)
2025-04-30 21:14:19.657052+00:00at Jellyfin.LiveTv.Channels.ChannelManager.GetChannelItemsInternal(InternalItemsQuery query, IProgress1 progress, CancellationToken cancellationToken) 2025-04-30 21:14:19.657066+00:00at Jellyfin.LiveTv.Channels.ChannelManager.RefreshLatestChannelItems(IChannel channel, CancellationToken cancellationToken) 2025-04-30 21:14:19.657080+00:00at Jellyfin.LiveTv.Channels.ChannelManager.GetChannelsInternalAsync(ChannelQuery query) 2025-04-30 21:14:19.657093+00:00at Jellyfin.LiveTv.LiveTvManager.GetRecordingFoldersAsync(User user, Boolean refreshChannels) 2025-04-30 21:14:19.657106+00:00at Jellyfin.LiveTv.LiveTvManager.GetEmbyRecordingsAsync(RecordingQuery query, DtoOptions dtoOptions, User user) 2025-04-30 21:14:19.657120+00:00at Jellyfin.LiveTv.LiveTvManager.GetRecordingsAsync(RecordingQuery query, DtoOptions options) 2025-04-30 21:14:19.657134+00:00at Jellyfin.Api.Controllers.LiveTvController.GetRecordings(String channelId, Nullable1 userId, Nullable1 startIndex, Nullable1 limit, Nullable1 status, Nullable1 isInProgress, String seriesTimerId, Nullable1 enableImages, Nullable1 imageTypeLimit, ImageType enableImageTypes, ItemFields fields, Nullable1 enableUserData, Nullable1 isMovie, Nullable1 isSeries, Nullable1 isKids, Nullable1 isSports, Nullable1 isNews, Nullable1 isLibraryItem, Boolean enableTotalRecordCount) 2025-04-30 21:14:19.657149+00:00at lambda_method1112(Closure, Object) 2025-04-30 21:14:19.657161+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) 2025-04-30 21:14:19.657175+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask)
2025-04-30 21:14:19.657188+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:19.657202+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
2025-04-30 21:14:19.657214+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2025-04-30 21:14:19.657227+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:19.657241+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:19.657254+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
2025-04-30 21:14:19.657267+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2025-04-30 21:14:19.657281+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:19.657295+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
2025-04-30 21:14:19.657308+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
2025-04-30 21:14:19.657321+00:00at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
2025-04-30 21:14:19.657333+00:00at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
2025-04-30 21:14:19.657346+00:00at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
2025-04-30 21:14:19.657361+00:00at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
2025-04-30 21:14:19.657373+00:00at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
2025-04-30 21:14:19.657386+00:00at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:19.657398+00:00at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:19.657411+00:00at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:19.657424+00:00at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
2025-04-30 21:14:19.657437+00:00at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
2025-04-30 21:14:19.657449+00:00at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:19.657462+00:00at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:19.657475+00:00at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
2025-04-30 21:14:19.657489+00:00at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
2025-04-30 21:14:19.657502+00:00at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
2025-04-30 21:14:33.022826+00:00[17:14:33] [ERR] [31] TVHeadEnd.HTSConnectionHandler: [TVHclient] HTSConnectionHandler.ensureConnection: username must be configured
2025-04-30 21:14:33.024757+00:00[17:14:33] [ERR] [39] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL GET /Users/9ce5832042fc43d3b868c181c26402d8/Items/Latest.
2025-04-30 21:14:33.024813+00:00System.InvalidOperationException: [TVHclient] HTSConnectionHandler.ensureConnection: username must be configured
2025-04-30 21:14:33.024819+00:00at TVHeadEnd.HTSConnectionHandler.init()
2025-04-30 21:14:33.024824+00:00at TVHeadEnd.HTSConnectionHandler.ensureConnection()
2025-04-30 21:14:33.024829+00:00at TVHeadEnd.HTSConnectionHandler.WaitForInitialLoad(CancellationToken cancellationToken)
2025-04-30 21:14:33.024835+00:00at System.Threading.Tasks.Task1.InnerInvoke() 2025-04-30 21:14:33.024841+00:00at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) 2025-04-30 21:14:33.024846+00:00--- End of stack trace from previous location --- 2025-04-30 21:14:33.024851+00:00at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) 2025-04-30 21:14:33.024856+00:00at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) 2025-04-30 21:14:33.024862+00:00--- End of stack trace from previous location --- 2025-04-30 21:14:33.024866+00:00at TVHeadEnd.RecordingsChannel.GetAllRecordingsAsync(CancellationToken cancellationToken) 2025-04-30 21:14:33.024870+00:00at TVHeadEnd.RecordingsChannel.GetRecordingGroups(InternalChannelItemQuery query, CancellationToken cancellationToken) 2025-04-30 21:14:33.024876+00:00at Jellyfin.LiveTv.Channels.ChannelManager.GetChannelItems(IChannel channel, User user, String externalFolderId, Nullable1 sortField, Boolean sortDescending, CancellationToken cancellationToken)
2025-04-30 21:14:33.024883+00:00at Jellyfin.LiveTv.Channels.ChannelManager.GetChannelItemsInternal(InternalItemsQuery query, IProgress1 progress, CancellationToken cancellationToken) 2025-04-30 21:14:33.024888+00:00at Jellyfin.LiveTv.Channels.ChannelManager.RefreshLatestChannelItems(IChannel channel, CancellationToken cancellationToken) 2025-04-30 21:14:33.024892+00:00at Jellyfin.LiveTv.Channels.ChannelManager.GetLatestChannelItemsInternal(InternalItemsQuery query, CancellationToken cancellationToken) 2025-04-30 21:14:33.024899+00:00at Emby.Server.Implementations.Library.UserViewManager.GetItemsForLatestItems(User user, LatestItemsQuery request, DtoOptions options) 2025-04-30 21:14:33.024905+00:00at Emby.Server.Implementations.Library.UserViewManager.GetLatestItems(LatestItemsQuery request, DtoOptions options) 2025-04-30 21:14:33.024909+00:00at Jellyfin.Api.Controllers.UserLibraryController.GetLatestMedia(Nullable1 userId, Nullable1 parentId, ItemFields[] fields, BaseItemKind[] includeItemTypes, Nullable1 isPlayed, Nullable1 enableImages, Nullable1 imageTypeLimit, ImageType enableImageTypes, Nullable1 enableUserData, Int32 limit, Boolean groupItems) 2025-04-30 21:14:33.024915+00:00at lambda_method1012(Closure, Object, Object[]) 2025-04-30 21:14:33.024919+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) 2025-04-30 21:14:33.024924+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync() 2025-04-30 21:14:33.024928+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) 2025-04-30 21:14:33.024932+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync() 2025-04-30 21:14:33.024936+00:00--- End of stack trace from previous location --- 2025-04-30 21:14:33.024940+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) 2025-04-30 21:14:33.024944+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) 2025-04-30 21:14:33.024950+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() 2025-04-30 21:14:33.024957+00:00--- End of stack trace from previous location --- 2025-04-30 21:14:33.024963+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 2025-04-30 21:14:33.024969+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) 2025-04-30 21:14:33.024975+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) 2025-04-30 21:14:33.024981+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() 2025-04-30 21:14:33.024987+00:00--- End of stack trace from previous location --- 2025-04-30 21:14:33.024993+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) 2025-04-30 21:14:33.025000+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) 2025-04-30 21:14:33.025018+00:00at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager) 2025-04-30 21:14:33.025023+00:00at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) 2025-04-30 21:14:33.025027+00:00at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) 2025-04-30 21:14:33.025032+00:00at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) 2025-04-30 21:14:33.025039+00:00at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) 2025-04-30 21:14:33.025045+00:00at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext) 2025-04-30 21:14:33.025050+00:00at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext) 2025-04-30 21:14:33.025055+00:00at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) 2025-04-30 21:14:33.025061+00:00at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) 2025-04-30 21:14:33.025066+00:00at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) 2025-04-30 21:14:33.025073+00:00at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext) 2025-04-30 21:14:33.025079+00:00at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) 2025-04-30 21:14:33.025084+00:00at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) 2025-04-30 21:14:33.025095+00:00at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) 2025-04-30 21:14:33.025106+00:00at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context) 2025-04-30 21:14:33.454155+00:00[17:14:33] [ERR] [20] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL GET /Items/294916a531c0c9f30908b3422bb16212/Images/Primary. 2025-04-30 21:14:33.454193+00:00System.InvalidOperationException: Unable to convert any images to local 2025-04-30 21:14:33.454197+00:00at Emby.Server.Implementations.Library.LibraryManager.ConvertImageToLocal(BaseItem item, ItemImageInfo image, Int32 imageIndex, Boolean removeOnFailure) 2025-04-30 21:14:33.454201+00:00at Jellyfin.Api.Controllers.ImageController.GetImageInternal(Guid itemId, ImageType imageType, Nullable1 imageIndex, String tag, Nullable1 format, Nullable1 maxWidth, Nullable1 maxHeight, Nullable1 percentPlayed, Nullable1 unplayedCount, Nullable1 width, Nullable1 height, Nullable1 quality, Nullable1 fillWidth, Nullable1 fillHeight, Nullable1 blur, String backgroundColor, String foregroundLayer, BaseItem item, ItemImageInfo imageInfo) 2025-04-30 21:14:33.454205+00:00at Jellyfin.Api.Controllers.ImageController.GetItemImage(Guid itemId, ImageType imageType, Nullable1 maxWidth, Nullable1 maxHeight, Nullable1 width, Nullable1 height, Nullable1 quality, Nullable1 fillWidth, Nullable1 fillHeight, String tag, Nullable1 format, Nullable1 percentPlayed, Nullable1 unplayedCount, Nullable1 blur, String backgroundColor, String foregroundLayer, Nullable1 imageIndex) 2025-04-30 21:14:33.454209+00:00at lambda_method1003(Closure, Object) 2025-04-30 21:14:33.454213+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) 2025-04-30 21:14:33.454216+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask)
2025-04-30 21:14:33.454220+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:33.454223+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
2025-04-30 21:14:33.454228+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2025-04-30 21:14:33.454231+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:33.454235+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:33.454238+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
2025-04-30 21:14:33.454242+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2025-04-30 21:14:33.454245+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:33.454249+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
2025-04-30 21:14:33.454252+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
2025-04-30 21:14:33.454255+00:00at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
2025-04-30 21:14:33.454258+00:00at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
2025-04-30 21:14:33.454261+00:00at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
2025-04-30 21:14:33.454265+00:00at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
2025-04-30 21:14:33.454268+00:00at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
2025-04-30 21:14:33.454272+00:00at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:33.454275+00:00at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:33.454279+00:00at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:33.454282+00:00at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
2025-04-30 21:14:33.454286+00:00at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
2025-04-30 21:14:33.454289+00:00at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:33.454292+00:00at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:33.454295+00:00at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
2025-04-30 21:14:33.454298+00:00at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
2025-04-30 21:14:33.454327+00:00at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
2025-04-30 21:14:34.633174+00:00[17:14:34] [INF] [38] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for pipe-jelly. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2025-04-30 21:14:35.028907+00:00[17:14:35] [INF] [31] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn’t support non-keyframe breaks but one is requested, ignoring that request
2025-04-30 21:14:35.029246+00:00[17:14:35] [INF] [31] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f matroska -init_hw_device vaapi=va:/dev/dri/renderD128,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel qsv -hwaccel_output_format qsv -noautorotate -c:v hevc_qsv -i file:“/Media/movies/From.Dusk.Till.Dawn.1996/From.Dusk.Till.Dawn.1996.4K.HDR.DV.2160p.WEBDL Ita Eng x265-NAHOM.mkv” -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -preset veryfast -b:v 28198120 -maxrate 28198120 -bufsize 56396240 -profile:v:0 high -level 51 -g:v:0 72 -keyint_min:v:0 72 -vf “setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,vpp_qsv=format=nv12” -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename “76467b680c4d17ea44181dd2a4043f44-1.mp4” -start_number 0 -hls_segment_filename “/cache/transcodes/76467b680c4d17ea44181dd2a4043f44%d.mp4” -hls_playlist_type vod -hls_list_size 0 -y “/cache/transcodes/76467b680c4d17ea44181dd2a4043f44.m3u8”
2025-04-30 21:14:35.867705+00:00[17:14:35] [ERR] [20] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 243
2025-04-30 21:14:35.950262+00:00[17:14:35] [ERR] [20] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/c5b48eb6-5623-95f5-47a6-4d52949410bd/hls1/main/-1.mp4.
2025-04-30 21:14:35.950381+00:00MediaBrowser.Common.FfmpegException: FFmpeg exited with code 243
2025-04-30 21:14:35.950401+00:00at MediaBrowser.MediaEncoding.Transcoding.TranscodeManager.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, Guid userId, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory)
2025-04-30 21:14:35.950414+00:00at Jellyfin.Api.Controllers.DynamicHlsController.GetDynamicSegment(StreamingRequestDto streamingRequest, Int32 segmentId)
2025-04-30 21:14:35.950437+00:00at Jellyfin.Api.Controllers.DynamicHlsController.GetHlsVideoSegment(Guid itemId, String playlistId, Int32 segmentId, String container, Int64 runtimeTicks, Int64 actualSegmentLengthTicks, Nullable1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable1 segmentLength, Nullable1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable1 enableAutoStreamCopy, Nullable1 allowVideoStreamCopy, Nullable1 allowAudioStreamCopy, Nullable1 breakOnNonKeyFrames, Nullable1 audioSampleRate, Nullable1 maxAudioBitDepth, Nullable1 audioBitRate, Nullable1 audioChannels, Nullable1 maxAudioChannels, String profile, String level, Nullable1 framerate, Nullable1 maxFramerate, Nullable1 copyTimestamps, Nullable1 startTimeTicks, Nullable1 width, Nullable1 height, Nullable1 maxWidth, Nullable1 maxHeight, Nullable1 videoBitRate, Nullable1 subtitleStreamIndex, Nullable1 subtitleMethod, Nullable1 maxRefFrames, Nullable1 maxVideoBitDepth, Nullable1 requireAvc, Nullable1 deInterlace, Nullable1 requireNonAnamorphic, Nullable1 transcodingMaxAudioChannels, Nullable1 cpuCoreLimit, String liveStreamId, Nullable1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable1 audioStreamIndex, Nullable1 videoStreamIndex, Nullable1 context, Dictionary2 streamOptions, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding) 2025-04-30 21:14:35.950461+00:00at lambda_method1286(Closure, Object) 2025-04-30 21:14:35.950473+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) 2025-04-30 21:14:35.950483+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask)
2025-04-30 21:14:35.950492+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:35.950502+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
2025-04-30 21:14:35.950510+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2025-04-30 21:14:35.950519+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:35.950529+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:35.950539+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
2025-04-30 21:14:35.950549+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2025-04-30 21:14:35.950561+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:35.950571+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
2025-04-30 21:14:35.950581+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
2025-04-30 21:14:35.950590+00:00at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
2025-04-30 21:14:35.950598+00:00at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
2025-04-30 21:14:35.950607+00:00at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
2025-04-30 21:14:35.950617+00:00at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
2025-04-30 21:14:35.950626+00:00at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
2025-04-30 21:14:35.950634+00:00at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:35.950647+00:00at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:35.950661+00:00at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:35.950672+00:00at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
2025-04-30 21:14:35.950680+00:00at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
2025-04-30 21:14:35.950693+00:00at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:35.950708+00:00at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:35.950723+00:00at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
2025-04-30 21:14:35.950740+00:00at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
2025-04-30 21:14:35.950751+00:00at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
2025-04-30 21:14:36.074079+00:00[17:14:36] [INF] [20] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for pipe-jelly. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2025-04-30 21:14:36.088621+00:00[17:14:36] [INF] [20] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) /cache/transcodes/76467b680c4d17ea44181dd2a4043f44.m3u8
2025-04-30 21:14:36.179081+00:00[17:14:36] [INF] [38] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn’t support non-keyframe breaks but one is requested, ignoring that request
2025-04-30 21:14:36.179296+00:00[17:14:36] [INF] [38] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f matroska -init_hw_device vaapi=va:/dev/dri/renderD128,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel qsv -hwaccel_output_format qsv -noautorotate -c:v hevc_qsv -i file:“/Media/movies/From.Dusk.Till.Dawn.1996/From.Dusk.Till.Dawn.1996.4K.HDR.DV.2160p.WEBDL Ita Eng x265-NAHOM.mkv” -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -preset veryfast -b:v 28198120 -maxrate 28198120 -bufsize 56396240 -profile:v:0 high -level 51 -g:v:0 72 -keyint_min:v:0 72 -vf “setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,vpp_qsv=format=nv12” -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename “3330018b1cf277c651350f54dd16dbbf-1.mp4” -start_number 0 -hls_segment_filename “/cache/transcodes/3330018b1cf277c651350f54dd16dbbf%d.mp4” -hls_playlist_type vod -hls_list_size 0 -y “/cache/transcodes/3330018b1cf277c651350f54dd16dbbf.m3u8”
2025-04-30 21:14:37.232733+00:00[17:14:37] [ERR] [39] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 243
2025-04-30 21:14:37.306275+00:00[17:14:37] [ERR] [39] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/c5b48eb6-5623-95f5-47a6-4d52949410bd/hls1/main/-1.mp4.
2025-04-30 21:14:37.306365+00:00MediaBrowser.Common.FfmpegException: FFmpeg exited with code 243
2025-04-30 21:14:37.306384+00:00at MediaBrowser.MediaEncoding.Transcoding.TranscodeManager.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, Guid userId, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory)
2025-04-30 21:14:37.306399+00:00at Jellyfin.Api.Controllers.DynamicHlsController.GetDynamicSegment(StreamingRequestDto streamingRequest, Int32 segmentId)
2025-04-30 21:14:37.306416+00:00at Jellyfin.Api.Controllers.DynamicHlsController.GetHlsVideoSegment(Guid itemId, String playlistId, Int32 segmentId, String container, Int64 runtimeTicks, Int64 actualSegmentLengthTicks, Nullable1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable1 segmentLength, Nullable1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable1 enableAutoStreamCopy, Nullable1 allowVideoStreamCopy, Nullable1 allowAudioStreamCopy, Nullable1 breakOnNonKeyFrames, Nullable1 audioSampleRate, Nullable1 maxAudioBitDepth, Nullable1 audioBitRate, Nullable1 audioChannels, Nullable1 maxAudioChannels, String profile, String level, Nullable1 framerate, Nullable1 maxFramerate, Nullable1 copyTimestamps, Nullable1 startTimeTicks, Nullable1 width, Nullable1 height, Nullable1 maxWidth, Nullable1 maxHeight, Nullable1 videoBitRate, Nullable1 subtitleStreamIndex, Nullable1 subtitleMethod, Nullable1 maxRefFrames, Nullable1 maxVideoBitDepth, Nullable1 requireAvc, Nullable1 deInterlace, Nullable1 requireNonAnamorphic, Nullable1 transcodingMaxAudioChannels, Nullable1 cpuCoreLimit, String liveStreamId, Nullable1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable1 audioStreamIndex, Nullable1 videoStreamIndex, Nullable1 context, Dictionary2 streamOptions, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding) 2025-04-30 21:14:37.306444+00:00at lambda_method1286(Closure, Object) 2025-04-30 21:14:37.306459+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) 2025-04-30 21:14:37.306474+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask)
2025-04-30 21:14:37.306488+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:37.306503+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
2025-04-30 21:14:37.306516+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2025-04-30 21:14:37.306530+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:37.306545+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:37.306559+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
2025-04-30 21:14:37.306572+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2025-04-30 21:14:37.306586+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:37.306600+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
2025-04-30 21:14:37.306615+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
2025-04-30 21:14:37.306629+00:00at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
2025-04-30 21:14:37.306643+00:00at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
2025-04-30 21:14:37.306659+00:00at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
2025-04-30 21:14:37.306673+00:00at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
2025-04-30 21:14:37.306687+00:00at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
2025-04-30 21:14:37.306701+00:00at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:37.306715+00:00at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:37.306729+00:00at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:37.306742+00:00at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
2025-04-30 21:14:37.306757+00:00at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
2025-04-30 21:14:37.306770+00:00at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:37.306787+00:00at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:37.306801+00:00at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
2025-04-30 21:14:37.306815+00:00at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
2025-04-30 21:14:37.306829+00:00at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
2025-04-30 21:14:37.327195+00:00[17:14:37] [INF] [39] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for pipe-jelly. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2025-04-30 21:14:37.336889+00:00[17:14:37] [INF] [20] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) /cache/transcodes/3330018b1cf277c651350f54dd16dbbf.m3u8
2025-04-30 21:14:37.411767+00:00[17:14:37] [INF] [39] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn’t support non-keyframe breaks but one is requested, ignoring that request
2025-04-30 21:14:37.411969+00:00[17:14:37] [INF] [39] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f matroska -init_hw_device vaapi=va:/dev/dri/renderD128,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel qsv -hwaccel_output_format qsv -noautorotate -c:v hevc_qsv -i file:“/Media/movies/From.Dusk.Till.Dawn.1996/From.Dusk.Till.Dawn.1996.4K.HDR.DV.2160p.WEBDL Ita Eng x265-NAHOM.mkv” -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -preset veryfast -b:v 28198120 -maxrate 28198120 -bufsize 56396240 -profile:v:0 high -level 51 -g:v:0 72 -keyint_min:v:0 72 -vf “setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,vpp_qsv=format=nv12” -codec:a:0 libfdk_aac -ac 6 -ab 640000 -ar 48000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename “6b09621646ab6c0e60a59a5ae7e2e251-1.mp4” -start_number 0 -hls_segment_filename “/cache/transcodes/6b09621646ab6c0e60a59a5ae7e2e251%d.mp4” -hls_playlist_type vod -hls_list_size 0 -y “/cache/transcodes/6b09621646ab6c0e60a59a5ae7e2e251.m3u8”
2025-04-30 21:14:38.268315+00:00[17:14:38] [ERR] [38] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 243
2025-04-30 21:14:38.329720+00:00[17:14:38] [ERR] [38] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/c5b48eb6-5623-95f5-47a6-4d52949410bd/hls1/main/-1.mp4.
2025-04-30 21:14:38.329809+00:00MediaBrowser.Common.FfmpegException: FFmpeg exited with code 243
2025-04-30 21:14:38.329828+00:00at MediaBrowser.MediaEncoding.Transcoding.TranscodeManager.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, Guid userId, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory)
2025-04-30 21:14:38.329846+00:00at Jellyfin.Api.Controllers.DynamicHlsController.GetDynamicSegment(StreamingRequestDto streamingRequest, Int32 segmentId)
2025-04-30 21:14:38.329863+00:00at Jellyfin.Api.Controllers.DynamicHlsController.GetHlsVideoSegment(Guid itemId, String playlistId, Int32 segmentId, String container, Int64 runtimeTicks, Int64 actualSegmentLengthTicks, Nullable1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable1 segmentLength, Nullable1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable1 enableAutoStreamCopy, Nullable1 allowVideoStreamCopy, Nullable1 allowAudioStreamCopy, Nullable1 breakOnNonKeyFrames, Nullable1 audioSampleRate, Nullable1 maxAudioBitDepth, Nullable1 audioBitRate, Nullable1 audioChannels, Nullable1 maxAudioChannels, String profile, String level, Nullable1 framerate, Nullable1 maxFramerate, Nullable1 copyTimestamps, Nullable1 startTimeTicks, Nullable1 width, Nullable1 height, Nullable1 maxWidth, Nullable1 maxHeight, Nullable1 videoBitRate, Nullable1 subtitleStreamIndex, Nullable1 subtitleMethod, Nullable1 maxRefFrames, Nullable1 maxVideoBitDepth, Nullable1 requireAvc, Nullable1 deInterlace, Nullable1 requireNonAnamorphic, Nullable1 transcodingMaxAudioChannels, Nullable1 cpuCoreLimit, String liveStreamId, Nullable1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable1 audioStreamIndex, Nullable1 videoStreamIndex, Nullable1 context, Dictionary2 streamOptions, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding) 2025-04-30 21:14:38.329884+00:00at lambda_method1286(Closure, Object) 2025-04-30 21:14:38.329900+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) 2025-04-30 21:14:38.329917+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask)
2025-04-30 21:14:38.329932+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:38.329946+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
2025-04-30 21:14:38.329959+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2025-04-30 21:14:38.329974+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:38.329989+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:38.330004+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
2025-04-30 21:14:38.330017+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2025-04-30 21:14:38.330031+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2025-04-30 21:14:38.330045+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
2025-04-30 21:14:38.330060+00:00at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
2025-04-30 21:14:38.330077+00:00at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
2025-04-30 21:14:38.330091+00:00at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
2025-04-30 21:14:38.330105+00:00at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
2025-04-30 21:14:38.330118+00:00at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
2025-04-30 21:14:38.330133+00:00at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
2025-04-30 21:14:38.330147+00:00at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:38.330162+00:00at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:38.330176+00:00at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:38.330189+00:00at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
2025-04-30 21:14:38.330205+00:00at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
2025-04-30 21:14:38.330219+00:00at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:38.330234+00:00at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
2025-04-30 21:14:38.330249+00:00at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
2025-04-30 21:14:38.330265+00:00at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
2025-04-30 21:14:38.330280+00:00at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
2025-04-30 21:14:38.360068+00:00[17:14:38] [INF] [39] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) /cache/transcodes/6b09621646ab6c0e60a59a5ae7e2e251.m3u8

fixed the issue. I went to the dataset I had for the application configuration and made sure the permissions were recursive in child data. That fixed the issue.

You could really do with more memory than the extreme minimum of 8GB if you want to run apps like Jellyfin.

How much ram do you recommend?

If you are only running a few apps and not VMs then only a few more GB will make a big difference.

So, if it were me I would open the base and find the 8GB DDR5 memory card and get the spec, and then order a matching 8GB card to give you 16GB total.

(If you think you will run VMs in the future, then buy a 32GB card for the 2nd slot instead.)

P.S. I assume that you have installed TrueNAS on the 128GB SSD that comes with the box. If you have not already done so, I would also buy a pair of 2280 NVMe cards to go in the M.2 slots in the base alongside the memory for use as an apps pool to hold both the Jellyfin app and the Jellyfin metadata (and for use as a fast temporary storage for transcoding).