Anyone knows if there is Linux equivalent to Sony Raw Viewer CLI to extract metadata from Venice2 footage?
Sony Raw Viewer seems only avail for mac and windows
Also, what would you use to read from Arri (ari mxf lib?) and Red (redline CLI?)
Anyone knows if there is Linux equivalent to Sony Raw Viewer CLI to extract metadata from Venice2 footage?
Sony Raw Viewer seems only avail for mac and windows
Also, what would you use to read from Arri (ari mxf lib?) and Red (redline CLI?)
Resolve?
resolve is the way, they can extract pretty much all metadata just fine.
Sorry I should have given more details.
I need something either CLI (triggered with python) or python. I need to Extract the metadata data and inject it somewhere else, (database, .exr transcodes …)
I dont know of any (non propietary) CLI tool, but you can probably still use Resolve for it. You could add each clip as a job to create EXRs with all metadata. From there you can parse the EXR metadata in a variety of ways.
You could even try using the post render script option in the Job properties to trigger whatever actions you need, so everything is contained within Resolve. And distribute it all in a Resolve farm.
In theory could just stay in the media pool and extract metadata with the API, but not sure if all Metadata Keys are exposed.
Thanks @milanesa, sounds interesting as an alternative workflow.
As it is now, I need a script that works from Flame.
Are ARRI, RED (etc.) SDKs part of the Flame install? If yes, I wish they were exposed to the Flame API. Who knows, maybe the Arri mxf lib is already there somewhere?
I just compared what metadata we see between Arri Reference Tool and Resolve, seems close, but the shutter angle is wrong in resolve with some off Arri’s sample footage (A_0001C026_220824_064815_a12SQ.mxf) (shows 0 instead of 172.8)
You could also try Nuke, if you have it available. Not sure if Pybox will be able to help here.
Thanks @Stefan for the wednesday rabbit hole.
I downloaded:
ARRI Reference Tool 0.3.0 (CMD) for Red Hat Enterprise Linux 8
and
ARRI_Helen_John_ALEXA_35_ARRIRAW.mxf
$ ./art-cmd export \
--input ARRI_Helen_John_ALEXA_35_ARRIRAW.mxf \
--output ARRI_Helen_John_ALEXA_35_ARRIRAW.art-cmd_metadata.json
This created 2.8MB of json - the correct quantity to crash most basic text editors.
I also tried ffprobe which is part of ffmpeg
$ sudo dnf install -y ffmpeg
$ ffprobe \
-show_format \
-show_streams \
ARRI_Helen_John_ALEXA_35_ARRIRAW.mxf > \
ARRI_Helen_John_ALEXA_35_ARRIRAW.ffprobe_metadata.txt
This amounts to only a few lines.
I think ffprobe will work on any Material Exchange Format but I haven’t worked out how to mine the same quantity of metadata as the ART tool.
I’ll try harder.
And it was great to see you last week.
ohhhhh - the ARRI json is a thing of beauty - incredibly well documented and formatted - the large payload was the 3d LUT.
I stripped it out and pulled just the metadataset names and URIs (yep they document how the metadata should be processed and formatted).
Here’s the relevant information so that you can go hunt down their various schema, and discover how to filter the extracted metadata for exactly what you want.
ARRI_metadata_sets.zip (730 Bytes)
fueled by this discovery i’ll look a bit deeper into ffprobe and see if I can extract any of the same level of detail (most likely not)
here is a shell script to download the various schema for analysis and inclusion in other programs.
you can use these schema to isolate the kind of data that you might want to extract and process - e.g. add gps and position data into an openEXR file.
download_ARRI_json_schema.zip (1.8 KB)
ooof - the sony site reports:
Announcement
Published 02/29/2024 12:34 AM | Updated 03/28/2024 05:25 AM
NOTICE
Thank you very much for your continued support and patronage of Sony products.
We would like to inform you that the download page for the following software utilities on the Sony Creative Software website has been discontinued as of March 31, 2024.
-Content Manager
-Optical Disc Archive Software
-Optical Disc Archive File Manager2
-RAW Viewer
-AXSM Drive Utility
-SRMemory Drive Software
-SxS Device Driver
-SxS UDF Driver
-Memory Media Utility
-XDCAM Drive Software
-Wireless Studio
@philm, you’re very welcome my friend, always happy to keep you busy!
Good time last week for sure my friend!
Simple tools like ffmpeg or exiftool would be great if we could get all the VFX pipelines relevant data, like complete sensor, cam settings, lenses, roll and pitch (maybe depth … etc.) info … not giving this on basic tries though.
Nice find with the ART cmd json stuff! I’ll look into it in the morning. I might call you if that’s ok …
to be continued …
and then same thing goes for Red, Sony, Pana …
@milanesa good idea, I’ll have a look tomorrow to compare what nuke’s tools give, but not planing on using nuke as a processing intermediate on this one.
Thanks for this too. iI’s gonna be a busy Thursday …
sound very interesting, will look tomorrow, ty
ouch, hope it’s replaced by better stuff.