GalahUser guide · Black Squeak Systems v2.2.2 blacksqueak.com
Getting started

Installation

Galah is a single program with a web control panel. Install it on the computer that will do the embedding, then open the control panel from any browser.

Before you start#

The computer#

PlatformPackageNeeds
Windows x64galah-2.2.0-win-x64.zipWindows 10 or 11, 64-bit. Nothing else to install: the NDI® 6.4 runtime and OMT libraries are in the package and no Visual C++ redistributable is needed.
macOS (Apple silicon)galah-2.2.0-macos-arm64.zip (contains Galah.app)macOS 12 or later. OMT embedders need macOS 15 or later.
Linux x86-64galah-2.2.0-linux-x64.tar.gzglibc 2.34 or later (Ubuntu 22.04+, Debian 12+, RHEL / Rocky / Alma 9+), a CPU with AVX2, and avahi-daemon running if you use OMT.

Galah does not decode video, so a modest computer runs several embedders. Features that do decode or encode — the SRT encoder, encoded recording formats and the multiview — use one to two processor cores each at 1080p with software encoding.

The network#

Optional: ffmpeg#

Galah works without ffmpeg for pass-through, image and black backups, Raw and NDI file format recording, and the multiview. Install ffmpeg if you want any of these:

Galah finds ffmpeg next to the program, on the system path, or (on macOS) in Homebrew's folders. You can also give its full path in Settings → Media and backups.

Windows#

  1. Unzip the package

    Extract galah-2.2.0-win-x64.zip to a permanent folder, for example C:\Program Files\Galah or D:\Galah. Keep every file together: galah.exe loads the NDI, NDI File and OMT libraries from its own folder.

  2. Start Galah

    Double-click Start Galah.bat. It starts galah.exe from its own folder and opens the control panel in your web browser at http://localhost:8080/.

  3. Allow it through the firewall

    The first time, Windows asks whether Galah may use the network. Allow it on the networks that carry Livewire, NDI and your control traffic (normally Private or Domain). If you click Cancel, NDI sources and Livewire streams will not arrive.

  4. Optional: ffmpeg

    Copy ffmpeg.exe next to galah.exe, or install it on the PATH.

Settings are saved in galah.json in the Galah folder; media and recordings go to media and recordings next to it.

Running Galah as a Windows service#

To keep Galah running when nobody is logged in, install it with a service wrapper such as NSSM and pass the settings file with a full path:

nssm install Galah "D:\Galah\galah.exe" --config "D:\Galah\galah.json" --port 8080
nssm start Galah

For a hardened install, make a local account for the service (nssm set Galah ObjectName .\galah <password>) and give it write access to the Galah folder only. The first start writes the one-time admin password to initial-admin-password.txt in the folder of the settings file.

macOS#

  1. Unzip and move the app

    Double-click galah-2.2.0-macos-arm64.zip and drag Galah.app to Applications.

  2. Open it the first time

    Galah is not distributed through the App Store, so macOS asks for confirmation the first time. Control-click (or right-click) Galah in Applications and choose Open, then Open again. If macOS only offers Move to Bin, open System Settings → Privacy & Security, scroll down and click Open Anyway.

  3. Use the control panel

    Galah runs in the background (it has no Dock icon) and opens the control panel in your browser. Opening Galah.app again while it is running just opens the panel again.

  4. Allow the microphone, if asked

    The first time an embedder captures a sound card, macOS asks whether Galah may use the microphone. Allow it; otherwise sound-card inputs stay silent. You can change this later in System Settings → Privacy & Security → Microphone.

  5. Optional: ffmpeg

    Install it with Homebrew: brew install ffmpeg. Galah finds it automatically.

On macOS the settings, media and log are kept in ~/Library/Application Support/Galah (settings.json, media, recordings, galah.log). To stop Galah, use Settings → Server → Stop server.

