Monday, February 08, 2010

DSLR Sync Drift in Final Cut Pro

This post is a follow-up to my earlier post about the 99.9% speed problem that some people encounter with Final Cut Pro. I have learned a few things since then so now I can explain better what is going on. I have also simplified the procedure for avoiding the problem. Thanks go to Philip Bloom and Robin Charters for illuminating discussions about this unfortunately complex topic.

Symptom: My sound drifts out of sync!

You carefully synchronized your audio track with your video. (I hope you used PluralEyes :). It works great at one point in the timeline, but the farther away you get from that point the more out of sync the audio and video get.

There are a couple of different reasons why this can happen. Perhaps the clock in your audio recorder is not very accurate. (The Zoom H4 and M-Audio Microtrack are not very good in this regard. The Zoom H4n however is excellent and is highly recommended.) Another possibility is that some frames were dropped while capturing.

But if you are working in Final Cut Pro, a far more likely explanation is that it has gotten mixed up about frame rates. More specifically if you sometimes work with NTSC frame rates (like 23.98 or 29.97) and sometimes with non-NTSC frame rates (like 25 for PAL or 30 for the Canon 5D), then you have to take some care.

This problem is not specific to video from DSLRs but their rise in popularity and the accompanying increase in the use of dual-system audio techniques has resulted in the problem showing up more often.

A not-recommended solution

Some people solve the problem by changing the speed of the audio clips to 99.9% or 100.1% depending on which version of the problem is happening. I don't recommend this approach because it causes the audio to get resampled twice for no reason, which extracts a performance and quality penalty, and because it can cause issues in downstream processing. Better to set up FCP properly in the first place.

The recommended solution

In this section I'll just tell you what to do so you can get back to editing. But if you want to know why, you can read more about that farther down.

The key points to avoid the problem are these:
1. Don't mix NTSC and non-NTSC material in one sequence. (Instead, use Compressor to conform everything to a common frame rate.)
2. Use a sequence preset to match your clips with respect to NTSC or non-NTSC.

How to avoid the problem in the first place

Case 1: Your video has a non-NTSC frame rate

For example, suppose you have 30fps video from a Canon 5D Mark II.

1. From the FCP menu choose Final Cut Pro > Audio/Video Settings > Sequence Preset. If the frame rate of the preset is a non-NTSC frame rate (like 25fps) you're done.
2. If you need to change it, pick a non-NTSC frame rate like 25fps. (Final Cut doesn't ship with a 30fps preset.)
3. Close and re-start FCP.
4. Create a new project, import your clips into that and carry on.

Case 2: Your video has an NTSC frame rate

For example, you have 29.97 fps video from a Canon 7D.

1. From the FCP menu choose Final Cut Pro > Audio/Video Settings > Sequence Preset. If the frame rate of the preset is an NTSC frame rate (like 29.97 fps) you're done.
3. If you need to change it, pick an NTSC frame rate like 29.97 fps.
4. Close and re-start FCP.
5. Create a new project, import your clips into that and carry on.

How to fix a broken sequence

Maybe you've already done a lot of work on your project and can't bear the thought of starting over again from scratch. The following procedure will let you solve the problem for an existing sequence, but it may have to be re-done if you add more audio clips later. Because of this fragility it is not our preferred procedure.

1. Select the problem sequence in the FCP browser, right-click it and choose Export > XML.
2. Open that XML file in a text editor.
3. Look for the tags <ntsc>. If they all say
<ntsc>TRUE</ntsc>
or if they all say
<ntsc>FALSE</ntsc>
then you don't have a problem. But if there is a mix of TRUE and FALSE values, you need to change them so they are all the same. What value should you pick? The one that matches the NTSC-ness of your video clips.

Why does this work?

Audio doesn't have a frame rate like video. But FCP wants it to have one. Maybe there is a good reason for this, but I can't think of one. In any case, that's the way it is.

When you add a video clip to a sequence, FCP knows what frame rate to use. It just looks at the video clip properties. But if you add an audio clip to a sequence, FCP has to pick a frame rate for it. Here are some possible ways that you might expect it to do this.
1. It could use the frame rate of the sequence. (Nope)
2. It could use the frame rate of the sequence preset. (Nope)
3. It could use the frame rate of the sequence preset that was active when the project was created. (Nope)
4. It could use the frame rate of the sequence preset that was active when the FCP session in which the project was created was started. (Yup)

Follow that? It doesn't matter. Change the sequence preset, restart FCP, create a new project and you'll be good.
Bookmark and Share

Wednesday, February 03, 2010

PluralEyes on the Digital Convergence Podcast

I was interviewed today by the very nice Carl Olson for the latest episode of his Digital Convergence podcast. We talked mainly about PluralEyes but managed to fit in some thoughts on left-brain/right-brain duality and making 3D movies too. Digital Convergence is a new podcast about all matters to do with making video with the new breeds of hybrid DSLR cameras. Carl has put his finger on a hot topic and it's good to see a well-produced podcast on the subject.
Bookmark and Share

Saturday, January 23, 2010

Beauty Night 2009

The Beauty Night Society hosts its annual "All I Want for Christmas" fund-raising fashion show featuring pin-up designs by Nancy Black. Enjoy the inspiring story behind show ... and enjoy the beauty!

Bookmark and Share

Thursday, January 21, 2010

Pecha Kucha: Anne Pearson

Anne Pearson, owner of Vancouver Special Art+Design, roams the world to bring the best examples of affordable, clever design to Vancouver. In this presentation, Anne gives an interesting retrospective on how the urban daily experience in Vancouver has changed over the years. From Pecha Kucha Vancouver, Volume 9.



iPod-compatible video
Bookmark and Share

Trust Agents co-author speaks at Third Tuesday

Julien Smith, co-author of Trust Agents, speaking at Third Tuesday.



Props to Carlson Media for the nice recording.
Bookmark and Share

Monday, January 11, 2010

Pecha Kucha: Elvy Del Bianco

Elvy Del Bianco, Manager of Arts Initiative at Vancity works to redefine wealth in the Creative Economy. From Pecha Kucha Vancouver, Volume 9.



iPod-compatible video
Bookmark and Share

Sunday, January 10, 2010

Pecha Kucha: Su-feh Lee

Su-feh Lee, dancer, choreographer and Artistic Director of Battery Opera talks about how she uses the materials of "time, space and the human body" to help people make dances. From Pecha Kucha Vancouver, Volume 9.



iPod-compatible video
Bookmark and Share

Tuesday, December 15, 2009

Pecha Kucha: TJ Galda

TJ Galda of Electronic Arts shows off some of the latest tools and toys behind animated movie production, and how they are making their way into games. From Pecha Kucha Vancouver, Volume 9.



iPod-compatible video
Bookmark and Share

Pecha Kucha: Tom Pedriks

Tom Pedriks, Creative Director at Haymaker, presents some of the funniest hockey branding you are ever likely to see, at Pecha Kucha Vancouver, Volume 9.



iPod-compatible video
Bookmark and Share