Got the following error when trying to do HW transcoding with an Arc A380 on 6.12-RC6. Any ideas on what the problem is? Same error on VA-API and QSV.
[12:33:34] [INF] [55] Jellyfin.Api.Helpers.TranscodingJobHelper: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device opencl=ocl:0.0 -filter_hw_device ocl -hwaccel vaapi -hwaccel_output_format vaapi -autorotate 0 -canvas_size 1920x1080 -i file:"/JF_MOVIES/4K Dolby Vision Hybrid Remuxes/Spider Man/Spider Man (2002).mkv" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:0 -codec:v:0 h264_vaapi -rc_mode VBR -b:v 58071965 -maxrate 58071965 -bufsize 116143930 -force_key_frames:0 "expr:gte(t,0+n_forced*3)" -filter_complex "[0:5]scale=s=3840x2160:flags=fast_bilinear[sub];[0:0]setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,hwdownload,format=p010le,hwupload=derive_device=opencl,tonemap_opencl=format=nv12:p=bt709:t=bt709:m=bt709:tonemap=bt2390:peak=100:desat=0,hwdownload,format=nv12[main];[main][sub]overlay=eof_action=pass:shortest=1:repeatlast=0,hwupload_vaapi" -start_at_zero -codec:a:0 libfdk_aac -ac 2 -ab 384000 -af "volume=2" -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_segment_filename "/config/transcodes/7c1b8af6487f3464e5b5a4f9349fece8%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/7c1b8af6487f3464e5b5a4f9349fece8.m3u8"
[12:34:26] [ERR] [66] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1
[12:34:26] [INF] [47] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
and
[12:52:16] [ERR] [27] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/d1e4daad-8d59-7b52-d5e8-b052bfb1963b/hls1/main/0.ts.
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)
at Jellyfin.Api.Controllers.DynamicHlsController.GetDynamicSegment(StreamingRequestDto streamingRequest, Int32 segmentId)
at Jellyfin.Api.Controllers.DynamicHlsController.GetHlsVideoSegment(Guid itemId, String playlistId, Int32 segmentId, String container, Int64 runtimeTicks, Int64 actualSegmentLengthTicks, 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 maxWidth, Nullable`1 maxHeight, 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)
at lambda_method1263(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)
at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Jellyfin.Server.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
ffmpeg log output:
ffmpeg version 5.1.3-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 10 (Debian 10.2.1-6)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --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-libopenmpt --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
[matroska,webm @ 0x55ecd0928000] Stream #14: not enough frames to estimate rate; consider increasing probesize
[matroska,webm @ 0x55ecd0928000] Stream #15: not enough frames to estimate rate; consider increasing probesize
[matroska,webm @ 0x55ecd0928000] Could not find codec parameters for stream 5 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x55ecd0928000] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x55ecd0928000] Could not find codec parameters for stream 10 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
[matroska,webm @ 0x55ecd0928000] Could not find codec parameters for stream 12 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
Input #0, matroska,webm, from 'file:/JF_MOVIES/4K Dolby Vision Hybrid Remuxes/Spider Man/Spider Man (2002).mkv':
...
Stream #0:15: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 640x360 [SAR 72:72 DAR 16:9], 90k tbr, 90k tbn (attached pic)
Metadata:
filename : cover.jpg
mimetype : image/jpeg
Stream mapping:
Stream #0:0 (hevc) -> setparams:default (graph 0)
Stream #0:5 (pgssub) -> scale:default (graph 0)
overlay_qsv:default (graph 0) -> Stream #0:0 (h264_qsv)
Stream #0:1 -> #0:1 (dts (dca) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[hevc @ 0x55ecd0d18440] Failed to end picture decode issue: 23 (internal decoding error).
[hevc @ 0x55ecd0d18440] hardware accelerator failed to decode picture
[hevc @ 0x55ecd0c8e5c0] Could not find ref with POC 0
[hevc @ 0x55ecd0c8e5c0] Failed to end picture decode issue: 23 (internal decoding error).
[hevc @ 0x55ecd0c8e5c0] hardware accelerator failed to decode picture
[hevc @ 0x55ecd0c6a6c0] Could not find ref with POC 3
[hevc @ 0x55ecd0c6a6c0] Failed to end picture decode issue: 23 (internal decoding error).
[hevc @ 0x55ecd0c6a6c0] hardware accelerator failed to decode picture
[hevc @ 0x55ecd0c70e00] Could not find ref with POC 1
[hevc @ 0x55ecd0c70e00] Failed to end picture decode issue: 23 (internal decoding error).
[hevc @ 0x55ecd0c70e00] hardware accelerator failed to decode picture
[hevc @ 0x55ecd1550700] Failed to end picture decode issue: 23 (internal decoding error).
[hevc @ 0x55ecd1550700] hardware accelerator failed to decode picture
[hevc @ 0x55ecd1612940] Could not find ref with POC 6
[hevc @ 0x55ecd1612940] Failed to end picture decode issue: 23 (internal decoding error).
[hevc @ 0x55ecd1612940] hardware accelerator failed to decode picture
[hevc @ 0x55ecd16d4b80] Could not find ref with POC 4
[hevc @ 0x55ecd16d4b80] Failed to end picture decode issue: 23 (internal decoding error).
[hevc @ 0x55ecd16d4b80] hardware accelerator failed to decode picture
[hevc @ 0x55ecd1796dc0] Failed to end picture decode issue: 23 (internal decoding error).
[hevc @ 0x55ecd1796dc0] hardware accelerator failed to decode picture
[hevc @ 0x55ecd1859240] Could not find ref with POC 9
[hevc @ 0x55ecd1859240] Failed to end picture decode issue: 23 (internal decoding error).
[hevc @ 0x55ecd1859240] hardware accelerator failed to decode picture
[hevc @ 0x55ecd191b740] Could not find ref with POC 7
[hevc @ 0x55ecd191b740] Failed to end picture decode issue: 23 (internal decoding error).
[hevc @ 0x55ecd191b740] hardware accelerator failed to decode picture
[hevc @ 0x55ecd19ddfc0] Failed to end picture decode issue: 23 (internal decoding error).
[hevc @ 0x55ecd19ddfc0] hardware accelerator failed to decode picture
[hevc @ 0x55ecd1aa0800] Could not find ref with POC 12
[hevc @ 0x55ecd1aa0800] Failed to end picture decode issue: 23 (internal decoding error).
[hevc @ 0x55ecd1aa0800] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Input/output error
[hevc @ 0x55ecd1b63040] Could not find ref with POC 10
[hevc @ 0x55ecd1b63040] Failed to end picture decode issue: 23 (internal decoding error).
[hevc @ 0x55ecd1b63040] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Input/output error
[hevc @ 0x55ecd0d18440] Failed to end picture decode issue: 23 (internal decoding error).
[hevc @ 0x55ecd0d18440] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Input/output error
[hevc @ 0x55ecd0c8e5c0] Could not find ref with POC 15
[hevc @ 0x55ecd0c8e5c0] Failed to end picture decode issue: 23 (internal decoding error).
[hevc @ 0x55ecd0c8e5c0] hardware accelerator failed to decode picture
Error while decoding stream #0:0: Input/output error
I followed the Jellyfin docker tutorial but don't know how to update initramfs on Unraid to enable HuC and GuC, maybe that's the issue?