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 https://docs.nvidia.com/drive/drive-os-5.2.6.0L/drive-os/DRIVE_OS_Linux_SDK_NGC_Development_Guide/baggage/structNvMediaVideoEncoder.html and https://docs.nvidia.com/drive/drive-os-5.2.6.0L/drive-os/DRIVE_OS_Linux_SDK_NGC_Development_Guide/baggage/group__image__encode__api.html

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.