Nvds_obj_enc_process for whole frame leaves aritfacts over time

@syther666 , I have tried in Ampere architecture GPU, it still have no problem. So I think we can only rely on you and your own environment to debug this problem.
There are two methods I can think to try:
1.just change the source (sample_720.h264…)
2.You can refer the link below to get the data from NvBufSurface directly, and see if it’s the same issue. Then we’ll know whether it is the jpeg coding problem or the plugin processing problem. Thanks