Skip to content

macOS logo

Please acknowledge and cite the use of this software and its authors when results are used in publications or published elsewhere:

Friard, O. and Gamba, M.,
BORIS: a free, versatile open-source event-logging software for video/audio coding and live observations.
(2016) Methods Ecol Evol, 7: 1325–1330.
DOI: 10.1111/2041-210X.12584
http://onlinelibrary.wiley.com/doi/10.1111/2041-210X.12584/abstract

General information

The author would like to thank dsanmiguel for his decisive work on making BORIS run on macOS.

Please report any issues or caveats related to the installation or use of BORIS on macOS. See the how to report a bug page

How to install and run on macOS

Install Homebrew if not already installed from https://brew.sh

Homebrew is "The Missing Package Manager for macOS" and has more then 45K stars on GitHub.

Install the BORIS dependencies with Homebrew

FFmpeg is "a complete, cross-platform solution to record, convert and stream audio and video."

mpv is "a free, open source, and cross-platform media player".

Open a macOS Terminal and type (or paste): (1)

  1. If you do not know how to open a terminal, see macOS terminal

brew install mpv ffmpeg pkg-config cmake gfortran openblas

Install the uv Python package and project manager from Astral

uv is an "An extremely fast Python package and project manager, written in Rust" and has more than 70K stars on GitHub

To activate uv, close the terminal and reopen it

Install and launch BORIS with uvx

In the macOS Terminal type (or paste): (1)

  1. If you do not know how to open a terminal, see macOS terminal
export LDFLAGS="-L/usr/local/opt/openblas/lib"
export CPPFLAGS="-I/usr/local/opt/openblas/include"
export PKG_CONFIG_PATH="/usr/local/opt/openblas/lib/pkgconfig"
export CMAKE_PREFIX_PATH="/usr/local/opt/openblas"

uvx --python 3.13 boris@latest

The next time you want to launch BORIS just open a terminal and type the command:

uvx --python 3.13 boris@latest

To launch a specific version of BORIS:

uvx --python 3.13 boris==10.0.2

BORIS was successfully tested on:

  • Mac min (Apple M2 Pro) with Sequoia 15.3.2

  • MacBook Pro (2.3 GHz 8-core Intel core i9) with Tahoe 26.0.1

Some points of reflection on the use of the macOS operating system in research