I was recording a moderately long (20-30 minute) video when suddenly my camera died, resulting in a corrupt file. I was able to repair the file by following the steps in How to open and repair an m4v or mp4 video file? on SuperUser, but now the audio in the repaired file is horribly out of sync with the video. (Presumably because the data keeping the video in sync was lost.)
The video seems to play at a variable speed, with some portions appearing sped up, and other portions appearing to play at a normal speed. The audio does not appear to have this issue, playing at a seemingly normal rate for the duration of the video.
I tried stretching the video to align two audio events with the video near the start and end of the recording, but because the playback speed of the video appears to be variable, the audio in the middle portion of the recording is still very much out of sync.
Is there a good way to fix this? Maybe a program or something that I can use to go through the recording and manually identify multiple "sync points" between the audio and video to ensure they stay in sync throughout the recording? I'm guessing the video speed will need to change dynamically throughout the recording to compensate for this sync problem.
I suppose I could try doing this completely manually with a video editor, but I imagine doing it that way (at least in Adobe Premiere Elements, which is what I'm using) would require me to make a cut every time the video speed is adjusted, and that sounds like it'd be extremely time consuming. Is there a better way?