I recorded a conference on the weekend, with 4 talks between 1/2 hr to 1 hour long. Due to unforseen circumstances I ended up using my brothers laptop with audacity to record the audio (I would normally use my multitrack ardour rig), and I recorded the video with a Panasonic NV-GS400 (great camera btw).
I figured that being digital the audio should sync quite nicely, so I got the files off the laptop, grabbed the video via kino, and layed it out in cinelerra. Woops, I had recorded audio in 44.1Khz because I sold CD’s of the talk as well, but of course the video was in 48Khz. The audio was about 15 secs out of sync over the 40 minute talk. So I upsampled from 44.1 to 48 in audacity and reimported into cinellera assuming that would solve the problem.
NOPE!
There was still a drift of over 10 seconds, apparently due to the camcorder not locking audio properly (I read something about this on the linux audio forums). So what the hell could I do? The other problem was the second camera angle which can often be cut to in order to get around these problems was rubbish…couldn’t handle the low light like my GS400…it was embarassing in comparison!
This is what I did:
I exported the video only from kino as one big DV file. Then I started a new ardour session in 48khz, imported the 44.1 Khz file which it upsampled for me, and then opened the DV file in xjadeo - synced to jack of course.
Okay the drift was still there, so definitely it wasn’t a problem with cinelerra or audacity in terms of sample rate issues etc etc.
Luckily thanks to ardour, the fix was easy. I moved the audio to the first frame of when the speaker opened his mouth and made sure I had good sync for around 30 seconds. I then went to the end of the talk and inserted a marker at the very instant he closed his mouth from the last word.
Using the object tool, I dragged the boundary of the region until it met up with the last word in the audio file. Then I selected the time stretch/shrink tool and dragged the region back to the marker. It took about 60 seconds to resample the audio and WHALLA! Everything was now in perfect sync. That’s right over 40 minutes the massive drift had been corrected with NO loss in audio quality and maintained PERFECT sync throughout the talk. I jumped the playhead around to many spots to check, and not one iota of drifting in or out!
Thanks Paul, Thanks all the other Ardour Developers…
ARDOUR TO THE RESCUE ONCE AGAIN!