Sure. Simply track them as a corner pin, then do some simple math. Some thing to get you started is here:
You basically just figure out the difference of the pin positions vs. the comp and then add it onto the pin values to move them to the edges. Depending on what the film does, you may need additional corrections using distortion effects. Also you may wanan substitute AE's corner pin for a better product like Red Giant Warp or RevisionFX' RE:Map pin effect. Come to think of it.... those even have to/ from warping options, so you wouldn't need the expressions.
Got almost exactly what I needed with a demo of the RE:Map effect. Now I just need to get the boss to let me buy the license. :-)
The only downside of the plugin is that it is a true inverse corner-pin, so that the tracked points are pinned to the corners of the layer. I'm now working on creating expressions to be able to pin the four tracked points to completely arbitrary positions within the composition frame (this project is getting more and more complicated at every turn). What fun! :-D
Well, if CatMan properly understands the task, you can track reference marks in Mocha and then either create stabilised pre-comp in almost one click with MochaImport script or just import tracking data manually, stabilise a layer and then drop it into a comp with the required size...
Hi CatMan. :-)
That's kind of what I'm doing, but for basic point tracking (these are very clean, clearly visible tracking markers in the frame) I actually prefer the AE tracker to the Mocha planar tracker. But you're right, the Mocha / MochaImport / RGWarp (pre-comp) workflow should produce effectively the same result. Just with RE:Map I can do it in one application and a few less steps.