Skip to main content
Known Participant
July 16, 2023
Answered

Extendscript to access the mask path in premiere;

  • July 16, 2023
  • 2 replies
  • 1179 views

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>

 

 

This topic has been closed for replies.
Correct answer Justin Taylor-Hyper Brew

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.

2 replies

Justin Taylor-Hyper Brew
Community Expert
Community Expert
July 17, 2023

How are you retrieving this data and for what sort of mask property (Opacity / Effect / etc)

干5FFBAuthor
Known Participant
July 18, 2023

it is about a effects,when you export a effects as pr preset,you open this set,you can get those data

Justin Taylor-Hyper Brew
Community Expert
Community Expert
July 18, 2023

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.

Bruce Bullis
Legend
July 17, 2023

PPro offers no API around mask keyframe interpretation, nor is mask keyframe data documented.