The video stabilization algorithm, the autofocus, the high quality encoding and the new camera2 api should automatically prevent glitches and weird video effects. However it's important that you stay as still as possible while taking the video.