Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding decklink support #1235

Closed
b005t3r opened this issue Jun 25, 2019 · 4 comments
Closed

Adding decklink support #1235

b005t3r opened this issue Jun 25, 2019 · 4 comments

Comments

@b005t3r
Copy link

b005t3r commented Jun 25, 2019

Do you think it would be possible to add Decklink support to the ffmpeg build you use for JavaCV? I'm currently forced to use it and I have to do a few tricks like buildding a separate version of ffmpeg and streaming things from it to my app just to be able to use BlackMagic Ultra Studio, but it's actually really easy to add it to the build and I think there shouldn't be any licessing issues, since things like homebrew formulae use it.

If this is possible, it would be great if you could add that to future builds, I'm sure it would make things a lot easier for people who have to use BlackMagic devices.

@saudet
Copy link
Member

saudet commented Jun 25, 2019

Duplicate of bytedeco/javacpp-presets#543

It's mainly a licensing problem I think, and Blackmagic Design isn't interested in helping.

@saudet saudet closed this as completed Jun 25, 2019
@saudet
Copy link
Member

saudet commented Jun 25, 2019

One thing we can do though is update the cppbuild.sh file with all the flags necessary to link with Decklink, to make it easier to rebuild locally each time. Please do send a pull request with the changes you have! Thanks

@saudet
Copy link
Member

saudet commented Sep 29, 2021

/cc @masterav10

@masterav10
Copy link

masterav10 commented Sep 29, 2021

We are unable to publish FFmpeg with both Decklink Support and open-only codecs such as x264. The SDK agreement's distribution policy is incompatible with GPLv3. As @saudet said, it's possible to modify the cppbuild.sh script to include the bindings which would allow you to build a copy locally. The pull request I published does this to some degree.

Internal FFmpeg discussion describing the license problem for details.

I'm planning on making bindings directly for the SDK, if that helps.

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

No branches or pull requests

3 participants