I’ve download CUDA 5.0 and NVENC sdk 3.0 on my PC(Driver ver 331.82)
Following is the sample code:
/FAKE KEY**********/
static const GUID NV_CLIENT_KEY_TEST = { 0x0, 0x0, 0x0, { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 } };
HRESULT CNvEncoder::OpenEncodeSession(int argc, const char *argv,unsigned int deviceID)
{
GUID clientKey = NV_CLIENT_KEY_TEST;
NV_ENC_OPEN_ENCODE_SESSION_EX_PARAMS stEncodeSessionParams = {0};
.....
stEncodeSessionParams.clientKeyPtr = &clientKey;
nvStatus = m_pEncodeAPI->nvEncOpenEncodeSessionEx(&stEncodeSessionParams, &m_hEncoder);
if (nvStatus != NV_ENC_SUCCESS)
{
printf("File: %s, Line: %d, nvEncOpenEncodeSessionEx() returned with error %d\n", __FILE__, __LINE__, nvStatus);
printf("Note: GUID key may be invalid or incorrect. Recommend to upgrade your drivers and obtain a new key\n");
checkNVENCErrors(nvStatus);
}
....
Now I’v got NV_ENC_ERR_INCOMPATIBLE_CLIENT_KEY for the function return value.
My question is: How can I find someone to contact with this problem from NVIDIA coperation in China to resolve this problem?
A key available is also OK, my email is yuanqs@xcyg.net
Thanks!