Arri Alexa Metadata extraction for Nuke v1.2


 
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:
10.0 or later
Mac, Windows
11 Oct 2017
141

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

 

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
 

You have no rights to post comments

We have 2245 guests and 52 members online