Found errors in the Mocha Pro

  1. LONG SEQUENCES

When importing a sequence with a large number of images through the “IMPORT” window


the Mocha Pro plugin crashes.

If a sequence with a small number of images is imported, the Mocha Pro plugin works stably.

This error appears on computers running the Windows and MacOs operating system all the time.


  1. MOCHA PRO BRAKES IN LARGE PROJECTS

The more layers a project contains, the slower the Mocha Pro plugin will work. On some projects, I saved the entire list of splines to a file, continued to work with the video, and after finishing the project, I loaded the splines through the merge option.

The Mocha Pro plugin is used on a 2021 Mac Pro laptop with 64 Gb RAM.


  1. INSERT - WARP - SELECTION PROBLEM

3.1 After turning on the surface deformation mesh, to select one point or a group of points, you need to circle a frame or lasso twice so that the points are selected


  1. INSERT - WARP - DEFORMATION PROCESS

After turning on the surface deformation mesh, after selecting a group of deformation points, during the first movement, the points move very weakly.

For full deformation you need:

  • Remove selection of points

  • Select one point.

  • Move the selected point.

  • Roll back the deformation.

  • Select a group of points and deform the surface as needed

This approach is very inconvenient and makes it very difficult to apply the warp mesh on a permanent basis.


  1. CURVE EDITOR

There are a number of problems with the CURVE EDITOR:

5.1 Make the mode designations larger and more explicit.

The included eye icon is very faintly visible.

The activated lock is very faintly visible, especially on a high-resolution monitor.

5.2 When selecting a property, a curve related to that property shall be selected.

And when the property is selected and in the area of ​​curves all curves remain green, a lot of time is wasted.

5.3 In the area of ​​curves there are no vertical and horizontal scrolling bars screenshot,

and there are no zoom buttons screenshot,

without these tools it is extremely difficult to navigate this area.

5.4 The time pointer on the general timeline and the time pointer in the editor area are interconnected, that is, when the position of one pointer changes, the other pointer automatically changes its position

But if the time indicator on the general timeline is moved strongly to the side, then the time indicator in the editor area will be hidden, because in this example only part of the timeline is shown in the editor area

and I need to look for the time indicator trying to find its location.

This problem can be solved like this:

A) If the time pointer goes beyond the area in the editor, show an additional designation of this pointer, for example, as it was done in After Effects

B) When you set the time indicator on the general timeline under the video, the time indicator is automatically set in the editor area, and if the new time is located outside the displayed area, then a new time area is automatically displayed in which the new position of the time indicator is displayed.

5.5 Before selecting a point in the editor area, you must first select a property in the list of properties

and the curve will turn blue. But how do you find this property?

Therefore, here you need to select a point on the curve in the editor area without selecting a property in the list of properties, and editing the data will become much more convenient.


  1. IN/OUT, TIME CONTROLS

If you copy the Timecode from field 1 through the context menu that opens with the right mouse button and paste into field 2 or field 3, highlighting the number in this field and then open the context menu with the right mouse button and select Paste.

Then after pressing the ENTER key on the keyboard, nothing happens to the input or output point or the current time.

This error appears when copying timecode from any field to any field.

Also, this error appears when copying and pasting frames from any field to any field.


  1. ICON “+” OR “-” IN THE LAYER GROUP IN THE LAYERS PANEL

In the “Layers” panel, after creating a group and moving one or more layers into it, a “+” icon appears next to the folder icon, or if the group is expanded and its contents are shown as a list - the “-” sign

But when a group is selected, the “+” or “-” signs disappear

Is this a mistake or not?


  1. ATTACH LAYER

8.1 When two splines are connected via ATTACH LAYER, the points in them are not smoothed and remain angular. This is a serious problem.

8.2 After attaching several points of one spline, with several points of another spline through ATTACH LAYER, after several operations of tracking these and other layers, the following problem is observed.

In the example, when you move a point that is common to two splines, the move is performed as usual. But sometimes and especially when there is a list of layers, when you move the common point by 5 pixels with the mouse, the point moves by 50 pixels. The problem appears frequently, but it was not possible to create it for demonstration.


  1. THE PROBLEM OF TRACKING PLANES CLOSE TO THE CAMERA, OR PLANES IN A LONG PERSPECTIVE

If the tracked plane in the video is very close to the camera, then the spline shape and surface area increase and go far beyond the video dimensions.

If the tracked plane has a long perspective, then when the camera moves along the tracked plane, part of the spline and surface shape goes far beyond the video boundaries. Watch a video example:

In both cases, the error “Failed to computer layer homography” may appear, after which the layer must be deleted and recreated.

I found 2 posts on your forum:

And you can see that there are people who have already encountered this problem.

In these messages, your employee writes that the problem is still unsolvable.

As an option, I can offer the following idea.

