Overlay image render delay

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

techie

  • Posts: 7
  • Joined: Tue Mar 28, 2023 3:17 pm
  • Real Name: Ed Ouellette

Overlay image render delay

PostTue Mar 28, 2023 3:25 pm

Hi,

What are the minimum and maximum delays for rendering an overlay image with alpha blending (once it's uploaded to the playback card) onto a video frame on a DeckLink SDI 4K card? Is it always less than or equal to 1 frame delay?
I realize this is probably a hardware question, but I thought I'd ask here first.

Thanks!
Offline

Cameron Nichols

Blackmagic Design

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

Re: Overlay image render delay

PostWed Apr 12, 2023 6:09 am

Hi Ed,

If you are referring to delay from Input signal to output, the internal keying occurs directly onto the incoming signal in hardware, so consider this delay to be sub-microsecond.

If you are referring to delay from key frame to output, I recommend measuring timestamps between IDeckLinkOutput::ScheduleVideoFrame and the IDeckLinkVideoOutputCallback::ScheduledFrameCompleted callback. You may want to refer to the InputLoopThrough SDK sample for reference on how to measure the output latency.

Regards
Cameron
Offline

techie

  • Posts: 7
  • Joined: Tue Mar 28, 2023 3:17 pm
  • Real Name: Ed Ouellette

Re: Overlay image render delay

PostWed Apr 12, 2023 2:18 pm

Hi Cameron,

Thanks for the very helpful information!

Best,
Ed

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 28 guests