There is no need to track anything. These are 3D layers whose rotation is controlled by a null object. You can save the temp;late under a different name, and use the Replace Footage command to put your own precompositions where template's precomps are in the timeline. It's very simple.
Thanks for reply.
Just like the project in
I want to make a script that can show replacing placeholders in the footage.
To do so, I need coordinates of 4 corner pin of a composition(the composition which I can replace the footage).
Of course, I can put a placeholder with dots, render the project and then motion track it.
But it takes long time and tracked data is rusty and inaccurate.
I thought it mightbe cool if I could just keep tracking the vertax's x coordinate and y cordinate data.
It will be precise, clean and quick since the positions of the dots are already calculated.
Can you help?
The comp you showed us in your first post contained a 3D layer. If you want to corner pin track that layer then you have to pre-compose the layer and use corner pin tracking. The comp isn't really that good of a candidate for corner pin tracking because of the extreme perspective changes. The key to good tracking is a target that is about 100 pixels minimum and has some detail. Just putting small dots in the corner of the layer you want to track isn't going to cut it. You need details to get a good track.
If your project requires corner pin tracking data then Mocha's planer tracker or AE's corner pin tracker is a good and accurate option.
The other option would be to attach a 3D null to each corner of your animated 3D layer, make the nulls the children of the 3D layer (parenting) then write an expression that would take the toComp values from each of the nulls and then use the Keyframe Assistant to convert the corner expressions to keyframes. I wouldn't try to write that expression off the top of my head but it is pretty straight forward if you do a little research.
If you are trying to replicate the Facebook player app, then follow that tutorial series and you'll have to use the apps the author used to make things work.
If you are trying to make an After Effects template then you don't have to do anything but pre-compose your 3D layer, then instruct the user to replace the footage in the pre-comp with their own footage.