Copy link to clipboard
Copied
hey,my hero;I can access the data of mask path date with some cmd,but i got those data,i absoultely know that is the data of mask keyframes,the first is time ticks,but i can not figure out what are they second?could you help me this?
<Keyframes>0,MmNpbgIAAAAAAAAABAAAAAAAAACCrtE+BA+mPoKu0T4ED6Y+gq7RPgQPpj4BAAAAAAAAAEHXKD8ED6Y+QdcoPwQPpj5B1yg/BA+mPgEAAAAAAAAAFvlMPzYzUz8W+Uw/NjNTPxb5TD82M1M/AQAAAAAAAACCrtE+hAcTP4Ku0T6EBxM/gq7RPoQHEz8BAAAA;364453689600,MmNpbgIAAAAAAAAABAAAAAAAAAAkA88+CQ+mPiQDzz4JD6Y+JAPPPgkPpj4BAAAAAAAAAJKBJz8JD6Y+koEnPwkPpj6SgSc/CQ+mPgEAAAAAAAAAZ6NLPzkzUz9no0s/OTNTP2ejSz85M1M/AQAAAAAAAAAkA88+hgcTPyQDzz6GBxM/JAPPPoYHEz8BAAAA;</Keyframes>
Gotcha, yea there are a few data types in Premiere that are not undocumented and unable to be updated through the API or during runtime. Mask data, text data, among others fall in this category. Only workaround would be to reverse engineer the data, edit offline, and re-open the project file. Some have done it, but it's no walk in the park.
Copy link to clipboard
Copied
PPro offers no API around mask keyframe interpretation, nor is mask keyframe data documented.
Copy link to clipboard
Copied
How are you retrieving this data and for what sort of mask property (Opacity / Effect / etc)
Copy link to clipboard
Copied
it is about a effects,when you export a effects as pr preset,you open this set,you can get those data
Copy link to clipboard
Copied
Gotcha, yea there are a few data types in Premiere that are not undocumented and unable to be updated through the API or during runtime. Mask data, text data, among others fall in this category. Only workaround would be to reverse engineer the data, edit offline, and re-open the project file. Some have done it, but it's no walk in the park.
Copy link to clipboard
Copied
Do you have ways to decode those things?Seems like diffcult,if you have some tips,please help me,thank you
Copy link to clipboard
Copied
You can look up encryption types, look for patterns, try various decoders, ask ChatGPT.
Copy link to clipboard
Copied
Justin is correct; however, relying on parsing of undocumented Adobe data structures is neither supported, or recommended.
Copy link to clipboard
Copied
Yes, also subject to change without notice.