Arri Alexa Metadata extraction for Nuke v1.3


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Mohamed Selim
Website: www.mselim.com
Arri Metadata extract for Nuke is a tool I have been working on lately to make full use of the metadata available in the Alexa files right inside Nuke.
Requirements:
11.0, 10.5, 10.0 or later
Mac, Windows
12 Sep 2018
310

This tool can be very beneficial to Matchmovers - LookDev/Lighting - Compositing.  It extracts most of the data you need like Focal Length, Focus Distance, Fstop etc.. 

You can synch a full take on disk with a Read node inside Nuke and extract the static data as well as animated just for the duration of the plate. 

 

Installation:

- Copy entire folder to HOME/.nuke/

- Add this line to your init.py :
nuke.pluginAddPath('./mS_ARRI_MetaExtract')

 

Usage:

- If a read node is selected then it will attempt to extract locally from the Read's metadata. 

- If nothing is selected then a prompt will pop up to let you choose a file on disk to extract the data from. (Recommended mode for full metadata).

 

Supported files:

ARI - MXF - MOV - EXR - DPX - CSV

 

Screen_Shot_2017-06-13_at_12.58.38_AM.png

 

Screen_Shot_2017-06-13_at_12.59.36_AM.png

 

Please login in order to download these files.

Comments   

 
# Otto thorbjornsen 2017-08-17 21:20
Thanks Mohamed, just what I needed!! Great timesaver!!

Cheers,
Otto
 
 
# Mohamed Selim 2017-10-02 00:20
Thanks. Happy I could help.
 
 
# Josh Kell 2017-10-09 02:44
Hi Mohamed, this looks like an amazing tool! Just having problems when trying to extract full metadata but not selecting a read node. I'm getting this:
Synching CSV with Read1 node
Traceback (most recent call last):
File "/Users/admin/. nuke/ms_Arri_Me tadata_Extract_ Nuke.py", line 752, in ms_ARRI_META_EX TRACT
ms_Arri_metadat a_extract_CSV(f ilePath + fileNameOnly+". csv", FPS, csvFrame, synchData, node)
File "/Users/admin/. nuke/ms_Arri_Me tadata_Extract_ Nuke.py", line 145, in ms_Arri_metadat a_extract_CSV
if rowClipName[14] == "":
IndexError: list index out of range


Any suggestions?
 
 
# Mohamed Selim 2017-10-09 10:27
Hi Josh,

So i understand you correctly. You launched the script without selecting a Read node to access a file on disk, and you have "Synch with Read Node" checked and specified "Read1" as the node to synch with?

What type of file are you trying to access? ARI...MOV?

The error your getting means that the field "CameraClipName " in the metadata is empty which is unusual for an Arri file.

Can you share the CSV generated?
 
 
# Josh Kell 2017-10-10 05:59
Hi Mohamed, thanks for the reply.

I managed to get some help as I'm still very new to Python, so apologies if my explanation doesn't make much sense. We ended up solving the original problem by adding this to anytime reader() was used:

reader(csvfile, delimiter='\t')


I was extracting the CSV from a .mov using the Arri Meta Extract GUI. From my understanding, in the CSV it was separating items with tabs instead of commas, which is what the code above fixed. So the tool now works great if I manually create a CSV beforehand, but would be great if I could create it straight from your tool.

What happens now is after clicking OK to this:

Extracting CSV file from clip
You can check the command-line prompt for progress
Click OK to start


I receive this error:

Synching CSV with Read1 node
Traceback (most recent call last):
File "/Users/admin/. nuke/ms_Arri_Me tadata_Extract_ Nuke.py", line 752, in ms_ARRI_META_EX TRACT
ms_Arri_metadat a_extract_CSV(f ilePath + fileNameOnly+". csv", FPS, csvFrame, synchData, node)
File "/Users/admin/. nuke/ms_Arri_Me tadata_Extract_ Nuke.py", line 142, in ms_Arri_metadat a_extract_CSV
with open(csv_path, 'rb') as csvfile:
IOError: [Errno 2] No such file or directory: '/Users/admin/D esktop/meta_ext ract/clipTest.m ov.csv'


So it looks like the tool is looking for the CSV, but never creating one? Thanks for the help.
 
 
# Mohamed Selim 2017-10-10 14:18
You are right. This tool works only on comma separated values generated by Arri's command-line tool and not the default TAB by the GUI.

This error shows that you have the py file directly in the .nuke folder:
File "/Users/admin/. nuke/ms_Arri_Me tadata_Extract_ Nuke.py", line 752, in ms_ARRI_META_EX TRACT

The py file should be in the downloaded folder along with the command-line tools and other py files. Maybe that's why you couldn't generate a csv because the tool cant find the command-line tool.

