Icarus Error

Hello

I am tracking a shot in Icarus, and I have exported the file for the Blender script to read.

Every time I try to load the tracking data in Blender, I get the error “Unexpected start of file, nothing done.”

Is anyone else having this problem? If so, any idea how I can fix it?

Thanks again,
Kyl1.

Hey Kyle. Just making sure - are you exporting as a text document? (.txt?)

Is this 2D tracking or 3D tracking? What I mean is, in Icarus have you calibrated your scene and everything?

–Colin

Are you using the latest import script?

Can you upload the file you exported somewhere or post the beginning few lines.
The exported file should look like this:

Camera track exported by ICARUS v2.09

Frame 0
projection_matrix:
0.0897358 0.00356888 -0.146181 -1.72553
0.00909384 0.144388 -0.00124626 0.188316
0.080774 0.0146231 0.0221382 0.38967
translation:
-1.14476 -1.34037 -12.5395
rot_matrix:
0.268488 -0.159057 0.950061
-0.0252215 0.984775 0.171996
-0.962953 -0.0701409 0.260389
rot_quaternion:
-0.0763623 0.603303 0.0422074 0.792725
focal_length: 5.06774
field_of_view: 33.7751 26.6436
pixel_aspect_ratio: 0.854719
skew: -3.63658
principal_point: 344.045 238.574
Frame 1

Hmmm, thats mighty odd.

@effstops, In Icarus, I did Tracking -> auto track… I guess there are more steps? :stuck_out_tongue:

2D Feature tracks exported by ICARUS v2.07

“name”

<3d position>

<number of frames>

<frame number> <x pixel> <y pixel>

“1”
0 0 0
4
0 8 88
1 8 88
2 7.22977 88.0995
3 6.49064 88.1252

“2”
0 0 0
371
0 68 112
1 68.0017 112.001
2 68.8468 111.939
3 69.9604 111.59
4 70.8997 111.485
5 72.0988 111.142
6 72.7383 111.205
7 72.758 111.187
8 73.7748 110.994
9 74.6472 110.725
10 75.3326 110.493
11 76.067 110.533
12 76.645 110.232
13 76.6464 110.285
14 77.2125 110.255
15 78.2773 109.933
16 78.831 109.915

Ahh, yes, there are more steps. :smiley: Once you autotrack, go into the calibrate menu and calibrate your 2D track. That will take about as long as tracking, but it’s basically making the track 3D by deriving the motion of the camera. So once you calibrate you can export and it should work then.

–Colin

Ah, ok, thanks.

Hmm…new problem

It tracks fine, but the programs just hangs when I try to calibrate

Hm! I’ve had that once. To fix it I set the “end frame” a couple frames before the end. Does that help? How long is the calibration taking? I mean, it could take several hours.

–Colin

Well, the calibraton takes maybe 45 minutes, since it is a 4000 frame shot. Ill try ending it a few frames before the end, if it doesn’t work this time. (I lowered the rez of the movie by a bit, seems to be helping)

Ill try to make it work, but if it doesn’t its no biggie, I am just trying to get the approximate location of the camera for a “copycat” cg shot.

Another thing I discovered a little late in the game is that if you set icarus to use less memory it won’t crash with “Not Enough Memory.” (I actually went and bought more memory to be able to calibrate a scene.)

Go into Project, Preferences and adjust Cache Size to something smaller. (Warning: save before adjusting, if the value is too big icarus will crash stating not enough memory.)

ALSO, it looks like you are using version 2.07. Version 2.09 exists, not sure how big of an improvement it is.

While it may be true that you need more steps, the real issue is that you seem to be using the wrong output fileformat, the 2d option. You need to “Export 3d Motion” (File menu), then select “Human Readable(*.txt)” from the “File type” menu. The script only accepts output in ‘human readable’ format.