Raw SDK Metadata

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Brunop

  • Posts: 3
  • Joined: Wed Jun 12, 2019 10:07 pm
  • Real Name: Bruno Pedrinha

Raw SDK Metadata

PostWed Jun 12, 2019 10:10 pm

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!
Offline

Brunop

  • Posts: 3
  • Joined: Wed Jun 12, 2019 10:07 pm
  • Real Name: Bruno Pedrinha

Re: Raw SDK Metadata

PostThu Jun 13, 2019 5:01 pm

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?
Offline

CaptainHook

Blackmagic Design

  • Posts: 2054
  • Joined: Wed Aug 22, 2012 4:50 am
  • Location: Melbourne, Australia
  • Real Name: Hook

Re: Raw SDK Metadata

PostMon Jun 17, 2019 12:38 am

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.
**Any post by me prior to Aug 2014 was before i started working for Blackmagic**
Offline

Brunop

  • Posts: 3
  • Joined: Wed Jun 12, 2019 10:07 pm
  • Real Name: Bruno Pedrinha

Re: Raw SDK Metadata

PostTue Jun 18, 2019 1:40 pm

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!

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 16 guests