2023-06-20, 01:54 AM
(This post was last modified: 2023-06-20, 02:00 AM by dekomoon. Edited 5 times in total.)
Hi, I was actually looking at a similar post on reddit earlier, and it seems like a docker image is provided for that preview, but, I am looking for hardware decoding/acceleration, and not hardware encoding. Is my belief wrong that AMF AV1 decoder has already been implemented? Is AMF AV1 hardware decoding a future feature that will be merged by nyanmisaka's PR request?
I rolled back to the stable image, and no amf decoder support showed up at all even though av1 qsv and nvenc decoders showed up (even though I don't have a capable iGPU or dGPU for these two...). Does Jellyfin not support AMF decoding? Are there some settings I have to turn on in docker-compose.yml to enable AMF?
This was the result of me rolling back to the stable image and enabling amf transcoding in the web gui:
I rolled back to the stable image, and no amf decoder support showed up at all even though av1 qsv and nvenc decoders showed up (even though I don't have a capable iGPU or dGPU for these two...). Does Jellyfin not support AMF decoding? Are there some settings I have to turn on in docker-compose.yml to enable AMF?
This was the result of me rolling back to the stable image and enabling amf transcoding in the web gui:
Code:
[01:46:14] [INF] [36] Jellyfin.Api.Helpers.TranscodingJobHelper: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -i file:"/media/miku/test.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_amf -quality speed -rc cbr -qmin 0 -qmax 32 -b:v 1876712 -maxrate 1876712 -bufsize 3753424 -g:v:0 180 -keyint_min:v:0 180 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(3840\,2160*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(3840/a\,2160))/2)*2,format=yuv420p" -codec:a:0 libfdk_aac -ac 2 -ab 256000 -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/210598af3f23e8f96f1d8c8ffb1df7a7%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/210598af3f23e8f96f1d8c8ffb1df7a7.m3u8"
[01:46:14] [ERR] [34] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 134
[01:46:14] [ERR] [34] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/36de2ac7-ef46-2d64-9cd2-8af15768bd36/hls1/main/0.ts.
MediaBrowser.Common.FfmpegException: FFmpeg exited with code 134