Skip to main content

BORIS (Behavioral Observation Research Interactive Software)

BORIS logo

About This Fork

This repository is a macOS-focused fork of the BORIS project. It is intended to address macOS-specific issues related to mpv, IPC control, and playback behavior.

The goal of this fork is to keep changes as small as possible while improving BORIS on macOS, rather than diverging substantially from upstream. This fork is based on official BORIS 9.15.0 (the fork version 9.15.0.x corresponds to BORIS 9.15.0), with the following macOS changes:

  • Video inside the BORIS window. The video is displayed in the player panels of the BORIS window (libmpv with the mpv render API and OpenGL) instead of separate mpv windows. Mouse clicks, double-click zoom, Ctrl/Cmd+scroll zoom, Shift+scroll pan, frame extraction and geometric measurements work like on Windows and Linux.
  • Rearrangeable panels. The player, events, ethogram, subjects and information panels can be moved, floated and docked again like on Windows (use Tools > Lock dockwidgets to lock them).
  • Arrow keys work for frame-by-frame navigation. macOS reports the arrow keys with the numeric keypad modifier, so BORIS showed Key not assigned (Num+Left) instead of going to the previous / next frame (and Up / Down did not jump backward / forward).
  • Show / hide columns of the Ethogram, Subjects and Events panels: right-click on the header of a table (or choose Configure columns in the right-click menu of the table) and check / uncheck the columns. The choice is kept when BORIS is restarted.
  • No more freezes during scoring in IPC mode. mpv's output was sent to a pipe that was never read; when the pipe was full mpv stopped and BORIS waited forever. mpv's messages now go to a log file (/tmp/mpvsocket<N>.log) and BORIS no longer waits forever for an unresponsive mpv.

Requirements

Install mpv (which includes libmpv) and FFmpeg with Homebrew:

brew install mpv ffmpeg

If libmpv is not found, BORIS falls back to the previous mode with the video in separate mpv windows (mpv IPC mode). This mode can also be forced with the --ipc (-i) option.

With hardware decoding (Preferences > MPV player hardware video decoding set to auto or auto-safe) BORIS uses VideoToolbox with copy-back (auto-copy), because frame extraction and geometric measurements cannot use the frames of the zero-copy mode.

If you encounter a problem specific to this fork, please open an issue in this repository and I will do my best to resolve it quickly.

Unless noted otherwise, the documentation below is reproduced from the official BORIS repository: https://github.com/olivierfriard/BORIS/


BORIS is an easy-to-use event logging software for video/audio coding or live observations.

BORIS is a free and open-source software available for GNU/Linux, Windows and macOS.

It provides also some analysis tools like time budget and some plotting functions.

The BORIS paper has more than 2673 citations in peer-reviewed scientific publications.

See the official BORIS web site.

Website User guide Python web site Python versions BORIS license PyPI version

Number of downloads commit-activity GitHub last commit

BORIS scopus citations badge

GitHub Repo stars [![Please Star](https://img.shields.io/badge/

Metadata

Release files for boris-macos 9.15.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for boris-macos 9.15.0.1
File Size Uploaded
boris_macos-9.15.0.1.tar.gz 941.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for boris-macos 9.15.0.1
File Interpreter ABI Platform
boris_macos-9.15.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 2.0 MB

Release files / boris_macos-9.15.0.1.tar.gz

Download URL boris_macos-9.15.0.1.tar.gz
Size 941.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a4486a0fb3fb9ab49dc559e87967ba514de8737ce7ae4adcfa5d989fc57e53aa
BLAKE2b-256 checksum
How to use checksums
e86fa8dbcfaa84fe7167e7268ac566b9374a3ac81ea4abcb4409114107e9fdf5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.4

Release files / boris_macos-9.15.0.1-py3-none-any.whl

Download URL boris_macos-9.15.0.1-py3-none-any.whl
Size 1.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a4e691f292630bc5dba0636ac244e257de3b24f9404763eecd995a0c51b7f029
BLAKE2b-256 checksum
How to use checksums
2879e98956e984bb5ca988e96b635d8bffe60c8e0e66f0ea95b316c1c0658d54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

9.15.0.1 This release

2 release files

9.10.2

2 release files

9.10.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page