Skip to content

Added decklink build configuration#110

Open
EpicKiwi wants to merge 1 commit intozmwangx:masterfrom
LTBL-Studio:decklink
Open

Added decklink build configuration#110
EpicKiwi wants to merge 1 commit intozmwangx:masterfrom
LTBL-Studio:decklink

Conversation

@EpicKiwi
Copy link
Copy Markdown

Summary

This Pull Request adds a new feature allowing ffmpeg to be built with DeckLink capture card device support. It requires Desktop Video SDK include files from Blackmagic. At runtime, Blackmagic's Desktop Video drivers are still required.

NOTE Currently, ffmpeg v7.1 only builds with SDK version 12.9 not above

Changes

  • Feature called build-lib-decklink was added to cargo.toml triggering configure flag --enable-decklink during build script.
  • An extra FFMPEG_DECKLINK_SDK_INCLUDE environment variable containing a path to DeckLink Desktop Video SDK include files adds this include folder as an extra C flag.

Testing

  • Verified that cargo build --features build-lib-decklink completes without error on Linux Debian 12
  • Verified that "decklink" is listed as an available video input device using ffmpeg-next

@EpicKiwi EpicKiwi changed the title Added decklink build configuration WIP: Added decklink build configuration Jul 31, 2025
@EpicKiwi EpicKiwi changed the title WIP: Added decklink build configuration Added decklink build configuration Aug 6, 2025
Copy link
Copy Markdown
Collaborator

@dmtrKovalenko dmtrKovalenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable

@dmtrKovalenko
Copy link
Copy Markdown
Collaborator

I'm wondering why the CI didn't run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants