2

I have some data outside that i would like to use to create certain edit effects in Adobe Premiere Pro. Rather than editing by hand adding keyframes over time with my data i would like to automate this and write or use a tool to create an XML fragment and update the project file.

I have looked at the XML and some properties are evident. However most data is hidden away as comma separated values, which of course means theres no self documenting tag name. I am therefore after a schema or documentation that describes the format of some or all effects.

<VideoComponentParam ObjectID="48" ClassID="fe47129e-6c94-4fc0-95d5-c056a517aaf3" Version="8">
        <Node Version="1">
            <Properties Version="1">
                <ECP.Angle.Expanded>false</ECP.Angle.Expanded>
                <ECW.Parameter.VelocityHeight>54</ECW.Parameter.VelocityHeight>
            </Properties>
        </Node>
        <RangeLocked>false</RangeLocked>
        <ParameterID>5</ParameterID>
        <CurrentValue>0.</CurrentValue>
        <UnitsString></UnitsString>
        <UpperBound>32767.</UpperBound>
        <LowerBound>-32768.</LowerBound>
        <Keyframes>913287043468800,270.,0,0,0,0.166667,-32.4615,0.166667;914685944772533,91.230003356934,0,0,-32.4615,0.166667,14.5418,0.166667;916236575654400,180.,0,0,14.5418,0.166667,-11.4292,0.166667;920237090572800,0.,0,0,-11.4292,0.166667,0,0.166667;</Keyframes>
        <StartKeyframe>-91445760000000000,0.,0,0,0,0,0,0</StartKeyframe>
        <ParameterControlType>3</ParameterControlType>
        <DiscontinuousInterpolate>false</DiscontinuousInterpolate>
        <IsLocked>false</IsLocked>
        <IsTimeVarying>true</IsTimeVarying>
        <Name>Rotation</Name>
    </VideoComponentParam>

The interesting tag is of course the Keyframes, which appears to include the keyframe, rotation degrees and some other numbers. I havent yet decyphered the first value which is obviously the timestamp.

Any help in undetrstnding the XML is appreciated.

ADOBE FORUMS

http://forums.adobe.com/thread/962485

  1. Todd_Kopriva, 14-Feb-2012 00:18 in reply to br4ime Report No, there is not any public documentation about the structure of the Premiere Pro project file format. Was this helpful? Yes No

FINAL CUT PRO XML I have exported a simple project to Final Cut Pro XML and it appears to be functional but in the above case about rotation over several keyframes, the FCP file has far fewer values.

<parameter authoringApp="PremierePro">
                                                <parameterid>rotation</parameterid>
                                                <name>Rotation</name>
                                                <valuemin>-8640</valuemin>
                                                <valuemax>8640</valuemax>
                                                <value>0</value>
                                                <keyframe>
                                                    <when>107634</when>
                                                    <value>123</value>
                                                </keyframe>
                                                <keyframe>
                                                    <when>107784</when>
                                                    <value>124</value>
                                                </keyframe>
                                                <keyframe>
                                                    <when>107934</when>
                                                    <value>126</value>
                                                </keyframe>
                                            </parameter>
4

2 回答 2

2

Here is full description of Final Cut XML format. it is same as Premiere XML. Go to developer.apple.com and find the document that describes FinalCutPro XML format, it's exact the same as Premiere pro XML. The structure is simple, for example this is sequence block format:

<?xml version="1.0" encoding="UTF-8"?>
<xmeml version="3"> 
  <sequence>
    <name>Sequence 1</name>
    <duration></duration>
    <rate>. . .</rate>
    <timecode>. . .</timecode>
    <media>
      <video>
        <format></format>
        <track></track>
      </video>
      <audio>
        <format></format>
        <outputs></outputs>
        <track></track>
        <track></track>
      </audio>
    </media>
  </sequence>
</xmeml>

direct link is: https://developer.apple.com/appleapplications/download/FinalCutPro_XML.pdf

于 2015-01-08T06:12:01.087 回答
1

最好的解决方案是使用您最喜欢的差异工具进行更改并研究文件差异。理解小片段和手动编辑 XML 并不难。进行更改并重新加载项目文件并观察更改自然会很痛苦,但它是可行的。

于 2012-09-18T01:52:34.687 回答