Showing posts with label camera tracking. Show all posts
Showing posts with label camera tracking. Show all posts

Sunday, 18 March 2012

testing MatchMover 2012 and Maya with camera tracking

So, i've been testing MatchMover to see how good it is with camera tracking. I've just done the tutorial, but with some footage taken in the garden.

After my first two tries with "automatic tracking" it didn't work too well. It can't seem to handle the HD footage with the compression on it. The amount of pixels per compressed block seems to put the tracking points off a little. One idea might be to make the resolution smaller, with the idea that this will make the compressed areas pixels themselves, and so not cause any confusion.

On exporting to Maya I noticed it did not put the image in the background of the camera. It came up with this error:

// Error: Unable to load the image file, '/Users/monkey/Desktop/Movies/DSCF0.AVI', for rzImagePlane1

For a start, the movie file was named: DSCF01525.AVI, and not DSCF0.AVI. Second of all it is a movie file! So, to fix:


  1. In the Viewport, select Panels > Perspective > rzCamera1
  2. Select the camera
  3. Go to the rxImagePlane1
  4. Change Type to "Movie"


Done.

I noticed when put into Maya the image slips a lot, certainly a lot more then in MatchMover. The only reason I can see for this is the fact I'm using a widescreen movie file, and the camera setup might not be the same.

The first thing I tried was to increase the frame offset. I changed it to '1' and it made a little difference, but still wasn't perfect. My next thing to try is to change the AVI into an image sequence. Thirdly, I'll have to look into the 'pixel aspect ratio'.

Now, the question of how to convert to an image sequence?

Answer: use MPEGstreamclip 1.9 and upwards. Cheers.

After converting to a sequence, I matchmover'd it and put it into maya. Perfect. It looked as good as it did in MatchMover. I can only assume it was to do with things like 'pixel ratio' and frames per second? Anyway, from now on I shall only use image sequences.

Wednesday, 14 March 2012

MatchMover 2012 OS X A valid license could not be obtained

Just got the free student version of Maya 2012 which comes with MatchMover 2012! Yay.


Maya is working fine, but MatchMover comes up with:



A valid license could not be obtained by the network license manager - error -1.359.2 (????)
License was not obtained - tried maya 2012 (657D1 2012.0.0.f), error 20
License method : environment variable Maya_License_method=’network’
Product choice : environment variable Maya_License=’unlimited’
License file override : environment variable Maya_alt_en is not set
This is the maya 2012 license.env
MAYA_LICENSE=Unlimited
MAYA_LICENSE_METHOD=Standalone
This is the adlminfo from matchmover…
type=Standalone
serial=xxxxxxxxxxxxx
prodkey=657D1
configuration=Unlimited

Just had a quick search and found this forum. Just a quicky really. Just have to copy the license.env from:
/Applications/Autodesk/Maya 2012/Maya.app/Contents/license.env
to:
/Applications/Autodesk/MatchMover2012/MatchMover2012.app/Contents/license.env

Works a charm. Must just be a bug with the Mac OS X version

Thursday, 21 January 2010

Camera Tracking with Voodoo and Blender

Well, it's a little bit of a minefield camera tracking using free software as you'd expect. Heres what I've been able to find out in a few hours:

To start with you will need a video file which you want to camera track. I used a simple camera and recorded video on it.

Next you need to convert this to an image sequence (not the most straight forward things to do suprisingly). After 20 mins of looking I found VirtualDub does this and many more video conversions (worth looking at). Also, you can get blender to do it for you by putting a camera with the video in the background and rendering out the sequence (handy).

Now you can get round to using Voodoo. Open the sequence and click on ¨Track¨ down in the bottom right (took me a while to find this the first time! Should be a menu item for it). This takes a while but eventually you'll have a nice bunch of points.

You need to export this as a python script for Blender.

To get this into Blender, you need to open up the text editor, open the .py script that was saved, then click File> Run Python Script (easy!!)

Now you have the camera animated and 3D points corrisponding to points in the real world.

I managed to find the Blender side of things from this web address: http://fictionality.co.uk/doku.php?id=tutorials:matchmoving

I might add to this when I find out more. But I'm still in the testing stages.