Final Cut Pro FCPXML precision issue with effect parameters
FCPXML effect parameter value storage seems to have a precision problem.
Background: I am building tools (Claude skills and python code) that use FCPXML exports of multicam interviews and transcripts to programmatically generate projects. This project FCPXML references the original multicams via the exported multicam FCPXMLs so when a generated project is imported into the library, it uses these already existing multicams. Nice and clean and works great.
A curious thing I ran into recently is that one particular interview multicam (out of six) would always be recreated when importing the project FCPXML. This multicam was a bit unusual with Gaussian Blur and Glass Block effects applied to obscure the interviewee.
What I discovered is if there is an effect parameter that's altered via the slider, like the Glass Block's Center, the internally stored value appears to exceed the FCPXML's 6(?) digit precision. Using that multicam's FCPXML export to build the project FCPXML resulted in FCP creating a duplicate multicam on import because it considered the mutlicam referenced in the FCPXML to be different than the one in the library.
Even stranger, if I reset the Glass Block effect values using the UI dropdown menu, it still duplicated on import. Resetting Glass Block apparently also writes values that exceed the precision of the FCPXML. If I removed and reapplied the effect without making any changes, then it was not duplicated on import. No effect parameter values are written in the FCPXML on the effect if there were no changes. Or, if I manually entered a value into the field versus using the slider, then it would import without duplicating.
I reported to Apple Feedback but probably only an issue for those of us leaning on FCPXMLs for workflows. Just curious if anyone else has experienced this.