2023-08-08, 01:49 PM
This error is reported to FFmpeg by the NVDEC driver. I have to suspect it's a regression. Please try downgrading the driver to an older version.
https://github.com/FFmpeg/FFmpeg/blob/b9...#L138-L141
Running this command can expose more NVDEC capabilities for easy debugging.
https://github.com/FFmpeg/FFmpeg/blob/b9...#L138-L141
Code:
if (!caps.bIsSupported) {
av_log(logctx, AV_LOG_ERROR, "Hardware is lacking required capabilities\n");
return AVERROR(EINVAL);
}
Running this command can expose more NVDEC capabilities for easy debugging.
Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device cuda=cu:0 -hwaccel cuda -hwaccel_output_format cuda -i /path/to/the/media -an -sn -vframes 1 -f null -