NVENC H.264 encoder initialization failure

hardware :GTX650TI
Drivers :337.12
code :nvenc_3.0_linux_sdk
SDK :nvenc_3.0_linux_sdk/Samples/nvEncodeApp:
toolkit :6.0

sh ./1080p_heavyhand_3sec.sh

error:

GetNumberEncoders() has detected 1 CUDA capable GPU device(s) <<
[ GPU #0 - < GeForce GTX 650 Ti > has Compute SM 3.0, NVENC Available ]

InitCUDA() has detected 1 CUDA capable GPU device(s)<<
[ GPU #0 - < GeForce GTX 650 Ti > has Compute SM 3.0, Available NVENC ]

Select GPU #0 - < GeForce GTX 650 Ti > supports SM 3.0 and NVENC

nvEncoder Error: NVENC H.264 encoder initialization failure! Check input params!

i don’t know input params is invalid,it’s return 8 (NV_ENC_ERR_INVALID_PARAM)

can you help me? thanks!

Have you managed to solve this problem?