truecharts / charts

Community Helm Chart Repository
https://truecharts.org
GNU Affero General Public License v3.0
1.13k stars 622 forks source link

Jellyfin Failure to Utilize AMD GPU transcoding with VAAPI #7975

Closed vianchiel closed 1 year ago

vianchiel commented 1 year ago

App Name

Jellyfin

SCALE Version

22.12.2

App Version

10.8.9_14.0.2

Application Events

Screenshots: https://imgur.com/a/o0W1XSp

Application Logs

2023-04-13T15:19:21.772327704Z [23:19:21] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for [REDACTED]. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2023-04-13T15:19:21.772516486Z [23:19:21] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: RemoteClientBitrateLimit: 800000000, RemoteIp: 192.168.10.44, IsInLocalNetwork: True
2023-04-13T15:19:21.836112981Z [23:19:21] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile=Anonymous Profile, Path=/mediaLibrary/Anime Movies/Fate Stay Night Heavens Feel/Part 1/[VCB-Studio] Fate stay night Heaven's Feel I - presage flower [Ma10p_1080p]/[VCB-Studio] Fate stay night Heaven's Feel I - presage flower [Ma10p_1080p][x265_flac].mkv, AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=SubtitleCodecNotSupported ) media:/videos/87c7e372-895c-4b0c-6a64-6d7142e6f2b9/stream.mp4?MediaSourceId=87c7e372895c4b0c6a646d7142e6f2b9&VideoCodec=h264,hevc,vp9,av1,hevc&AudioCodec=flac&AudioStreamIndex=2&SubtitleStreamIndex=3&VideoBitrate=139059047&AudioBitrate=940953&AudioSampleRate=48000&MaxFramerate=23.976025&api_key=<token>&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=b887c766c00b1146b5493728cd9ced9d&hevc-level=123&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=2&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&hevc-rangetype=SDR&hevc-deinterlace=true&vp9-rangetype=SDR,HDR10,HLG&av1-rangetype=SDR,HDR10,HLG&TranscodeReasons=SubtitleCodecNotSupported
2023-04-13T15:19:22.214996758Z [23:19:22] [INF] [26] MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor: /usr/lib/jellyfin-ffmpeg/ffmpeg -dump_attachment:t "" -y -i file:"/mediaLibrary/Anime Movies/Fate Stay Night Heavens Feel/Part 1/[VCB-Studio] Fate stay night Heaven's Feel I - presage flower [Ma10p_1080p]/[VCB-Studio] Fate stay night Heaven's Feel I - presage flower [Ma10p_1080p][x265_flac].mkv" -t 0 -f null null
2023-04-13T15:19:22.227100179Z ffmpeg version 5.1.2-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
2023-04-13T15:19:22.227162548Z   built with gcc 10 (Debian 10.2.1-6)
2023-04-13T15:19:22.227171558Z   configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
2023-04-13T15:19:22.227187621Z   libavutil      57. 28.100 / 57. 28.100
2023-04-13T15:19:22.227197120Z   libavcodec     59. 37.100 / 59. 37.100
2023-04-13T15:19:22.227205640Z   libavformat    59. 27.100 / 59. 27.100
2023-04-13T15:19:22.227214161Z   libavdevice    59.  7.100 / 59.  7.100
2023-04-13T15:19:22.227226453Z   libavfilter     8. 44.100 /  8. 44.100
2023-04-13T15:19:22.227236860Z   libswscale      6.  7.100 /  6.  7.100
2023-04-13T15:19:22.227246358Z   libswresample   4.  7.100 /  4.  7.100
2023-04-13T15:19:22.227255298Z   libpostproc    56.  6.100 / 56.  6.100
2023-04-13T15:19:22.229330852Z [matroska,webm @ 0x55c9342981c0] Could not find codec parameters for stream 2 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
2023-04-13T15:19:22.229406561Z Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
2023-04-13T15:19:22.229421716Z [matroska,webm @ 0x55c9342981c0] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
2023-04-13T15:19:22.229440155Z Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
2023-04-13T15:19:22.229663508Z Input #0, matroska,webm, from 'file:/mediaLibrary/Anime Movies/Fate Stay Night Heavens Feel/Part 1/[VCB-Studio] Fate stay night Heaven's Feel I - presage flower [Ma10p_1080p]/[VCB-Studio] Fate stay night Heaven's Feel I - presage flower [Ma10p_1080p][x265_flac].mkv':
2023-04-13T15:19:22.229686207Z   Metadata:
2023-04-13T15:19:22.229698988Z     encoder         : libebml v1.3.5 + libmatroska v1.4.8
2023-04-13T15:19:22.229714143Z     creation_time   : 2018-05-11T03:53:26.000000Z
2023-04-13T15:19:22.229731674Z   Duration: 02:00:35.46, start: 0.000000, bitrate: 7624 kb/s
2023-04-13T15:19:22.229746829Z   Chapters:
2023-04-13T15:19:22.229871217Z     Chapter #0:0: start 0.000000, end 259.885000
2023-04-13T15:19:22.229894335Z       Metadata:
2023-04-13T15:19:22.229907116Z         title           : Chapter 01
2023-04-13T15:19:22.229919478Z     Chapter #0:1: start 259.885000, end 547.839000
2023-04-13T15:19:22.229932189Z       Metadata:
2023-04-13T15:19:22.230016907Z         title           : Chapter 02
2023-04-13T15:19:22.230042469Z     Chapter #0:2: start 547.839000, end 752.126000
2023-04-13T15:19:22.230054761Z       Metadata:
2023-04-13T15:19:22.230067053Z         title           : Chapter 03
2023-04-13T15:19:22.230079346Z     Chapter #0:3: start 752.126000, end 1187.395000
2023-04-13T15:19:22.230106304Z       Metadata:
2023-04-13T15:19:22.230118178Z         title           : Chapter 04
2023-04-13T15:19:22.230142832Z     Chapter #0:4: start 1187.395000, end 1604.102000
2023-04-13T15:19:22.230156032Z       Metadata:
2023-04-13T15:19:22.230168813Z         title           : Chapter 05
2023-04-13T15:19:22.230187251Z     Chapter #0:5: start 1604.102000, end 1798.005000
2023-04-13T15:19:22.230199543Z       Metadata:
2023-04-13T15:19:22.230212743Z         title           : Chapter 06
2023-04-13T15:19:22.230224616Z     Chapter #0:6: start 1798.005000, end 2090.922000
2023-04-13T15:19:22.230242635Z       Metadata:
2023-04-13T15:19:22.230254369Z         title           : Chapter 07
2023-04-13T15:19:22.230267709Z     Chapter #0:7: start 2090.922000, end 2410.992000
2023-04-13T15:19:22.230278534Z       Metadata:
2023-04-13T15:19:22.230290826Z         title           : Chapter 08
2023-04-13T15:19:22.230302210Z     Chapter #0:8: start 2410.992000, end 2827.575000
2023-04-13T15:19:22.230321137Z       Metadata:
2023-04-13T15:19:22.230335315Z         title           : Chapter 09
2023-04-13T15:19:22.230350471Z     Chapter #0:9: start 2827.575000, end 3139.178000
2023-04-13T15:19:22.230364160Z       Metadata:
2023-04-13T15:19:22.230387347Z         title           : Chapter 10
2023-04-13T15:19:22.230402014Z     Chapter #0:10: start 3139.178000, end 3546.543000
2023-04-13T15:19:22.230417659Z       Metadata:
2023-04-13T15:19:22.230432814Z         title           : Chapter 11
2023-04-13T15:19:22.230447481Z     Chapter #0:11: start 3546.543000, end 4056.886000
2023-04-13T15:19:22.230473043Z       Metadata:
2023-04-13T15:19:22.230485754Z         title           : Chapter 12
2023-04-13T15:19:22.230498605Z     Chapter #0:12: start 4056.886000, end 4541.120000
2023-04-13T15:19:22.230512713Z       Metadata:
2023-04-13T15:19:22.230526472Z         title           : Chapter 13
2023-04-13T15:19:22.230548263Z     Chapter #0:13: start 4541.120000, end 4832.202000
2023-04-13T15:19:22.230563348Z       Metadata:
2023-04-13T15:19:22.230576129Z         title           : Chapter 14
2023-04-13T15:19:22.230592193Z     Chapter #0:14: start 4832.202000, end 5089.418000
2023-04-13T15:19:22.230607349Z       Metadata:
2023-04-13T15:19:22.230626276Z         title           : Chapter 15
2023-04-13T15:19:22.230638638Z     Chapter #0:15: start 5089.418000, end 5456.743000
2023-04-13T15:19:22.230651838Z       Metadata:
2023-04-13T15:19:22.230664619Z         title           : Chapter 16
2023-04-13T15:19:22.230677889Z     Chapter #0:16: start 5456.743000, end 5923.417000
2023-04-13T15:19:22.230699121Z       Metadata:
2023-04-13T15:19:22.230711482Z         title           : Chapter 17
2023-04-13T15:19:22.230723705Z     Chapter #0:17: start 5923.417000, end 6251.370000
2023-04-13T15:19:22.230735578Z       Metadata:
2023-04-13T15:19:22.230747870Z         title           : Chapter 18
2023-04-13T15:19:22.230773432Z     Chapter #0:18: start 6251.370000, end 6688.473000
2023-04-13T15:19:22.230791870Z       Metadata:
2023-04-13T15:19:22.230805140Z         title           : Chapter 19
2023-04-13T15:19:22.230820785Z     Chapter #0:19: start 6688.473000, end 6819.312000
2023-04-13T15:19:22.230842994Z       Metadata:
2023-04-13T15:19:22.230858569Z         title           : Chapter 20
2023-04-13T15:19:22.230873236Z     Chapter #0:20: start 6819.312000, end 7161.154000
2023-04-13T15:19:22.230889788Z       Metadata:
2023-04-13T15:19:22.230906341Z         title           : Chapter 21
2023-04-13T15:19:22.230941401Z     Chapter #0:21: start 7161.154000, end 7235.456000
2023-04-13T15:19:22.230957465Z       Metadata:
2023-04-13T15:19:22.230974506Z         title           : Chapter 22
2023-04-13T15:19:22.230993014Z   Stream #0:0(jpn): Video: hevc (Main 10), yuv420p10le(tv, bt709/unknown/unknown), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)
2023-04-13T15:19:22.231018995Z     Metadata:
2023-04-13T15:19:22.231034640Z       BPS-eng         : 6570048
2023-04-13T15:19:22.231052100Z       DURATION-eng    : 02:00:35.437000000
2023-04-13T15:19:22.231068234Z       NUMBER_OF_FRAMES-eng: 173477
2023-04-13T15:19:22.231083808Z       NUMBER_OF_BYTES-eng: 5942146843
2023-04-13T15:19:22.231112164Z       _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 ('At The End Of The World') 64-bit
2023-04-13T15:19:22.231127809Z       _STATISTICS_WRITING_DATE_UTC-eng: 2018-05-11 03:53:26
2023-04-13T15:19:22.231143872Z       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
2023-04-13T15:19:22.231159517Z   Stream #0:1(jpn): Audio: flac, 48000 Hz, stereo, s32 (24 bit) (default)
2023-04-13T15:19:22.231188850Z     Metadata:
2023-04-13T15:19:22.231206869Z       BPS-eng         : 940953
2023-04-13T15:19:22.231222863Z       DURATION-eng    : 02:00:35.456000000
2023-04-13T15:19:22.231239485Z       NUMBER_OF_FRAMES-eng: 84791
2023-04-13T15:19:22.231255549Z       NUMBER_OF_BYTES-eng: 851028582
2023-04-13T15:19:22.231283486Z       _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 ('At The End Of The World') 64-bit
2023-04-13T15:19:22.231299619Z       _STATISTICS_WRITING_DATE_UTC-eng: 2018-05-11 03:53:26
2023-04-13T15:19:22.231315683Z       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
2023-04-13T15:19:22.231342083Z   Stream #0:2(jpn): Subtitle: hdmv_pgs_subtitle (default)
2023-04-13T15:19:22.231359124Z     Metadata:
2023-04-13T15:19:22.231374350Z       BPS-eng         : 170756
2023-04-13T15:19:22.231389016Z       DURATION-eng    : 01:59:52.310000000
2023-04-13T15:19:22.231404102Z       NUMBER_OF_FRAMES-eng: 8502
2023-04-13T15:19:22.231429664Z       NUMBER_OF_BYTES-eng: 153516718
2023-04-13T15:19:22.231444750Z       _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 ('At The End Of The World') 64-bit
2023-04-13T15:19:22.231459417Z       _STATISTICS_WRITING_DATE_UTC-eng: 2018-05-11 03:53:26
2023-04-13T15:19:22.231475061Z       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
2023-04-13T15:19:22.231498249Z   Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
2023-04-13T15:19:22.231512008Z     Metadata:
2023-04-13T15:19:22.231527093Z       BPS-eng         : 137817
2023-04-13T15:19:22.231543227Z       DURATION-eng    : 02:00:01.235000000
2023-04-13T15:19:22.231558802Z       NUMBER_OF_FRAMES-eng: 6017
2023-04-13T15:19:22.231588624Z       NUMBER_OF_BYTES-eng: 124056935
2023-04-13T15:19:22.231603849Z       _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 ('At The End Of The World') 64-bit
2023-04-13T15:19:22.231619354Z       _STATISTICS_WRITING_DATE_UTC-eng: 2018-05-11 03:53:26
2023-04-13T15:19:22.231634999Z       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
2023-04-13T15:19:22.234419726Z Stream mapping:
2023-04-13T15:19:22.234468475Z   Stream #0:0 -> #0:0 (hevc (native) -> wrapped_avframe (native))
2023-04-13T15:19:22.234476577Z   Stream #0:1 -> #0:1 (flac (native) -> pcm_s16le (native))
2023-04-13T15:19:22.234484120Z Press [q] to stop, [?] for help
2023-04-13T15:19:22.288621958Z Output #0, null, to 'null':
2023-04-13T15:19:22.288706117Z   Metadata:
2023-04-13T15:19:22.288716523Z     encoder         : Lavf59.27.100
2023-04-13T15:19:22.288725044Z   Chapters:
2023-04-13T15:19:22.288734542Z     Chapter #0:0: start 0.000000, end 0.000000
2023-04-13T15:19:22.288782803Z       Metadata:
2023-04-13T15:19:22.288791812Z         title           : Chapter 01
2023-04-13T15:19:22.288805501Z   Stream #0:0(jpn): Video: wrapped_avframe, yuv420p10le(tv, bt709/unknown/unknown, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn (default)
2023-04-13T15:19:22.288815908Z     Metadata:
2023-04-13T15:19:22.288837210Z       BPS-eng         : 6570048
2023-04-13T15:19:22.288846638Z       DURATION-eng    : 02:00:35.437000000
2023-04-13T15:19:22.288856556Z       NUMBER_OF_FRAMES-eng: 173477
2023-04-13T15:19:22.288865565Z       NUMBER_OF_BYTES-eng: 5942146843
2023-04-13T15:19:22.288875064Z       _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 ('At The End Of The World') 64-bit
2023-04-13T15:19:22.288896784Z       _STATISTICS_WRITING_DATE_UTC-eng: 2018-05-11 03:53:26
2023-04-13T15:19:22.288904886Z       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
2023-04-13T15:19:22.288914315Z       encoder         : Lavc59.37.100 wrapped_avframe
2023-04-13T15:19:22.288922835Z   Stream #0:1(jpn): Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s (default)
2023-04-13T15:19:22.288943648Z     Metadata:
2023-04-13T15:19:22.288951680Z       BPS-eng         : 940953
2023-04-13T15:19:22.288960690Z       DURATION-eng    : 02:00:35.456000000
2023-04-13T15:19:22.288968302Z       NUMBER_OF_FRAMES-eng: 84791
2023-04-13T15:19:22.288987648Z       NUMBER_OF_BYTES-eng: 851028582
2023-04-13T15:19:22.288996169Z       _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 ('At The End Of The World') 64-bit
2023-04-13T15:19:22.289006087Z       _STATISTICS_WRITING_DATE_UTC-eng: 2018-05-11 03:53:26
2023-04-13T15:19:22.289014677Z       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
2023-04-13T15:19:22.289034512Z       encoder         : Lavc59.37.100 pcm_s16le
2023-04-13T15:19:22.290086677Z frame=    0 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed=   0x    
frame=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=   0x    
2023-04-13T15:19:22.290129350Z video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
2023-04-13T15:19:22.290160011Z Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
2023-04-13T15:19:22.308533677Z [23:19:22] [INF] [26] MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor: ffmpeg attachment extraction completed for /cache/attachments/87c7e372895c4b0c6a646d7142e6f2b9 to /cache/attachments/87c7e372895c4b0c6a646d7142e6f2b9
2023-04-13T15:19:22.312399064Z [23:19:22] [INF] [26] Jellyfin.Api.Helpers.TranscodingJobHelper: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device vaapi=va:/dev/dri/renderD128 -filter_hw_device va -hwaccel vaapi -hwaccel_output_format vaapi -autorotate 0 -canvas_size 1920x1080 -i file:"/mediaLibrary/Anime Movies/Fate Stay Night Heavens Feel/Part 1/[VCB-Studio] Fate stay night Heaven's Feel I - presage flower [Ma10p_1080p]/[VCB-Studio] Fate stay night Heaven's Feel I - presage flower [Ma10p_1080p][x265_flac].mkv" -autoscale 0 -map 0:0 -map 0:1 -codec:v:0 h264_vaapi -force_key_frames "expr:gte(t,n_forced*5)" -filter_complex "[0:2]scale=s=1920x1080:flags=fast_bilinear[sub];[0:0]setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12,hwdownload,format=nv12[main];[main][sub]overlay=eof_action=pass:shortest=1:repeatlast=0,hwupload_vaapi" -rc_mode VBR -b:v 12707278 -maxrate 12707278 -bufsize 25414556 -profile:v:0 high -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 copy -f mp4 -movflags frag_keyframe+empty_moov -y "/config/transcodes/78fe8591d088cd54d9774e4daf6c0c4e.mp4"
2023-04-13T15:19:22.324867757Z [23:19:22] [ERR] [26] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1
2023-04-13T15:19:22.346054087Z [23:19:22] [ERR] [8] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/87c7e372-895c-4b0c-6a64-6d7142e6f2b9/stream.mp4.
2023-04-13T15:19:22.346140272Z MediaBrowser.Common.FfmpegException: FFmpeg exited with code 1
2023-04-13T15:19:22.346154380Z    at Jellyfin.Api.Helpers.TranscodingJobHelper.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, HttpRequest request, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory)
2023-04-13T15:19:22.346171002Z    at Jellyfin.Api.Helpers.FileStreamResponseHelpers.GetTranscodedFile(StreamState state, Boolean isHeadRequest, HttpContext httpContext, TranscodingJobHelper transcodingJobHelper, String ffmpegCommandLineArguments, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource)
2023-04-13T15:19:22.346200266Z    at Jellyfin.Api.Controllers.VideosController.GetVideoStream(Guid itemId, String container, Nullable`1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable`1 segmentLength, Nullable`1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable`1 enableAutoStreamCopy, Nullable`1 allowVideoStreamCopy, Nullable`1 allowAudioStreamCopy, Nullable`1 breakOnNonKeyFrames, Nullable`1 audioSampleRate, Nullable`1 maxAudioBitDepth, Nullable`1 audioBitRate, Nullable`1 audioChannels, Nullable`1 maxAudioChannels, String profile, String level, Nullable`1 framerate, Nullable`1 maxFramerate, Nullable`1 copyTimestamps, Nullable`1 startTimeTicks, Nullable`1 width, Nullable`1 height, Nullable`1 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)
2023-04-13T15:19:22.346218215Z    at lambda_method1082(Closure , Object )
2023-04-13T15:19:22.346227713Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
2023-04-13T15:19:22.346243777Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
2023-04-13T15:19:22.346253275Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-04-13T15:19:22.346269339Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
2023-04-13T15:19:22.346279326Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2023-04-13T15:19:22.346292526Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-04-13T15:19:22.346308171Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-04-13T15:19:22.346321860Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
2023-04-13T15:19:22.346331777Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2023-04-13T15:19:22.346345606Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-04-13T15:19:22.346356851Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
2023-04-13T15:19:22.346371098Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
2023-04-13T15:19:22.346381016Z    at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
2023-04-13T15:19:22.346390933Z    at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
2023-04-13T15:19:22.346404692Z    at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
2023-04-13T15:19:22.346415029Z    at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
2023-04-13T15:19:22.346428368Z    at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
2023-04-13T15:19:22.346436889Z    at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
2023-04-13T15:19:22.346446318Z    at Jellyfin.Server.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
2023-04-13T15:19:22.346462381Z    at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
2023-04-13T15:19:22.346471391Z    at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
2023-04-13T15:19:22.346481308Z    at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
2023-04-13T15:19:22.346495975Z    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
2023-04-13T15:19:22.346505404Z    at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
2023-04-13T15:19:22.346514902Z    at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
2023-04-13T15:19:22.346529150Z    at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
2023-04-13T15:19:22.346538998Z    at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
2023-04-13T15:19:22.346548007Z    at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
2023-04-13T15:19:22.570646029Z [23:19:22] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for [REDACTED]. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2023-04-13T15:19:22.570842354Z [23:19:22] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: RemoteClientBitrateLimit: 800000000, RemoteIp: 192.168.10.44, IsInLocalNetwork: True
2023-04-13T15:19:22.572034691Z [23:19:22] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile=Anonymous Profile, Path=/mediaLibrary/Anime Movies/Fate Stay Night Heavens Feel/Part 1/[VCB-Studio] Fate stay night Heaven's Feel I - presage flower [Ma10p_1080p]/[VCB-Studio] Fate stay night Heaven's Feel I - presage flower [Ma10p_1080p][x265_flac].mkv, AudioStreamIndex=2, SubtitleStreamIndex=3 ) => ( PlayMethod=Transcode, TranscodeReason=SubtitleCodecNotSupported ) media:/videos/87c7e372-895c-4b0c-6a64-6d7142e6f2b9/master.m3u8?MediaSourceId=87c7e372895c4b0c6a646d7142e6f2b9&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=2&SubtitleStreamIndex=3&VideoBitrate=139616000&AudioBitrate=384000&MaxFramerate=23.976025&api_key=<token>&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=b887c766c00b1146b5493728cd9ced9d&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&hevc-level=123&hevc-videobitdepth=10&hevc-profile=main10&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=SubtitleCodecNotSupported
2023-04-13T15:19:22.605240213Z [23:19:22] [INF] [8] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) /config/transcodes/78fe8591d088cd54d9774e4daf6c0c4e.mp4
2023-04-13T15:19:22.807914793Z [23:19:22] [INF] [13] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
2023-04-13T15:19:22.813541587Z [23:19:22] [INF] [13] Jellyfin.Api.Helpers.TranscodingJobHelper: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device vaapi=va:/dev/dri/renderD128 -filter_hw_device va -hwaccel vaapi -hwaccel_output_format vaapi -autorotate 0 -canvas_size 1920x1080 -i file:"/mediaLibrary/Anime Movies/Fate Stay Night Heavens Feel/Part 1/[VCB-Studio] Fate stay night Heaven's Feel I - presage flower [Ma10p_1080p]/[VCB-Studio] Fate stay night Heaven's Feel I - presage flower [Ma10p_1080p][x265_flac].mkv" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -codec:v:0 h264_vaapi -rc_mode VBR -b:v 12707278 -maxrate 12707278 -bufsize 25414556 -profile:v:0 high -force_key_frames:0 "expr:gte(t,0+n_forced*3)" -filter_complex "[0:2]scale=s=1920x1080:flags=fast_bilinear[sub];[0:0]setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12,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 -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/036b1cf1b83c1efa6a2ba417c1642da0%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/036b1cf1b83c1efa6a2ba417c1642da0.m3u8"
2023-04-13T15:19:22.827165601Z [23:19:22] [ERR] [22] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1
2023-04-13T15:19:22.932749648Z [23:19:22] [ERR] [22] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/87c7e372-895c-4b0c-6a64-6d7142e6f2b9/hls1/main/0.ts.
2023-04-13T15:19:22.932954005Z MediaBrowser.Common.FfmpegException: FFmpeg exited with code 1
2023-04-13T15:19:22.932981942Z    at Jellyfin.Api.Helpers.TranscodingJobHelper.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, HttpRequest request, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory)
2023-04-13T15:19:22.933009878Z    at Jellyfin.Api.Controllers.DynamicHlsController.GetDynamicSegment(StreamingRequestDto streamingRequest, Int32 segmentId)
2023-04-13T15:19:22.933027828Z    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)
2023-04-13T15:19:22.933093130Z    at lambda_method1118(Closure , Object )
2023-04-13T15:19:22.933109682Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
2023-04-13T15:19:22.933140482Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
2023-04-13T15:19:22.933160317Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-04-13T15:19:22.933188254Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
2023-04-13T15:19:22.933206203Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2023-04-13T15:19:22.933233651Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-04-13T15:19:22.933251112Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-04-13T15:19:22.933277651Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
2023-04-13T15:19:22.933295182Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2023-04-13T15:19:22.933321233Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-04-13T15:19:22.933338204Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
2023-04-13T15:19:22.933364674Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
2023-04-13T15:19:22.933383112Z    at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
2023-04-13T15:19:22.933400154Z    at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
2023-04-13T15:19:22.933425716Z    at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
2023-04-13T15:19:22.933442338Z    at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
2023-04-13T15:19:22.933469297Z    at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
2023-04-13T15:19:22.933486338Z    at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
2023-04-13T15:19:22.933518465Z    at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
2023-04-13T15:19:22.933534599Z    at Jellyfin.Server.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
2023-04-13T15:19:22.933551570Z    at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
2023-04-13T15:19:22.933579926Z    at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
2023-04-13T15:19:22.933596968Z    at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
2023-04-13T15:19:22.933614498Z    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
2023-04-13T15:19:22.933640549Z    at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
2023-04-13T15:19:22.933657590Z    at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
2023-04-13T15:19:22.933674631Z    at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
2023-04-13T15:19:22.933702009Z    at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
2023-04-13T15:19:22.933720936Z    at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
2023-04-13T15:19:23.056321277Z [23:19:23] [INF] [13] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for [REDACTED]. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2023-04-13T15:19:23.056448040Z [23:19:23] [INF] [13] Jellyfin.Api.Helpers.MediaInfoHelper: RemoteClientBitrateLimit: 800000000, RemoteIp: 192.168.10.44, IsInLocalNetwork: True
2023-04-13T15:19:23.056781674Z [23:19:23] [INF] [13] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile=Anonymous Profile, Path=/mediaLibrary/Anime Movies/Fate Stay Night Heavens Feel/Part 1/[VCB-Studio] Fate stay night Heaven's Feel I - presage flower [Ma10p_1080p]/[VCB-Studio] Fate stay night Heaven's Feel I - presage flower [Ma10p_1080p][x265_flac].mkv, AudioStreamIndex=2, SubtitleStreamIndex=3 ) => ( PlayMethod=Transcode, TranscodeReason=SubtitleCodecNotSupported ) media:/videos/87c7e372-895c-4b0c-6a64-6d7142e6f2b9/master.m3u8?MediaSourceId=87c7e372895c4b0c6a646d7142e6f2b9&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=2&SubtitleStreamIndex=3&VideoBitrate=139616000&AudioBitrate=384000&MaxFramerate=23.976025&api_key=<token>&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=b887c766c00b1146b5493728cd9ced9d&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&hevc-level=123&hevc-videobitdepth=10&hevc-profile=main10&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=SubtitleCodecNotSupported
2023-04-13T15:19:23.075758981Z [23:19:23] [INF] [8] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) /config/transcodes/036b1cf1b83c1efa6a2ba417c1642da0.m3u8
2023-04-13T15:19:23.183720928Z [23:19:23] [INF] [8] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
2023-04-13T15:19:23.185676285Z [23:19:23] [INF] [8] Jellyfin.Api.Helpers.TranscodingJobHelper: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device vaapi=va:/dev/dri/renderD128 -filter_hw_device va -hwaccel vaapi -hwaccel_output_format vaapi -autorotate 0 -canvas_size 1920x1080 -i file:"/mediaLibrary/Anime Movies/Fate Stay Night Heavens Feel/Part 1/[VCB-Studio] Fate stay night Heaven's Feel I - presage flower [Ma10p_1080p]/[VCB-Studio] Fate stay night Heaven's Feel I - presage flower [Ma10p_1080p][x265_flac].mkv" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -codec:v:0 h264_vaapi -rc_mode VBR -b:v 12707278 -maxrate 12707278 -bufsize 25414556 -profile:v:0 high -force_key_frames:0 "expr:gte(t,0+n_forced*3)" -filter_complex "[0:2]scale=s=1920x1080:flags=fast_bilinear[sub];[0:0]setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12,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 -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/13b3592724c7c845a69b0eaa8b2a1ba7%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/13b3592724c7c845a69b0eaa8b2a1ba7.m3u8"
2023-04-13T15:19:23.199480560Z [23:19:23] [ERR] [13] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1
2023-04-13T15:19:23.300114300Z [23:19:23] [ERR] [13] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/87c7e372-895c-4b0c-6a64-6d7142e6f2b9/hls1/main/0.ts.
2023-04-13T15:19:23.300201393Z MediaBrowser.Common.FfmpegException: FFmpeg exited with code 1
2023-04-13T15:19:23.300233590Z    at Jellyfin.Api.Helpers.TranscodingJobHelper.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, HttpRequest request, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory)
2023-04-13T15:19:23.300242111Z    at Jellyfin.Api.Controllers.DynamicHlsController.GetDynamicSegment(StreamingRequestDto streamingRequest, Int32 segmentId)
2023-04-13T15:19:23.300266695Z    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)
2023-04-13T15:19:23.300286111Z    at lambda_method1118(Closure , Object )
2023-04-13T15:19:23.300293654Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
2023-04-13T15:19:23.300300778Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
2023-04-13T15:19:23.300315444Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-04-13T15:19:23.300323546Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
2023-04-13T15:19:23.300336676Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2023-04-13T15:19:23.300346594Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-04-13T15:19:23.300358956Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-04-13T15:19:23.300366569Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
2023-04-13T15:19:23.300378791Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2023-04-13T15:19:23.300385915Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-04-13T15:19:23.300399185Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
2023-04-13T15:19:23.300407705Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
2023-04-13T15:19:23.300423769Z    at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
2023-04-13T15:19:23.300429915Z    at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
2023-04-13T15:19:23.300436969Z    at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
2023-04-13T15:19:23.300451217Z    at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
2023-04-13T15:19:23.300458760Z    at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
2023-04-13T15:19:23.300470633Z    at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
2023-04-13T15:19:23.300478176Z    at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
2023-04-13T15:19:23.300490957Z    at Jellyfin.Server.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
2023-04-13T15:19:23.300499477Z    at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
2023-04-13T15:19:23.300508417Z    at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
2023-04-13T15:19:23.300522176Z    at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
2023-04-13T15:19:23.300529300Z    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
2023-04-13T15:19:23.300536423Z    at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
2023-04-13T15:19:23.300548646Z    at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
2023-04-13T15:19:23.300554862Z    at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
2023-04-13T15:19:23.300562893Z    at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
2023-04-13T15:19:23.300576582Z    at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
2023-04-13T15:19:23.323954893Z [23:19:23] [INF] [23] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) /config/transcodes/13b3592724c7c845a69b0eaa8b2a1ba7.m3u8
2023-04-13T15:19:24.836311161Z [23:19:24] [INF] [23] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app Jellyfin Web 10.8.9 playing Fate/stay night [Heaven's Feel]  I.預示之花. Stopped at 0 ms
2023-04-13T15:19:24.887939587Z [23:19:24] [WRN] [23] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://jellyfin.[REDACTED]/Sessions/Playing/Stopped to 192.168.10.44 in 0:00:01.5718942 with Status Code 204

Application Configuration

Picture 1: Default image

Picture 2: Default image

Picture 3: Mounting dataset for configs image

Picture 4: Mounting dataset for media library/vault as read only, and setting up subdomain in ingress for traefik image

Picture 5: Defining ingress items image

Picture 6: Selecting let's encrypt's certificate image

Picture 7: Default image

Picture 8: Allocated AMD Ryzen 7 4750G's iGPU resource as GPU device for the application image

Picture 9: Default image

Describe the bug

After Jellyfin's deployment with AMD GPU (4750G iGPU) resource allocated, and "VAAPI" selected for hardware acceleration, Jellyfin can find the device "/dev/dri/renderD128" but fails to utilise the device for hardware acceleration for transcoding.

To Reproduce

Prerequisite

Application Install

  1. In the Application catalgoue in TrueNAS Scale, press Install on Jellyfin
  2. Under Main Service Port Configuration change the Port* from 8096 to 8097 to avoid conflicting with existing application (optional)
  3. Under Additional App Storage, Press Add, and press Read Only, and in Host Path point to the dataset with some media for testing, as for the Mount Path* enter \mediaLibrary
  4. Next to GPU Configuration press Add, allocate your desired GPU resource. (Preferrebly with AMD APU, allocating the iGPU)
  5. Press Save and deploy the application

Quick Setup

  1. On the Welcome to Jellyfin! screen, press Next->
  2. Enter the Username and Password you desire and press Next->
  3. Click on the Add Media Library box
  4. Select the following Content type: Movies Display name: test and press on the + next to Folders
  5. Scroll down and select /mediaLibrary and select Ok
  6. Back at the Add Media Library windows, select Ok again
  7. Press Next-> for 3 times, and press √Finish

Reproducing the issue

  1. Login with your credentials
  2. Press the hamburger menu on the top left
  3. Select Dashboard
  4. Select Playback in the menu on the left
  5. Select Video Acceleration API (VAAPI) under section Hardware acceleration
  6. Ensure VA-API Device is populated with similar to /dev/dri/renderD128
  7. Select hardware decoding for the formats your GPU is available to. My AMD Ryzen 7 4750G is suitable for decoding with
    • [x] H264
    • [x] HEVC
    • [x] MPEG2
    • [x] VC1
    • [x] VP8
    • [x] VP9
    • [ ] AV1
    • [x] HEVC 10bit
    • [x] VP9 10bit
  8. Select Enable hardware encoding and Allow encoding in HEVC format under Hardware encoding options:
  9. Scroll to the bottom and press Save and press Got It
  10. Press the home icon on the top left to return to homepage
  11. Select the Library named test
  12. Press on the supposed "movie" to start playing
  13. If you're transcoding, you should be seeing something like this image

If you dont see an error, check if you're transcoding by

  1. When the movie is playing, press the cogwheel icon at the bottom right of the player, and press Playback Info.
  2. Make sure Play method: is Transcoding and not Direct playing
  3. If it's Direct playing use a device that mismatches the codec, or use another movie with another codec

Expected Behavior

Current Behaviour

An error will popup indicating failure to play the media image

Previous/Normal Expected Behaviour

Playing media that requires transcoding (decode and encode different media formats) without any indiciation of issues, no error screen should pop up.

Screenshots

N/A

Additional Context

Once you can replicate the failure, you can check the logs:

  1. Press the hamburger menu on the top left
  2. Select Dashboard
  3. Scroll down the menu on the left and select Logs
  4. Click on the top-most .log file that starts with FFmpeg.*.log

Below is an example of a logfile from a failed GPU utilisation.

/videos/87c7e372-895c-4b0c-6a64-6d7142e6f2b9/hls1/main/0.ts

{"Protocol":0,"Id":"87c7e372895c4b0c6a646d7142e6f2b9","Path":"/mediaLibrary/Anime Movies/Fate Stay Night Heavens Feel/Part 1/[VCB-Studio] Fate stay night Heaven\u0027s Feel I - presage flower [Ma10p_1080p]/[VCB-Studio] Fate stay night Heaven\u0027s Feel I - presage flower [Ma10p_1080p][x265_flac].mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":6895721984,"Name":"[VCB-Studio] Fate stay night Heaven\u0027s Feel I - presage flower [Ma10p_1080p][x265_flac]","IsRemote":false,"ETag":"b887c766c00b1146b5493728cd9ced9d","RunTimeTicks":72354562048,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"flac","CodecTag":null,"Language":"jpn","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"651/31250000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"Jpn - FLAC - 5.1 - External","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":2249070,"BitDepth":24,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":0,"Score":null,"IsExternal":true,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":true,"Path":"/mediaLibrary/Anime Movies/Fate Stay Night Heavens Feel/Part 1/[VCB-Studio] Fate stay night Heaven\u0027s Feel I - presage flower [Ma10p_1080p]/[VCB-Studio] Fate stay night Heaven\u0027s Feel I - presage flower [Ma10p_1080p][x265_flac].mka","PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"hevc","CodecTag":null,"Language":"jpn","ColorRange":null,"ColorSpace":"bt709","ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"1080p HEVC SDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":7624367,"BitDepth":10,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"Main 10","Type":1,"AspectRatio":"16:9","Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p10le","Level":123,"IsAnamorphic":null},{"Codec":"flac","CodecTag":null,"Language":"jpn","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"Jpn - FLAC - Stereo - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"stereo","BitRate":940953,"BitDepth":24,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"jpn","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Jpn - Default - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Eng - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":4,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":8565320,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device vaapi=va:/dev/dri/renderD128 -filter_hw_device va -hwaccel vaapi -hwaccel_output_format vaapi -autorotate 0 -canvas_size 1920x1080 -i file:"/mediaLibrary/Anime Movies/Fate Stay Night Heavens Feel/Part 1/[VCB-Studio] Fate stay night Heaven's Feel I - presage flower [Ma10p_1080p]/[VCB-Studio] Fate stay night Heaven's Feel I - presage flower [Ma10p_1080p][x265_flac].mkv" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -codec:v:0 h264_vaapi -rc_mode VBR -b:v 12707278 -maxrate 12707278 -bufsize 25414556 -profile:v:0 high -force_key_frames:0 "expr:gte(t,0+n_forced*3)" -filter_complex "[0:2]scale=s=1920x1080:flags=fast_bilinear[sub];[0:0]setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12,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 -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/2291991285f9d4420ef8af21f1eaeda7%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/2291991285f9d4420ef8af21f1eaeda7.m3u8"

ffmpeg version 5.1.2-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-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[AVHWDeviceContext @ 0x55c3e46e5ac0] No VA display found for device /dev/dri/renderD128.
Device creation failed: -22.
Failed to set value 'vaapi=va:/dev/dri/renderD128' for option 'init_hw_device': Invalid argument
Error parsing global options: Invalid argument

Hypothesis:

I've read and agree with the following

vianchiel commented 1 year ago

Adding the missing first portion of the Application Logs, it was cut off due to character limits.

2023-04-13T15:18:36.699749590Z [23:18:36] [INF] [1] Main: Jellyfin version: 10.8.9
2023-04-13T15:18:36.706507190Z [23:18:36] [INF] [1] Main: Environment Variables: ["[DOTNET_SYSTEM_GLOBALIZATION_INVARIANT, 1]", "[JELLYFIN_PublishedServerUrl, ]", "[JELLYFIN_DATA_DIR, /config]", "[JELLYFIN_CONFIG_DIR, /config/config]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]", "[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_CACHE_DIR, /cache]", "[JELLYFIN_LOG_DIR, /config/log]"]
2023-04-13T15:18:36.706650575Z [23:18:36] [INF] [1] Main: Arguments: ["/jellyfin/jellyfin.dll"]
2023-04-13T15:18:36.707752956Z [23:18:36] [INF] [1] Main: Operating system: Linux
2023-04-13T15:18:36.708402483Z [23:18:36] [INF] [1] Main: Architecture: X64
2023-04-13T15:18:36.708462128Z [23:18:36] [INF] [1] Main: 64-Bit Process: True
2023-04-13T15:18:36.708494814Z [23:18:36] [INF] [1] Main: User Interactive: True
2023-04-13T15:18:36.708505290Z [23:18:36] [INF] [1] Main: Processor count: 4
2023-04-13T15:18:36.708514230Z [23:18:36] [INF] [1] Main: Program data path: /config
2023-04-13T15:18:36.708604116Z [23:18:36] [INF] [1] Main: Web resources path: /jellyfin/jellyfin-web
2023-04-13T15:18:36.708838295Z [23:18:36] [INF] [1] Main: Application directory: /jellyfin/
2023-04-13T15:18:36.827963524Z [23:18:36] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /cache
2023-04-13T15:18:36.864080606Z [23:18:36] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
2023-04-13T15:18:36.874409280Z [23:18:36] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.AniDB, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/AniDB_7.0.0.0/Jellyfin.Plugin.AniDB.dll
2023-04-13T15:18:36.876934825Z [23:18:36] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.OpenSubtitles, Version=18.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Open Subtitles_18.0.0.0/Jellyfin.Plugin.OpenSubtitles.dll
2023-04-13T15:18:36.942016851Z [23:18:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
2023-04-13T15:18:36.942076985Z [23:18:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : []
2023-04-13T15:18:36.942682093Z [23:18:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
2023-04-13T15:18:36.950261939Z [23:18:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
2023-04-13T15:18:36.950323051Z [23:18:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: []
2023-04-13T15:18:39.237522179Z [23:18:39] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AniDB 7.0.0.0
2023-04-13T15:18:39.237601240Z [23:18:39] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Open Subtitles 18.0.0.0
2023-04-13T15:18:39.237609760Z [23:18:39] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.8.9.0
2023-04-13T15:18:39.237617303Z [23:18:39] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.8.9.0
2023-04-13T15:18:39.237628687Z [23:18:39] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.8.9.0
2023-04-13T15:18:39.237636230Z [23:18:39] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.8.9.0
2023-04-13T15:18:39.237643843Z [23:18:39] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.8.9.0
2023-04-13T15:18:39.288648165Z [23:18:39] [INF] [1] Main: Kestrel listening on Any IP4 Address
2023-04-13T15:18:39.365888508Z [23:18:39] [WRN] [1] Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository: Using an in-memory repository. Keys will not be persisted to storage.
2023-04-13T15:18:39.368726245Z [23:18:39] [WRN] [1] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.
2023-04-13T15:18:39.585367830Z [23:18:39] [WRN] [1] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: No XML encryptor configured. Key {ecaf85af-1f8f-430d-9d4c-165eccfbef24} may be persisted to storage in unencrypted form.
2023-04-13T15:18:39.601743047Z [23:18:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks
2023-04-13T15:18:39.625524484Z [23:18:39] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Extract Chapter Images set to fire at 2023-04-14 02:00:00.000 +08:00, which is 02:41:20.3750637 from now.
2023-04-13T15:18:39.660698633Z [23:18:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version 5.1.2
2023-04-13T15:18:39.684768236Z [23:18:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available decoders: ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "flac", "mp3"]
2023-04-13T15:18:39.697627624Z [23:18:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available encoders: ["libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_v4l2m2m", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "hevc_vaapi", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "libfdk_aac", "ac3", "flac", "libmp3lame", "libopus", "libvorbis", "srt"]
2023-04-13T15:18:39.717709268Z [23:18:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["deinterlace_qsv", "deinterlace_vaapi", "hwupload_cuda", "hwupload_vaapi", "overlay_opencl", "overlay_qsv", "overlay_vaapi", "overlay_cuda", "procamp_vaapi", "scale_cuda", "scale_opencl", "scale_qsv", "scale_vaapi", "tonemap_cuda", "tonemap_opencl", "tonemap_vaapi", "vpp_qsv", "yadif_cuda", "zscale", "alphasrc"]
2023-04-13T15:18:39.782408562Z [23:18:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
2023-04-13T15:18:39.920769932Z [23:18:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: /usr/lib/jellyfin-ffmpeg/ffmpeg
2023-04-13T15:18:39.921808478Z [23:18:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: 1b8498c2a5104f209428bb2d486a9db6
2023-04-13T15:18:39.997382888Z [23:18:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all pre-startup entry points in 0:00:00.0696708
2023-04-13T15:18:39.997425980Z [23:18:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
2023-04-13T15:18:40.136918575Z [23:18:40] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:00.1395385
2023-04-13T15:18:40.136999941Z [23:18:40] [INF] [1] Main: Startup complete 0:00:03.6019394
2023-04-13T15:18:40.138330914Z [23:18:40] [INF] [13] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /mediaLibrary/Anime Movies
2023-04-13T15:18:40.182550676Z [23:18:40] [INF] [8] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /mediaLibrary/TV Series
2023-04-13T15:18:40.191416866Z [23:18:40] [INF] [10] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /mediaLibrary/Movies
2023-04-13T15:18:40.226177622Z [23:18:40] [INF] [11] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /mediaLibrary/Anime
2023-04-13T15:18:42.630394716Z [23:18:42] [INF] [11] Emby.Server.Implementations.ScheduledTasks.TaskManager: StartupTrigger fired for task: Update Plugins
2023-04-13T15:18:42.631127146Z [23:18:42] [INF] [11] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task PluginUpdateTask
2023-04-13T15:18:42.634498194Z [23:18:42] [INF] [10] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Update Plugins
2023-04-13T15:18:44.943336017Z [23:18:44] [INF] [10] Emby.Server.Implementations.ScheduledTasks.TaskManager: Update Plugins Completed after 0 minute(s) and 2 seconds
2023-04-13T15:18:44.954169018Z [23:18:44] [INF] [10] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
2023-04-13T15:19:16.482041880Z [23:19:16] [INF] [22] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.10.44 request
2023-04-13T15:19:16.545474177Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'AccessSchedule' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545533333Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ActivityLog' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545562178Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'CustomItemDisplayPreferences' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545582990Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'DisplayPreferences' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545596749Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'HomeSection' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545614698Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ImageInfo' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545649689Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ItemDisplayPreferences' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545780293Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'Permission' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545848878Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'Preference' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545863055Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ApiKey' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545879189Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'Device' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545889595Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'DeviceOptions' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
2023-04-13T15:19:16.545907056Z [23:19:16] [WRN] [13] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'User' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
sakuyamaij commented 1 year ago

Also do not work with Intel iGPU

[AVHWDeviceContext @ 0x55db0b021e80] No VA display found for any default device.
Device creation failed: -22.
Failed to set value 'vaapi=va:,driver=iHD,kernel_driver=i915' for option 'init_hw_device': Invalid argument
Error parsing global options: Invalid argument
PrivatePuffin commented 1 year ago

Please check latest/new release.

vianchiel commented 1 year ago

Please check latest/new release.

Hi Ornias, thanks for the heads up on the quick release update. I've tested the application twice, once direct-upgrade, and once clean install. I can confirm the GPU resource can now be properly utilised by Jellyfin.

During my observation for a small portion of media files (some specific formats and codecs) there seems to be increased cpu-utilisation, but I think that's Jellyfin's problem and not TrueCharts'.

Overall, thanks for the speedy update on the issue and releasing the upgrade, extremely appreciated. 🙏

PrivatePuffin commented 1 year ago

Glad it worked out for you :)

truecharts-admin commented 1 year ago

This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists