Encoding of data parameters in .moef (Final Cut Effect template) files
Encoding of data parameters in .moef (Final Cut Effect template) files
- Subject: Encoding of data parameters in .moef (Final Cut Effect template) files
- From: Patrick Renner <email@hidden>
- Date: Mon, 01 Aug 2011 11:32:49 +0200
We are programmatically creating .moef files from our own application - which works pretty good for numerical parameters.
For data parameters (data blobs) we couldn't completely encode our payload data into data parameters in the moef XML file.
An example snipped from the .moef file:
--- snip ---
<parameter name="My Fancy Datablob" id="23" flags="77326188545">
<numberOfKeypoints>0</numberOfKeypoints>
<defaultVal>*********6IeMb-gOLBoA11I*E61-*I40*ZM75NZQbBdPqtM74xWOaJXR5BN743mMqVdRaJmJ0FoPr*G**44c825JGFiRKlgLl*DHZB9NLZZN23mMqVdRaJmoEc9IWEkU**62FcX9H6rCHxFJ3Q********-*E*********A********************KE**</defaultVal>
<dataValue>********67UeMb-gOLBoA11I*E61-*I40EdM75NZQbBdPqtM74xWOaJXR5BN743mMqVdRaJmJ0FoPr*G**44c86503IYPbJgP2wF6*1a*CQ*u*1c*CY*uE1e*Cg*uk1g*Co*vE1i*Cs*vk1k*D**wE1l*D6*wk1n*DE*x*1p*DM*xU1r*DU*y*1t*DY*yU1v*Dg*z*1x*Do*zU1y*Dw***2**E2-*U20*EA-*k22*EI--E24*EQ--k26*EY-0E28*Ec-0k2A*Ek-1E2C*Es-1k2E*F*-2E2G*F6-2k2I*FE-3E2K*FM-3k2L*FU-4E2N*Fc-4k2P*Fk-5E2R*Fs-5k2T*G*-6E2V*G6-6k2X*GE-7E2Z*GM-7k2c*GU-8E2e*Gc-8k2g*Gk-9E2i*Gs-9k2k*H*-AE2m*H6-Ak2o*HI-BE2q*HQ-Bk2s*HY-CE2u*Hg-D*2w*Ho-DU2y*Hw-E*3**I2-EU31*IA-F*33*II-FU35*IU-G*37*Ic-GU39*Ik-HE3B*Is-Hk3E*J*-IE3G*J6-Ik3I*JI-JE3K*JQ-K*3M*JY-KU3P*Jg-L*3R*Js-LU3T*K*-ME3V*K6-Mk3Y*KE-NE3a*KQ-Nk3c*KY-OU3e*Kg-P*3h*Ko-PU3j*L*-Q*3l*L6-Qk3o*LE-RE3q*LQ-
....
--- snip ---
We found out, that the blob is the plist from a NSKeyedArchiver encoded with something similar to xxencode (with a slightly different character set). This is similar to the blob encoding used for Final Cut Studio, but still different (no CDATA element, other encoding character set, different archiver nesting).
Unfortunately there are some padding bytes at the beginning of the plist and some missing bytes at the end for which we couldn't find out an apparent algorithm.
Maybe someone knows more or can give some hints how to properly create these blobs for .moef XML files.
Thanks,
Patrick
-- Patrick Renner
-- email@hidden
-- Pomfort GmbH
-- http://pomfort.com
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden