Match audio and video via a. i

Often the sound layer may not match the happening in the video perfectly and then I manually move the audio layer in my video editing software slightly to make it match the action in the video. This could probably be done via a. i. too!