Help writing FCPXML Documentation? #27
Replies: 2 comments 2 replies
-
I wrote an algorithm that can calculate the 'absolute timecode' of any element in DAWFileKit and it works with everything I've thrown at it so far. (There may be some uncovered edge cases where it needs work yet.) I'm not sure just reading the source code will give you what you want however because there are some helper methods that may be tricky to work out. There were numerous special cases and handlers for specific hierarchies because of how nuanced FCPXML can be. |
Beta Was this translation helpful? Give feedback.
-
After a lot of swearing, I THINK I have something that finally makes sense: |
Beta Was this translation helpful? Give feedback.
-
Even though I've developed lots of FCPXML-based applications over the years, I still find it insanely confusing and I constantly forget how to do things and how things work.
To combat this, I started writing some documentation on FCP Cafe to determine the "source timecode" of a
sync-clip
.However, I'm having an insanely hard time writing something that actually works.
Here's what I've got thus far:
https://fcp.cafe/developers/fcpxml/#getting-source-timecode
Even ChatGPT struggles to understand how to get the right answer.
Can anyone help me solve this? It SHOULD be such a simple example, but alas, even I can't get my head around it.
I wanted to write this "simple" one first, before even attempting to talk about different frame rates.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions