EnableVideoOutput and timeInFrame

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

peter.hill

  • Posts: 3
  • Joined: Sun Aug 16, 2020 12:30 pm
  • Real Name: Peter Hill

EnableVideoOutput and timeInFrame

PostSun Aug 16, 2020 1:33 pm

Hello!

In my task it is required to enable video output synchronously with a certain periodic event.

At the event, I store the value of the timeInFrame of the input (as a reference), call EnableVideoOutput and at the next event check the timeInFrame of the input, output and compare them with the reference. After collecting data from several such launches, it looks like the time in frame of the output does not depend on the moment the output actually is turned on, but on some internal counter on the board (Quad 2).

Please tell me how to enable the generation of output frames at a well-defined time?
Offline

Cameron Nichols

Blackmagic Design

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

Re: EnableVideoOutput and timeInFrame

PostThu Aug 27, 2020 3:31 am

Hi Peter,

You need to provide reference input that is common both to your input source and DeckLink Quad 2 for your output to match timing alignment of your input.

There is no mechanism to call IDeckLinkOutput::EnableVideoOutput at a deterministic frame time to match timing alignment of input.

Regards
Cameron

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 21 guests