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?

  • 1
    Try recovering with this tool. It's more up to date. Maybe the PTS might be salvaged.
    – Gyan
    Commented Aug 2, 2016 at 15:30

1 Answer 1


No matter how you slice it, this sounds like it's going to be painful if not impossible, mostly because you say the rate changes dynamically. My best suggestion would be to use a software like Adobe Premiere Pro and its "rate stretch" tool to manually adjust individual segments. I'm not aware of any software that can do that sort of thing automatically, mostly because you don't have another (non-corrupted) audio track to compare against. If you did (like, if you had also been recording on an external recorder), you could use Adobe Audition to sync them.

Syncing two audio tracks of varying rates isn't too terribly hard, but syncing a video and audio track of different rates could prove very challenging.

  • I guess I should have mentioned this then: I actually do have an uncorrupted audio track to compare against. How would that be helpful though? Even if I sync the audio tracks, won't the video track still be out-of-sync? Editing to clarify...
    – Ajedi32
    Commented Aug 2, 2016 at 15:12
  • 1
    The video track will, what I meant was that you could fix bad audio with a good audio track, but not bad video/good audio or good video/bad audio alone. Commented Aug 2, 2016 at 15:15
  • 1
    Ah, okay; that makes sense. The uncorrupted audio track is much higher quality than the audio from my camera anyway, so maybe I'll just sync the video to that. "Rate stretch" sounds like it might be helpful, but either way I get the feeling this is going to be a really painful process...
    – Ajedi32
    Commented Aug 2, 2016 at 15:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.