Also i just uploaded V1.1 with some bug fixes so try that out and make sure its installed correctly as described above and tell me how it goes.
 
 
# Josh Kell 2017-10-11 04:53
Thanks for pointing that out, my bad for not moving the whole folder. I'm still however getting the same error with now correct installation and using v1.1. Anything else I might be doing wrong?

Traceback (most recent call last):
File "/Users/admin/. nuke/mS_ARRI_Me taExtract/ms_Ar ri_Metadata_Ext ract_Nuke.py", line 754, in ms_ARRI_META_EX TRACT
ms_Arri_metadat a_extract_CSV(f ilePath + fileNameOnly+". csv", FPS, csvFrame, synchData)
File "/Users/admin/. nuke/mS_ARRI_Me taExtract/ms_Ar ri_Metadata_Ext ract_Nuke.py", line 140, in ms_Arri_metadat a_extract_CSV
with open(csv_path, 'rb') as csvfile:
IOError: [Errno 2] No such file or directory: '/Users/admin/D esktop/meta_ext ract/clipTest.m ov.csv'
 
 
+1 # Mohamed Selim 2017-10-11 23:03
Hey Josh

First off please download v1.2 as for some reason the osx arri tool did not have the correct permissions.

Another way is to launch Terminal and type chmod 755 then press space and then drag the ARRIMetaExtract _CMD_3.4.5.50_o sx file and press enter.

I think the problem is you have some other files on your desktop with the arri mov file. Files like exr's for instance. So the tool is trying to extract metadata from them and fails.

Or if you dont have other image files in that folder then what happened was the first time it wasn't installed correctly and the second the tool had no permissions.

So for now please just put your quicktime in a sub-folder and hopefully it will work.

I'm working on the code right now to avoid this in the next version.
 
 
# Josh Kell 2017-10-17 01:50
Hey Mohamed,

Sorry for the late reply, but v1.2 works great now! I have the quicktime in a subfolder and it created the CSV and displayed everything correctly. Thanks so much, this tool's a great help. I'll keep an eye out for future versions.

Cheers
 
 
# onur t 2017-11-28 19:33
Great tool!

Could I just ask, how do you open .MXF files? I can't open them in Nuke for some reason..
 
 
# Mohamed Selim 2017-11-28 21:12
Still as of Nuke 11, you can not. This can just extract the metadata from the mxf on disk.
 
 
# George Marmoutas 2018-08-10 15:56
Hi , i have an issue with the gizmo , I have a mov with all the metadata that i need . I checked the csv from arri meta extractor and it has tilt and roll and i cannot access them from the gizmo . I would be happy if i knew how to import from arri's csv but i am not a python user for now . Just letting you know if there is something that you could consider for a future release .
I am guessing they changed something on the headers and your script doesn't recognize it

I am including the csv from arri

https://www.dropbox.com/s/8e8si9165d25zkl/A003C011_180714_R405.mov.csv?dl=0

and the failed attempt to read with the gizmo

https://www.dropbox.com/s/4oahoo1657gtccv/0.png?dl=0

thanks for the gizmo it will be really helpful for me in the future :)
 
 
# Mohamed Selim 2018-09-05 17:28
Hi George,

Sorry for the late reply. I downloaded your csv file and there something wrong with its format. Maybe you opened it with Excel or something and saved. But I will upload tomorrow v1.3 which will allow you to import csv's directly like you wanted. My advice is to regenerate the csv again and without opening it, try loading it with the new version.
 
 
# George Marmoutas 2018-09-05 17:33
no problem , thanks for replying .

It is not something that i personally did , it's how the arri's extractor saved it , regarding the csv. So we understood that it's a new way of saving . maybe an update of firmware on the lds.

We managed to make it work by adding the new Arri's extractor and some magic from a friend that understood your gizmo .
but he didnt make it for mac so thanks for making a new version

Thanks a million !
g,
 
 
# Mohamed Selim 2018-09-06 14:47
Ill check their new extractor now and update it. Thanks for the heads up.
 
 
# George Marmoutas 2018-09-06 14:48
Quoting Mohamed Selim:
Ill check their new extractor now and update it. Thanks for the heads up.


Thank you for the amazing tool :)
g
 
 
# Mohamed Selim 2018-09-12 14:47
I updated the tool to work with tab formatted csv's instead of comma which I think was your issue and its also what arri uses by default. Also you can now just extract from a csv on disk if its pre-made.
 
 
# George Marmoutas 2018-08-10 15:56
that is the arri meta extractor columns that have the tilt and roll

https://www.dropbox.com/s/wh2vj7crwbmezsl/Snap%202018-08-10%20at%2017.51.59.png?dl=0
 
 
# Karim Omar 2018-09-15 01:16
Magnificent tool really helps a lot , Thanks for sharing it
 

You have no rights to post comments

We have 3238 guests and 56 members online