Essentially you cannot do what you want with the current version of XML. The workaround is to create the Project as a Compound Clip within the Event. That what we do with 7toX for the same reason. Once imported it can be added to a new project and broken apart, or simply opened as a timeline. Philip On Apr 19, 2012, at 5:16 AM, Valentin Truant wrote:
Hi all,
I have a small question with the final cut pro x xml import. I 'd like to import a 2 xml files, in the first one, I describe the event and they resources with asset and clips with ratings and one the second one I would like to create a sequence.
My problem is in the secondary xml, when I want to use clips from the first xml, I add in the resources a "<projectRef>" with the project unique ID but FCPX can't find it. Why is FCPX ignoring my uid ? How can I do to reference to asset from my first XML?
XML 1. (Event) <?xml version="1.0" encoding="UTF-8" standalone="no"?> <fcpxml version="1.1"> <project name="12345" uid ="4F0DB0F6-D7AF-46AE-A975-B64C9810E7EB"> <resources> <format id="r1" name="FFVideoFormat1080i5994" fieldOrder="upper first" width="1920" height="1080"></format> <asset >...</asset> <asset >...</asset> <media id="r4" name="DisplayName" uid="039C478D-B7B0-4F0D-BF7C-BED3D7CF2448"> <multicam format="r1" tcStart="215999784/60000s" tcFormat="DF"> <mc-angle name="Camera 1" angleID="1"> ... </mc-angle> <mc-angle name="Camera 2" angleID="2"> ... </mc-angle> </multicam> </media> </resources> <mc-clip ref="r4" name="MulticamDislayName" start="215999784/60000s" offset="0s" duration="3601598/60000s" audioAngleID="1" videoAngleID="1"> <rating start="108642000/30000s" duration="165000/30000s" value="favorite"></rating> <rating start="108807000/30000s" duration="148000/30000s" value="reject"></rating> <rating start="108955000/30000s" duration="123000/30000s" value="favorite"></rating> </mc-clip> </project> </fcpxml>
XML 2. (Sequence) <?xml version="1.0" encoding="UTF-8" standalone="no"?> <fcpxml version="1.1"> <project name=12345"> <resources> <format id="r0" name="FFVideoFormat1080i5994" fieldOrder="upper first" width="1920" height="1080"></format> <projectRef id="r1" name="12345" uid="4F0DB0F6-D7AF-46AE-A975-B64C9810E7EB"/> <media id="r2" name="MulticamDislayName" uid="039C478D-B7B0-4F0D-BF7C-BED3D7CF2448" projectRef="r1"></media> </resources> <sequence duration="3601598/60000s" format="r0" tcStart="108642000/30000s" tcFormat="DF"> <spine> <mc-clip ref="r2" name="Multi-Clip" start="108642000/30000s" offset="107892000/30000s" duration="165000/30000s" audioAngleID="1" videoAngleID="1"></mc-clip> <mc-clip ref="r2" name="Multi-Clip" start="108807000/30000s" offset="107892000/30000s" duration="148000/30000s" audioAngleID="2" videoAngleID="2"></mc-clip> <mc-clip ref="r2" name="Multi-Clip" start="108955000/30000s" offset="107892000/30000s" duration="123000/30000s" audioAngleID="1" videoAngleID="1"></mc-clip> </spine> </sequence> </project> </fcpxml>
Thanks,
Truant Valentin.
_______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/pro-apps-dev/philip%40intelligentass...
This email sent to philip@intelligentassistance.com
Philip Hodgetts President, Intelligent Assistance Conquering the metadata foundations of Final Cut Pro X http://bit.ly/mBDqIY Personal Blog http://philiphodgetts.com Cell 818 335 3916 _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Philip Hodgetts