CSI camera - snapshot issue

OK, but how do you explain that this is working fine with a webcam?

And so, what can be the technique if I want to get an image every xx seconds from the camera and use it in another part of my code?