Skip to content

madoldnut/decklinkpreferences

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

decklinkpreferences

A way to set preferences for Decklink cards from the command line.

Features

Since this is just a proof of concept, we only set the video input port at the moment; maybe other features later.

Systems with multiple Decklink cards have not been considered - in this case use at your own risk!

Building

The Blackmagic Design SDK is required to build from source code.

Run:

	qmake
	make

to produce the decklinkpreferences executable. If building fails, check decklinkprefences.pro for correct paths to decklink include files and DeckLinkAPIDispatch.cpp (supplied from the SDK); then run qmake and make again.

Usage:

decklinkprefences [-l] [-p portId] [-s]
	-l           List current configuration
	-p portId    Set input port to one of those listed by the -l option
	-s           Save configuration across reboots

It is suggested to first run decklinkpreferences with the -l option since that will display the input port id numbers that are valid for this device (probably some subset of 1, 2, 4, 8, 16, 32). Running with the -p option sets the video input to the given port but the result is not saved anywhere and the setting will not survive reboots. Running with the -s option saves the current configuration so that it survives reboots of the system.

About

Command line preference setting for Decklink cards

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • C++ 94.7%
  • QMake 5.3%