DeckLink SDK Qt Capture preview

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

Petar Petrov

  • Posts: 4
  • Joined: Wed Jan 17, 2018 8:04 am

DeckLink SDK Qt Capture preview

PostThu Jan 18, 2018 8:50 am

Hello, does someone have a code example in Qt? The sdk includes MFC capture preview examples.

Ive found this project: https://github.com/cwilling/decklinkviewer But I couldn´t get it working in windows with the new sdk (The project was made for decklink sdk 7.3)

Thanks.

Sincerely,
Petar Petrov
Offline

Cameron Nichols

Blackmagic Design

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

Re: DeckLink SDK Qt Capture preview

PostFri Jan 19, 2018 4:40 am

Hi Petar,

Unfortunately we do not yet have a Qt-based CapturePreview sample, we do have plans for this sample.

My advice is to refer to the Linux SignalGenerator sample, which uses a Qt-based screen preview with the IDeckLinkGLScreenPreviewHelper[1]. The same principle will apply for capture, both IDeckLinkInput and IDeckLInkOutput can register a class with base IDeckLinkScreenPreviewCallback[2] via SetScreenPreviewCallback()[3] method.

Regards
Cameron

Refs (DeckLink SDK manual)
[1] 2.5.23 IDeckLinkGLScreenPreviewHelper Interface
[2] 2.5.22 IDeckLinkScreenPreviewCallback Interface
[3] 2.5.4.3 IDeckLinkInput::SetScreenPreviewCallback method
Offline

Petar Petrov

  • Posts: 4
  • Joined: Wed Jan 17, 2018 8:04 am

Re: DeckLink SDK Qt Capture preview

PostFri Jan 19, 2018 8:23 am

Thanks, I will give it a go.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 2 guests