Skip to main content
FStone77
Inspiring
December 27, 2017
Answered

AEGP Plugin MochaShapeConverter: Failed to build correct mocha shape data

  • December 27, 2017
  • 2 replies
  • 2458 views

The title is the error message I get from Mocha when I try to paste a mocha mask into AE using Paste Mocha Mask. I've also received this alert when attempting to create a new track: "Tracking failed: Couldn't decompose motion matrix."

I am using AE CC 2017 on Windows 7 Pro 64-bit. I have 16 GB of RAM, 13 of which is available for AE and other CC programs.

I have been using AE and Mocha for over a year on this project with no problem-- these errors appeared with no other indications and have halted my work completely as I cannot figure out a way around these new problems.

The only forums I could find related to this problem were 2 or 3 years old. The suggestions I found involved going into Mocha Preferences > OpenGL and changing the "Amount of Texture RAM to Reserve [MiB]" to 10000 (it was initially set at 256), and checking "Disable offscreen buffers." I did these both and had no success with either error message.

Still further confusing, the "Paste Mocha Mask" feature seems to work with some masks in some files and there seems to be no rhyme or reason behind which will properly import into AE and which will not.

I've also seen suggestions to bypass 'Paste Mocha Mask' and these do not create a new mask, but rather paste it into the layer as an effect.

Any help would be greatly appreciated.

This topic has been closed for replies.
Correct answer FStone77

Mylenium​ Thanks for the reply; it took me a little while to figure things out but it's working now.

For anyone else with the same issue(s), here's what happened:

The first error message (Failed to build correct...) was caused by something kind of odd-- after using the analyze feature to track an object, over the course of the last few frames in the clip, all of the points on the track converged to the same point. With all of the points in the same location, Mocha could not build the shape data.

The solution for this was to go into the Dopesheet and remove those frames.

As my original post stated, I changed some selections in the OpenGL preferences as a potential fix-- those changes seemed to cause the second error message (Tracking failed: Couldn't decompose motion matrix.) Undoing those changes removed this error.

2 replies

FStone77
FStone77AuthorCorrect answer
Inspiring
January 1, 2018

Mylenium​ Thanks for the reply; it took me a little while to figure things out but it's working now.

For anyone else with the same issue(s), here's what happened:

The first error message (Failed to build correct...) was caused by something kind of odd-- after using the analyze feature to track an object, over the course of the last few frames in the clip, all of the points on the track converged to the same point. With all of the points in the same location, Mocha could not build the shape data.

The solution for this was to go into the Dopesheet and remove those frames.

As my original post stated, I changed some selections in the OpenGL preferences as a potential fix-- those changes seemed to cause the second error message (Tracking failed: Couldn't decompose motion matrix.) Undoing those changes removed this error.

Mylenium
Legend
December 28, 2017

You will have to provide screenshots and detailed info about each and every project. Those could totally be unrelated to mocha itself but be issues with otehr effects, the footage sources, the AE caches and whatnot.

Mylenium