TX2 H.265 snow spots issue

When recode H.265 video on TX2 with 4K,some time the will be some snow spots (lines) will appear (when our AGV was in moving ), Please help to analyze the possible reasons.or the way to optimize,thanks

Hi,
Please provide your release version(you can get it by executing ‘head -1 /etc/nv_tegra_release’).
And you use tegra_multimedia_api or gstreamer.

If you use tegra_multimedia_api, you probably missthe following function calls:

/**
* Syncs the HW memory cache for the CPU.
*
* \sa NvBufferMemMap for the purpose of the function
*
* @param[in] dmabuf_fd DMABUF FD of buffer.
* @param[in] plane video frame plane.
* @param[in] pVirtAddr Virtual Address pointer of the memory-mapped plane.
*
* @returns 0 for success, -1 for failure.

*/
int NvBufferMemSyncForCpu (int dmabuf_fd, unsigned int plane, void **pVirtAddr);

/**
* Syncs the HW memory cache sync for the device.
*
* \sa NvBufferMemMap for the purpose of the function
*
* @param[in] dmabuf_fd DMABUF FD of buffer.
* @param[in] plane video frame plane.
* @param[in] pVirtAddr Virtual Address pointer of the memory-mapped plane.
*
* @returns 0 for success, -1 for failure.
*/
int NvBufferMemSyncForDevice (int dmabuf_fd, unsigned int plane, void **pVirtAddr);

thanks,will try it