What is the difference between nvmimg_enc and nvmvid_enc?

They both can encode yuv to h264 or h265.
Is there any difference between them?

Dear @user77640,
former one is image encoder sample and latter one is video encoder sample.
Please check NVIDIA DRIVE OS Linux SDK API Reference: NvMediaVideoEncoder Struct Reference | NVIDIA Docs and NVIDIA DRIVE OS Linux SDK API Reference: Image Encoder | NVIDIA Docs

Hi @SivaRamaKrishnaNV :
Yes, but they all encode yuv to h264 or h265, I think they are the same?

Dear @user77640,
Yes. Both the API usage same HW. if you want to use NvMedia image encode API, please check nvmimg_enc sample. If you want to use NvMedia video encode API please check nvmvid_enc sample. Please file a new topic if you have any others questions(Not related to this thread) to avoid cluttering of topics.