On
MacOS Sierra 10.12.5 I managed to compile VLC git with Decklink support (SDK 10.9.3) it works perfectly with PCI Decklink Mini Monitor 4k except bugs:
I cannot success to have a letterbox movie (ie 1920x800 in UHD or HD) but files with no aspect resizing plays correctly.
Also x264 codec does not work to decklink / ultrastudio but if I specify ffmpeg as a prefered codec gives a good result
This is how I proceed
Compile:I have the BMD SDK installed in /Users/rlemeill/Development/blackmagic-declink-sdk-10.9.3
I followed the official VLC procedure with BMD Desktop Video 10.9.3 SDK
https://wiki.videolan.org/OSXCompile/#Prebuilt_libraries_.28recommended.29 with
- Code: Select all
--with-decklink-sdk=/Users/rlemeill/Development/blackmagic-declink-sdk-10.9.3/Mac/
configure parameter
It does not compile out of the
box git. Because of the declaration of CFString in the SDK
So I made a
basic patch. It changes a few Strings and add some debug info. It is not correctly coded but it is only for my personal use, if someone wants to make it correct (remove hardcoded audio rate, add listboxs for selecting cards/outpiut format…), It is something like a proof of concept!
The couter part is now it needs
"-framework CoreFramework" in g++ parameters due to Apple's CFString
I manually added this parameter in
build/modules/Makefile
- Code: Select all
CXX = g++ -framework CoreFoundation -stdlib=libc++ -std=c++11 -mmacosx-version-min=10.7
But I did not try if defining CXXFLAGS="-framework CoreFoundation" while executing
Configuration:In preferences click on "Show All"
The card number is the order it appears under
Blackmagic Video Setup tool.
Here there is my build but it is not signed…