Motion XML keypoint time encoding
Motion XML keypoint time encoding
- Subject: Motion XML keypoint time encoding
- From: Bret Battey <email@hidden>
- Date: Mon, 30 May 2016 17:47:38 +0000
- Thread-topic: Motion XML keypoint time encoding
I am working on a project where I would like to generate some keyframe data from another program and integrate the data into Motion XML. The last revision of the Motion XML Guide is 2010, but it looks to me like the major changes to the time encoding scheme
in Motion occurred after that point. Keyframe times used to be listed in XML simply as keyframe numbers, as described in the 2010 document. Now something much more mysterious appears for the <time> element of a <keypoint> if one looks at a Motion 5 project’s
XML – a set of four numbers. For example:
2831360 153600 1 0 for a keyframe at frame 554 in a 30 fps project.
The current FxPlug Overview notes that times are now recorded as a double-precision frame number or a “pointer to a rational number of seconds”, but I’m not sure how to relate that (or if it is relevant) to the four numbers appearing in the XML.
Any clues available as to how I can externally generate the correct time encoding for keyframe times to integrate into Motion XML?
Thanks,
----
Dr Bret Battey
Reader in Music, Technology and Innovation
De Monfort University
|
_______________________________________________
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