Audio/Video out of sync in rendered video
What you need is AV Sync. AV Sync makes sure that your audio and video play together by dropping frames to match the audio. What you were experiencing before is your computer not being able to combine and output all the inputs for each frame in the amount of time it was given (1/30 or 1/24 of a second).

What you probably currently have:



Good: