Andy Mees wrote:the text field of any 'Text' titles (not 'Text+') can be parsed from an FCPXML (.fcpxml) export of a timeline.
Peter Cave wrote:Resolve does not export titles when exporting FCPXML files.
Hey Peter
As I wrote, Resolve DOES export the text field of '
Text' title instances (
but not '
Text+') when exporting FCPXML file... or at least it does right here, right now, on my laptop. See below:
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fcpxml>
<fcpxml version="1.3">
<project name="Timeline 5 (Resolve)">
<resources>
<format height="1080" name="FFVideoFormat1080p25" frameDuration="1/25s" width="1920" id="r0"/>
<effect uid=".../Titles.localized/Bumper:Opener.localized/Basic Title.localized/Basic Title.moti" name="Basic Title" id="r1"/>
</resources>
<sequence tcStart="3600/1s" duration="2867/25s" format="r0" tcFormat="NDF">
<spine>
<gap duration="2867/25s" offset="3600/1s" name="Gap" start="3600/1s">
<title duration="5/1s" enabled="1" offset="3600/1s" ref="r1" lane="1" name="Rich" start="3600/1s">
<text roll-up-height="0">
<text-style ref="ts0">Basic Title One</text-style>
</text>
<text-style-def id="ts0">
<text-style alignment="center" fontColor="1 1 1 1" bold="1" font="Open Sans" strokeColor="0 0 0 1" lineSpacing="0" italic="0" fontSize="96" strokeWidth="0"/>
</text-style-def>
<adjust-transform position="0 0" anchor="0 0" scale="1 1"/>
</title>
<title duration="5/1s" enabled="1" offset="90167/25s" ref="r1" lane="1" name="Rich" start="90167/25s">
<text roll-up-height="0">
<text-style ref="ts1">and this one works too.</text-style>
</text>
<text-style-def id="ts1">
<text-style alignment="center" fontColor="1 1 1 1" bold="1" font="Open Sans" strokeColor="0 0 0 1" lineSpacing="0" italic="0" fontSize="96" strokeWidth="0"/>
</text-style-def>
<adjust-transform position="0 0" anchor="0 0" scale="1 1"/>
</title>
<title duration="5/1s" enabled="1" offset="90292/25s" ref="r1" lane="1" name="Rich" start="90292/25s">
<text roll-up-height="0">
<text-style ref="ts2">Basic Title</text-style>
</text>
<text-style-def id="ts2">
<text-style alignment="center" fontColor="1 1 1 1" bold="1" font="Open Sans" strokeColor="0 0 0 1" lineSpacing="0" italic="0" fontSize="96" strokeWidth="0"/>
</text-style-def>
<adjust-transform position="0 0" anchor="0 0" scale="1 1"/>
</title>
<title duration="5/1s" enabled="1" offset="92397/25s" ref="r1" lane="1" name="Rich" start="92397/25s">
<text roll-up-height="0">
<text-style ref="ts3">And me!</text-style>
</text>
<text-style-def id="ts3">
<text-style alignment="center" fontColor="1 1 1 1" bold="1" font="Open Sans" strokeColor="0 0 0 1" lineSpacing="0" italic="0" fontSize="96" strokeWidth="0"/>
</text-style-def>
<adjust-transform position="0 0" anchor="0 0" scale="1 1"/>
</title>
</gap>
</spine>
</sequence>
</project>
</fcpxml>
As for parsing the data, I'd probably write a script where, for every line beginning '
<text-style ref="ts' it copied all text between the first '
>' and the last '
<' into an array.
Cheers
Andy
Let's have a return to the glory days, when press releases for new versions included text like "...with over 300 new features and improvements that professional editors and colorists have asked for."