NvEncoder error

When I encode a yuv file which resolution is 1088x16, the founction"nvEncInitializeEncoder(m_hEncoder, &m_stCreateEncodeParams);"return NV_ENC_ERR_INVALID_PARAM. But if I encode a yuv file which resolution is 1088x32, it is success, so does the NvEncode has a minimum resolution which is supported,and if the resolution is smaller than the minimum resolution, the encoder will be wrong?

Thank you for your reply!

Hi luckyguo,

NVENC engine cannot support encoding below a certain resolution. If your frame resolution is less than that the initialization will fail. The minimum supported height is 32, and the failure you are seeing if the minimum height is 16 is expected.

Ryan Park