This has been a problem every time I record videos where I need to sync separate audio to a video. In my case, the mixed multi-track recording from Reaper of my drums against the video I've shot. Every time I import the video and audio into iMovie and line them up, the audio drifts out of sync with the video. I ended up time-stretching the audio to line it back up with the video. With drumming having lots of movement, audio being out of sync really, really shows and also really annoys me!
I messed with sample rates (44.1khz and 48khz, etc.) to no avail. Because it turns out the video is at fault. I shoot my videos on my iPhone 6S - usually 1080p at 60fps - because, frankly, the video quality is vastly superior to anything else I own!
All smartphones, including iPhones, actually record video at a Variable Frame Rate (VFR). Just because you set it to 60fps, it doesn't mean you're actually recording consistently 60fps. I guess it does it based on movement in the video or something in order to save storage space.
Video editors, like iMovie, can play VFR videos no problem so you don't notice the issue - until you need to sync separately-recorded audio to it which is most likely rendered at a consistent frame rate!
In short, you need to use another video editing app, such as Handbrake or OBS, to transcode the video to a genuine fixed frame rate (in my case 60fps). It doesn't affect quality as long as you set everything to the highest setting.
Now import the new video into iMovie and its job done! It's a pain to have to re-process the video but its taken me a lot of searching and research to find the answer to this problem which has been driving me mad!
Edited by mpointon on October 19 2018 13:54
I messed with sample rates (44.1khz and 48khz, etc.) to no avail. Because it turns out the video is at fault. I shoot my videos on my iPhone 6S - usually 1080p at 60fps - because, frankly, the video quality is vastly superior to anything else I own!
All smartphones, including iPhones, actually record video at a Variable Frame Rate (VFR). Just because you set it to 60fps, it doesn't mean you're actually recording consistently 60fps. I guess it does it based on movement in the video or something in order to save storage space.
Video editors, like iMovie, can play VFR videos no problem so you don't notice the issue - until you need to sync separately-recorded audio to it which is most likely rendered at a consistent frame rate!
In short, you need to use another video editing app, such as Handbrake or OBS, to transcode the video to a genuine fixed frame rate (in my case 60fps). It doesn't affect quality as long as you set everything to the highest setting.
Now import the new video into iMovie and its job done! It's a pain to have to re-process the video but its taken me a lot of searching and research to find the answer to this problem which has been driving me mad!
Edited by mpointon on October 19 2018 13:54
If you make a mistake, do it again and make it look like you meant to do it!