2025-08-31, 09:24 PM
I am facing some issue with decoding issue with Hardware acceleration activated. I've read multiple guides but I can't really find what I have to disable at this point.
jellyfin | [21:13:48] [INF] [11] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f matroska -init_hw_device cuda=cu:0 -filter_hw_device cu -i file:"/data/media/MY_MEDIA.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_nvenc -preset p1 -b:v 13709537 -maxrate 13709537 -bufsize 27419074 -profile:v:0 high -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(1920\,1080*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(1920/a\,1080))/2)*2,format=yuv420p" -codec:a:0 libfdk_aac -ac 2 -ab 256000 -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 "d4e272ab99a67b1ab4abba30c9c0d6f5-1.mp4" -start_number 0 -hls_segment_filename "/config/cache/transcodes/d4e272ab99a67b1ab4abba30c9c0d6f5%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/config/cache/transcodes/d4e272ab99a67b1ab4abba30c9c0d6f5.m3u8" jellyfin | [21:13:49] [ERR] [11] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 218
I am using Jellyfin 10.10.7 in a container.
I am using a GTX 660 with Driver 470 (last supported for that gpu)
I've already checked and nvidia-smi works as intended inside of the container.
I have only H264, MPEG-2 and VC1 checked in transcoding, since those are the only available according to the GPU transcoding support matrix (https://en.wikipedia.org/wiki/NVDEC).
jellyfin | [21:13:48] [INF] [11] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f matroska -init_hw_device cuda=cu:0 -filter_hw_device cu -i file:"/data/media/MY_MEDIA.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_nvenc -preset p1 -b:v 13709537 -maxrate 13709537 -bufsize 27419074 -profile:v:0 high -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(1920\,1080*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(1920/a\,1080))/2)*2,format=yuv420p" -codec:a:0 libfdk_aac -ac 2 -ab 256000 -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 "d4e272ab99a67b1ab4abba30c9c0d6f5-1.mp4" -start_number 0 -hls_segment_filename "/config/cache/transcodes/d4e272ab99a67b1ab4abba30c9c0d6f5%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/config/cache/transcodes/d4e272ab99a67b1ab4abba30c9c0d6f5.m3u8" jellyfin | [21:13:49] [ERR] [11] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 218
I am using Jellyfin 10.10.7 in a container.
I am using a GTX 660 with Driver 470 (last supported for that gpu)
I've already checked and nvidia-smi works as intended inside of the container.
I have only H264, MPEG-2 and VC1 checked in transcoding, since those are the only available according to the GPU transcoding support matrix (https://en.wikipedia.org/wiki/NVDEC).