BM SDK ExtractFrame

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

borneo1910

  • Posts: 1
  • Joined: Fri Mar 10, 2023 8:57 am
  • Real Name: Michael Borenstein

BM SDK ExtractFrame

PostFri Mar 10, 2023 9:02 am

Is there documentation on using ExtractFrame? I want to be able to extract specific frames from a clip either by TC or frame number. Is this possible?

thanks
Offline

Cameron Nichols

Blackmagic Design

  • Posts: 443
  • Joined: Mon Sep 04, 2017 4:05 am

Re: BM SDK ExtractFrame

PostMon Mar 20, 2023 2:17 am

Hi Michael,

To extract a specific frame, create a job with IBlackmagicRawClip::CreateJobReadFrame and specifying the frameIndex input parameter.

You may find it useful to determine the number of frames in the clip by calling IBlackmagicRawClip::GetFrameCount and you can obtain the timecode in string format for a frame by calling IBlackmagicRawClip::GetTimecodeForFrame.

Regards
Cameron

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 7 guests