-
FCPXML generated by script | "The item is not on an edit frame boundary"
I’m, using script that generates fcpxml project, when i open it i see a lot of errors: “The item is not on an edit frame boundary“
And at the end of timeline i have some clips repeated with ~1 frame length (check attachment)
As i saw in fcpxml projects generated by Final Cut duration tag uses math divide expression to define duration/offset/etc for example:
<pre class=””><marker start=”20000/10000s” duration=”100/3000s” value=”Marker 2″ />
FC don’t like decimals? Or need somehow to match framerate??
Okay, so i’ve generated document:
<pre class=””>…
<asset-clip ref=”video4″ offset=”38799/2997s” name=”20 s2.mov” duration=”7665/2997s” />
<asset-clip ref=”video5″ offset=”46465/2997s” name=”20 s3.mov” duration=”7589/2997s” />
<asset-clip ref=”video6″ offset=”54055/2997s” name=”20 x.mov” duration=”15185/2997s”>so video4 offset 38799+7665 (duration) = 46464 (next clip offset)
Than i add +1 to it to avoid overlapping and add next clip offset.
What i’m doing wrong? FCPXML is attached below:
https://drive.google.com/file/d/1ZEnd-1CP2Nj13s6ocWAwKohjFnKkPgPa/view?usp=sharing
drive.google.com
FC Test Address, Final Cut, testOLOLO_unbranded.fcpxml
FC Test Address, Final Cut, testOLOLO_unbranded.fcpxml