In the “TRACK” section, add a homography adjustment with a numeric value that will adjust the distance from the frame boundaries to the rectangle boundaries, beyond which the calculation of the surface and spline position data is disabled.

For example, if you specify 100 pixels in this setting, then spline and surface location data is taken into account for tracking at a distance of 100 pixels from the video border, and then turned off.

Such a solution can allow to get around this error and radically expand the scope of the Mocha Pro plugin.


  1. INSERT - WARP - RESET LAYER SELECTION

In the mode of surface deformation through the mesh, when an empty area is selected with a frame, the selected layer is reset and the stabilization mesh along with the surface is hidden.

This logic makes it difficult to work with the stabilization mesh and increases the time for surface deformation.


  1. DIFFICULT SURFACE OVERLAY

In my example, there are 3 layers BACK DOOR, FRONT FENDER, FRONT DOOR. Each layer contains one spline and one surface. In the FRONT DOOR layer, an image is inserted into the surface, which is stretched over the area into the BACK DOOR, FRONT FENDER layers and, with the settings for the example, is limited to the spline shapes of these two layers.

11.1 You can do this setting of surface propagation from one layer to other layers located above in the Layers panel only once in the current project, attached to the After Effects layer.

Or can you do so much more?

11.2 In this mode, the above layers in the Layers panel with occlusion splines do not cut out the occlusion area

How to cut out the area of ​​occlusion on the tracked plane from the entire area of ​​the plane? For example, in the Layers panel, the first three layers in the list contain splines created around occlusions on objects that should be visible in the video.


  1. DOPE SHEET

In the DOPE SHEET editor in the list of properties, when a group of properties is selected, the “+” or “-” icon is hidden

Fix it

Thanks for the detailed feedback, we will let @martinb and the dev team know.

Thanks for being thorough, but we will need more details:

We will need to know clip lengths and frame ranges used to reproduce this defect.

We will need projects of examples or how many layers and what they are doing in the shot. More details of the actual project files will help.

This is currently being addressed and is a known defect.

This is also a known defect that is being looked at.

The curve editor is a legacy feature and is unlikely to be fixed in the near future. In fact, we hide it by default in the interface so it is used less.

Thanks for this, we’ll investigate. That’s an unknown defect as far as i’m aware.

This seems like a cosmetic defect. We can check.

This is by design. The point of the attach tool is to create a seamline connection between two non-coplanar layers. You can’t attach two weighted splines and have the curve match without adding additional points, so the only solution is to set the point to corner.

Most vast perspective issues were addressed in the latest versions. There will still be some areas where a track is way too long to accommodate the distortion of the spline, but this is also true when exporting said splines to Nuke or After Effects: They have an upper numerical limit.
If you have a specific example you can send us as a clip to test with, we will look into it.

This is a known defect related to selection priority and is being addressed.

Against, this looks like a cosmetic defect. It can probably be fixed easily.

  1. LONG SEQUENCES

This problem manifests itself in sequences with a frame range starting from 100. It may not appear in some cases. And if this happened, then other problems arise:

1.1. If a long sequence has loaded normally, then it cannot be selected from the list in the “Clip” - “General” section. Rather, you can choose, but after choosing - Mocha Pro crashes. The check was carried out when loading a 232-frame sequence in 4k.

1.2. Mocha Pro stops working properly. That is, the inserted content through the “Insert” item is displayed on the video in the plug-in, but after exiting the plug-in, there is nothing on the video in After Effect.

  1. MOCHA PRO BRAKES IN LARGE PROJECTS

Download my working project, which has a lot of splines and settings and is slow:
https://vs1050.ru/For_Suppot_Mocha_Pro.zip

I am enclosing an example. Track the side of the car with one spline and surface from the beginning to the end of the video:

The biggest issue with this track TBH is going to be the massive surface reflections on the car.
You can getaway with using the wheels and maybe some of the details for an accurate track, but it will take some use of the AdjustTrack module to make it rock solid.

If you’re just using it for roto however, you can get a decent track along the body of the car in one pass. It won’t be perfect (due to the reflections) but it does maintain the overall motion.

For shots like this, i’d recommend starting from a bit further into the timeline and tracking forward and backwards from a mid-point on the car. That way you get better track stability due to having a reference point not so far back in the shot. You’ll need to adjust your spline accordingly using uberkey to maintain the shape.

Are these specifically using sequences, as opposed to clips?

If you use video clips (mp4, mov, etc) instead of image sequences (i.e DPX, jpg etc) then yes, there is a bug that will not allow you to render them to the timeline correctly. This has to do with media ingest in GStreamer that we’re looking into.

In the meantime, make sure you use image sequences when importing directly to mocha from disk.

I agree, but only half. If you do this, then the error “Failed to computer layer homography” will appear to the extreme points, or a spline or surface that goes far beyond the boundaries of the screen is bent and the layer breaks.

Long sequences also crash the plugin, but I already wrote about this.