Getting 6fps instead of 30fps

I followed the official tutorial on my raseberry pi, but I got 6.5fps instead of 30fps?
Any fix?
(One small change which I made is: Used video which is saved in disk, instead of video)

Are you seeing the reported performance without the small change you’ve made?

No, 6fps is for the video from the disk, and not the camera