Where to put DeckLinkApi.h when enabling decklink in FFmpeg

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

Rikard Renman

  • Posts: 1
  • Joined: Thu Jul 19, 2018 12:18 pm
  • Real Name: Rikard Renman

Where to put DeckLinkApi.h when enabling decklink in FFmpeg

PostThu Jul 19, 2018 12:24 pm

Hi everyone,
I am trying to configure ffmpeg to enable decklink support. However when I try this command:
./configure --enable-decklink I get "Error DecklinkApi.h not found". What directory am I supposed to copy this file to?
Br Rikard
Offline

Cameron Nichols

Blackmagic Design

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

Re: Where to put DeckLinkApi.h when enabling decklink in FFm

PostTue Jul 24, 2018 3:38 am

Hi Rikard,

You need to set your include/link paths with the --extra-cflags and --extra-ldflags arguments in your configure command

--extra-cflags='-I/home/bmd/ffmpeg_build/include -I/home/bmd/Downloads/Blackmagic_DeckLink_SDK_10.11.1/Linux/include' --extra-ldflags='-L/home/bmd/ffmpeg_build/lib -L/home/bmd/Downloads/Blackmagic_DeckLink_SDK_10.11.1/Linux/include'

If you are using windows, you will need to first invoke midl to generate headers from DeckLinkAPI.idl

Regards
Cameron

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 2 guests