Page 1 of 1

Raw SDK Metadata

PostPosted: Wed Jun 12, 2019 10:10 pm
by Brunop
Hey, I'm looking to extract Metadata from a .braw file. I've been able to do it with the sample ExtractMetaData file from the SDK download, but it isn't giving me all the data such as focal length. How would I extract this data from the .braw file? I see it in the .braw file when I upload it to resolve but can't figure out how to extract it with the SDK/.cpp file.

Thanks in advance!

Re: Raw SDK Metadata

PostPosted: Thu Jun 13, 2019 5:01 pm
by Brunop
Also unable to pull ISO values from metadata. Is this not yet implemented in the SDK .cpp file versions yet? If so, how would I go about pulling this info?

Re: Raw SDK Metadata

PostPosted: Mon Jun 17, 2019 12:38 am
by CaptainHook
Hi,

ISO is a frame processing attribute as shown in the manual page20 - blackmagicRawFrameProcessingAttributeISO

Focal length and a few other bits are per frame metadata, you can get them by iterating metadata on a frame (rather than a clip as shown in the sample code).

We will add extracting frame metadata to the sample code for a future release to make this clearer.

Thanks.

Re: Raw SDK Metadata

PostPosted: Tue Jun 18, 2019 1:40 pm
by Brunop
Focal length and a few other bits are per frame metadata, you can get them by iterating metadata on a frame (rather than a clip as shown in the sample code).


This helped me a lot. I was able to pull all the data from the .braw file. Thank you very much!