Linux#

  1. Extract the package

    sudo mkdir -p /opt/galah
    sudo tar -xzf galah-2.2.0-linux-x64.tar.gz -C /opt/galah --strip-components=1

    The NDI, NDI File and OMT libraries are found next to the program, so the folder runs as it is.

  2. Install what Galah uses from the system

    sudo apt install avahi-daemon ffmpeg      # Debian / Ubuntu (ffmpeg is optional)

    OMT needs avahi-daemon running; without it the OMT library stops Galah when it starts.

  3. Start Galah

    cd /opt/galah
    ./galah --open

    Then open http://<this computer>:8080/ from any browser and sign in as admin with the one-time password Galah printed (also in initial-admin-password.txt next to the settings file); see the first sign-in.

  4. Optional: allow port 93 for Axia LWRP

    Ports below 1024 need extra rights on Linux. Either choose a higher LWRP port in Settings, or allow the program to use port 93:

    sudo setcap 'cap_net_bind_service=+ep' /opt/galah/galah
  5. Optional: desktop entry

    icons/ holds galah.desktop, galah.png and galah.svg for your desktop's application menu.

Running Galah as a systemd service#

The package includes install-service.sh and galah.service. The script installs Galah to /opt/galah, creates an unprivileged system user galah, keeps settings, users, media and recordings in /var/lib/galah, starts the hardened service, and prints the one-time admin password:

sudo tar -xzf galah-2.2.0-linux-x64.tar.gz -C /tmp
sudo /tmp/galah-2.2.0-linux-x64/install-service.sh

The service runs with a read-only system, no access to home folders and only the right to use port 93 (see Security). Status and log:

systemctl status galah
journalctl -u galah -f

Settings from an earlier install in /opt/galah are copied to /var/lib/galah the first time.

Restart from Settings → Server keeps the same process, so systemd keeps track of it.

One Galah per operating system#

Only one Galah can run on an operating system at a time, whoever starts it and whichever settings folder it uses. A second one stops straight away with Galah is already running on this computer (exit code 3) and never opens a port; the one already running is not affected. One Galah runs as many embedders as its licence covers, so there is no need for a second. A virtual machine counts as its own computer.

Command-line options#

galah [--config galah.json] [--port 8080] [--bind IP] [--livewire-if IP] [--omt-discovery omt://host:port] [--open]
      [--allow-host NAME ...] [--reset-password USER]
OptionWhat it does
--config FILESettings file to use (created if missing). Default galah.json in the folder Galah starts from. Every change in the control panel is saved to it automatically.
--port NWeb control panel port (default 8080). Takes priority over the port in Settings.
--bind IPServe the control panel on one address only, for example a management interface, or 127.0.0.1 for this computer only.
--livewire-if IPNetwork interface for Livewire / AES67 multicast (also in Settings → Livewire network).
--omt-discovery omt://host:portUse this OMT Discovery Server instead of the one in OMT's settings.xml.
--openOpen the control panel in the default browser once Galah has started.
--allow-host NAMEAlso answer to this host name (repeat for several). Adds to Settings → Web security → Allowed host names for this run.
--reset-password USERGive a control panel user a new one-time password, print it and exit (the user is created as an administrator if missing). Use it if the administrator password is lost.

Network ports#

Open these in any firewall between Galah and the devices that use it:

PortProtocolUsed for
8080TCPWeb control panel and HTTP API (Settings → Web control panel).
8443TCPHTTPS control panel and API, when switched on (Settings → Web security).
5004UDP multicast 239.192.x.yLivewire / AES67 audio received from the network.
4001UDP multicast 239.192.255.3Livewire source advertisements (channel names).
5353, 5959, 5960 and upUDP / TCPNDI discovery (mDNS and Discovery Server) and NDI streams; see NDI's networking guide.
93TCPAxia LWRP server, when switched on (Settings → Axia LWRP).
9300UDP and TCPRemote control for Pathfinder and Companion, when switched on.
as setUDPSRT outputs (each embedder's SRT settings; 9000 in the examples).
443 (outgoing)TCPLicence checks with https://blacksqueak.com, or the HTTP proxy set on the Licence page.

Upgrading#

Stop Galah, replace the program files with the new package (Windows and Linux) or replace Galah.app (macOS), and start it again. Your settings file, media library and recordings are kept, and new settings are added with their defaults. Upgrading from a version before 1.9.0 adds sign-in: the first start creates the admin account with a one-time password (see the first sign-in); scripts that use the HTTP API need an API token. Upgrading from 1.x to 2.0.0 adds licensing: everything keeps working for a 30-day evaluation, during which you activate your keys on the Licence page. From 2.1.0 only one Galah can run on an operating system at a time (stop the old one before starting the new one). No setting or feature is removed between versions. If you use the Companion module, import the module that comes with the new version (see Bitfocus Companion).

Before upgrading, download a copy of your settings from Settings → Configuration → Download settings file.