@nikhil.shriwastav Can you share some more details about your camera settings at the time of recording?
As for a solution to you rproblem, start by clearing the storage and cache of your camera app and see if that makes a difference:
Long-press app icon -> App info -> Storage & cache -> Clear both and reboot your phone