Hello, I am an a programmer for VSO SOFTWARE, an independant software vendor. We use NVEnc in our Blu-ray or video conversion solution (ConvertXtoHD, ConvertXtoVideo)
Our programming language is Delphi. We use NVEnc since 2014 in our code (windows 32 bits).
Our code was based on API 8.1 and worked very well up to API V11.
Starting from driver V 522 and API V12.1, our code fail to work.
Everything is working : initialization, opening encoding session, allocation of surfaces, getting extradata for global header. But calling nvEncEncodePicture() function now systematically return an error NV_ENC_ERR_GENERIC.
Calling after the function nvEncGetLastErrorString() return a unaligned pointer to a memory filled with a repetition of [F0 AD BA 0D] bytes (a 0xBAADF00D equivalent)
After updating the API to V 12.1 - we still have exactly the same issue. Everything work fine up to the call to nvEncEncodePicture()
Furthermore, after a carefull check / comparison with a 32 bits build of FFMPEG, we use exactly the same init sequence, the same values passed to all function - but in FFMpeg the return is either NV_ENC_SUCCESS) or NV_ENC_ERR_NEED_MORE_INPUT - and in our code always NV_ENC_ERR_GENERIC
How can we find out what could be the cause of this issue ?
NOTE: We are using 2 computers for testing: One with Driver V546.33 and card GeForce GTX 1080 Ti, and one with Drivers V546.33 and card GeForce RTX 4060 Ti