If the video and audio are out of sync, try recording in another file type.
To record in another file type:
Try two or three different options. If video and audio are in sync for one file type but not the one that you want, then it is likely a codec issue. You can download free codec packs online by searching for them in a search engine like Google.
If you are still having issues with the video and audio being out of sync, ensure that there isn't any software running in the background that would take up a significant amount of your system’s resources.