I have GRAY16_LE format raw video buffers on which we want to perform video compression (H.264 or H265). But the NVENC h.264 encoder accepts only I420 or NV12 format.
nvvidconv does not support GRAY16_LE to I420 or NV12 format conversion.
I am aware of soft convert solution, which I would not prefer.
So the question is how to feed GRAY16_LE raw video buffers for video compression using NVENC without compromising speed ?