Engine problem need advice

Iv attached a video to show you what the problem is, as you can see the car will start and tick over but when I try to rev it seems to be backfiring or miss firing or something, at first I thought it was a problem with the ecu as the floor in passenger side was very wet due to the window being left down and rain got in. Picked up a replacement ecu today fitted it and thought the problem was solved as I started the car and it seemed ok but after driving a few hundred meters it started acting up again and lost power and began backfiring again.
I then thought if its not the ecu and all electrical connections seem to be fine then it must be the crank position sensor. I adjusted this and then the car wouldnt start at all just turned over. After messing around with it for a while I couldnt seem to get the car started so I removed the sensor and noticed some scoring on the face meaning the teeth must have been hitting the sensor.
Is it possible that the car would have run fine for a certain length of time before the teeth hitting the sensor did enough damage to cause the fault? Id say the car was out only 4 or 5 times since fitting the new engine so mayb it took that long to wear down the sensor enough?
Next step is to fit another sensor and see if that fixes it but thought before I drive all the way out to Robert again id see what you guys think...
Any help much appreciated
I then thought if its not the ecu and all electrical connections seem to be fine then it must be the crank position sensor. I adjusted this and then the car wouldnt start at all just turned over. After messing around with it for a while I couldnt seem to get the car started so I removed the sensor and noticed some scoring on the face meaning the teeth must have been hitting the sensor.
Is it possible that the car would have run fine for a certain length of time before the teeth hitting the sensor did enough damage to cause the fault? Id say the car was out only 4 or 5 times since fitting the new engine so mayb it took that long to wear down the sensor enough?
Next step is to fit another sensor and see if that fixes it but thought before I drive all the way out to Robert again id see what you guys think...
Any help much appreciated