Command-Line Tools
There are several included tools that can be used to manage the VidRedi system.
DeckLink CLI
VidRedi is designed to run headless (without a GUI). The Blackmagic Desktop Video package does not include CLI tools to manage the card, so VidRedi ships a small wrapper around the bmd-node package.
# Show the help
/opt/vidredi/current/scripts/tools/decklink-cli.js
# List devices, duplex mode, and SDI level
/opt/vidredi/current/scripts/tools/decklink-cli.js devices
# Read and set SDI level
/opt/vidredi/current/scripts/tools/decklink-cli.js get -d 0 -p sdi-level
/opt/vidredi/current/scripts/tools/decklink-cli.js set -d 0 -p sdi-level -v A
# Read card temperature
/opt/vidredi/current/scripts/tools/decklink-cli.js get -d 0 -p temperature
Firmware updater
The Desktop Video package includes BlackmagicFirmwareUpdater. The DeckLink card will not work if its firmware does not match the installed driver.
See Troubleshooting for firmware status and update commands.
VidRedi CLI
The management CLI can read system configuration values stored in the database. Run it from the installed application:
# List all configuration keys and values
sudo /opt/vidredi/current/scripts/cli.sh server config list
# Read one key
sudo /opt/vidredi/current/scripts/cli.sh server config read deviceName
Use this when you need a value from a shell session. Day-to-day changes belong on Configuration → System in the web interface.
Feature flags are an internal/support mechanism for staged rollouts and kill switches. They are not something operators use day to day, and they are not listed in the web interface.
# List flags and their effective values
sudo /opt/vidredi/current/scripts/cli.sh server flags list
# Read one flag
sudo /opt/vidredi/current/scripts/cli.sh server flags get some.flag
# Override a flag, or revert it to the catalog default
sudo /opt/vidredi/current/scripts/cli.sh server flags set some.flag on
sudo /opt/vidredi/current/scripts/cli.sh server flags unset some.flag
After set or unset, restart the VidRedi service so the running system picks up the change.