thanks for the reply, i figured there was data loss somewhere. it seems to occur only when there is motion such as a human or vehicle, which is set to be detected currently by camera.
im using the following settings
265 codec
smart codec ON
30fps at max res (4mp)
VBR
8192 max bit rate...