How to export timestamps of multiple, synchronized clips in sequence?
Hello,
I'm a PP beginner and apparently do not fully understand how the sequence's frame rate, the synchronization feature and the Export option "Final Cut Pro-XML" work and relate to each other.
This is my use case:
I utilize PP to synchronize multiple clips before processing the clips with another tool in which I have to enter the clips' start timestamps to apply the synchronization there. I have to repeat this procedure for multiple batches of grouped clips and thus would like to use as much automation as possible, getting the results in a machine-readable file. In each batch of grouped clips there are clips with 30 FPS and clips with 29.97 FPS.
Currently, I use following workflow for each batch of clips:
- Create a project
- Add all clips to the sequence in different tracks of the sequence window
- Select all clips and use context menu option "Synchronize".
- Export the results in an XML file: "File->Export->Final Cut Pro-XML"
- Parse the <start> tag for each clip in the exported XML file to determine the frame number in which the respective clip starts
- Convert the frame number into a timestamp (relative to the beginning of the sequence) by dividing the frame number by the frame rate.
What I don't get:
What makes me curious is that the calculated timestamp sometimes deviates by a couple of seconds from the start timestamp of the respective clip displayed when hovering over it in the sequence window.
My first idea was that the different frame rates of the clips or alternatively the frame rate of the sequence need to be considered in step 6 instead of just assuming 30 FPS. I see that the XML file also contains tags for frame rate (<timebase>) and ntsc information (<ntsc>) but no matter which frame rate I assume, I fail to reproduce the start timestamp in the sequence window for at least some of the clips. Switching the sequence's frame rate between 30 and 29.97 seems to have an effect on the synchronization results as well as on the exported XML file but I still can't reproduce the start timestamp in the sequence window.
Is there something wrong with my workflow or does a more straight-forward workflow exist for my purpose? Do I misunderstand how frame rates and timestamps are used by PP?
