There’s some further discussion on this here: Corrupt Stream from IP Cameras (h264) with Hikvision NVR