Ffmpeg use cuvid error

Excuse me,I’ve come across a problem.
I want to do decode h264 stream by ffmpeg.
The ffmpeg version is 4.3.
The console log is
[h264_cuvid @ 0x7f8c001c70] cuparseinfo->CodecType: 4 bit_depth: 8
[h264_cuvid @ 0x7f8c001c70] ctx->cvdl->cuvidGetDecoderCaps(&ctx->caps8) failed
[h264_cuvid @ 0x7f8c001c70] ctx->cvdl->cuvidGetDecoderCaps(&ctx->caps10) failed
[h264_cuvid @ 0x7f8c001c70] ctx->cvdl->cuvidGetDecoderCaps(&ctx->caps12) failed
[h264_cuvid @ 0x7f8c001c70] CUVID capabilities for h264_cuvid:
[h264_cuvid @ 0x7f8c001c70] 8 bit: supported: 0, min_width: 0, max_width: 0, min_height: 0, max_height: 0
[h264_cuvid @ 0x7f8c001c70] 10 bit: supported: 0, min_width: 0, max_width: 0, min_height: 0, max_height: 0
[h264_cuvid @ 0x7f8c001c70] 12 bit: supported: 0, min_width: 0, max_width: 0, min_height: 0, max_height: 0
Could you tall me what to do?

Hi,
We have a package which enables hardware decoding. Please check
Jetson Nano FAQ
Q: Is hardware acceleration enabled in ffmpeg?