Skip to main content

Video coder for psychological experiments

Project description

Felyx – Video coder in Python for Experimental Psychology

PyPI Version License

Felyx is an application for doing video coding, written entirely in Python, meant essentially for use in Experimental Psychology. Felyx looks like a video editor, but it is not possible to alter the video file loaded into it. Instead, it is possible to add temporal occurrences and save them as CSV (comma-separated value) files.

Installation

The application is available at PyPI and can be installed via:

python -m pip install felyx

On Linux, In order to avoid the following warning at startup:

qt.multimedia.ffmpeg.libsymbolsresolver: Couldn't load VAAPI library

please install the libav-dev package (in Debian derivatives).

The application was developed primary on Linux and Windows, but should also work on MacOS.

Usage

Loading the video file

After launching the application (felyx.exe on Windows, felyx on Linux and MacOS), a video file can be loaded via the menu entry File⇒Open…. Almost all popular video formats are supported. It is also possible to load a “project” file, in the ZIP format. This file contains a video file and the configuration and data files bundled together. Current work can then be saved to this project file and the worked can be resumed later. For the technical details about the project file, see the FORMAT specification file.

Playing/stopping the video and moving around it

Once the video is loaded, it can be played and stopped using the space key. The left and right arrow keys can be used for going backward and forward, respectively, by one frame in the video. Positioning the cursor (a black triangle) with the mouse is also possible by clicking and dragging the cursor on the time pane.

The time pane and its timelines

Events

Event occurrences

Event occurrences can be defined by pressing the enter key. This will mark one of the borders of the occurrence. The other border can be defined by using the arrow keys or by clicking and dragging the cursor. Once the cursor is at the desired position, type enter again. This will open a dialog window for choosing the label and the color of the occurrence. New labels can be defined in the dialog window by simply typing them. The new created labels will appear in the list of proposed labels when new occurrences will be subsequently created.

Once an occurrence is created, it is possible to change its borders by double-clicking on the occurrence. Two handles will appear, one at the left border of the occurrence and the other at the right border. Click on a border handle and move it with the left and right arrow keys.

The creation of an occurrence can be aborted, once it is start by either typing the Escape key or by clicking on the Abort button in the pop-up window.

The timeline can be zoomed in and out by using the scroll wheel of the mouse.

The occurrences can be saved as a CSV file via the menu item File⇒Export CSV….

Configuration

(more to come later)

Contributing

The source code will be available in a public repository at the Gitlab instance of the University of Grenoble Alpes.

The name of the game

Felyx is named after the grandson of one of the authors. The letter y is reminiscent of the y in Python.

Authors

Copyright (C) 2024 Esteban Milleret (esteban.milleret@etu.univ-grenoble-alpes.fr)

Copyright (C) 2024 Rafael Laboissière (rafael.laboissiere@cnrs.fr)

License

This project is licensed under the terms of the GPL 3.0 or later.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

felyx-0.12.12.tar.gz (62.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

felyx-0.12.12-py3-none-any.whl (70.1 kB view details)

Uploaded Python 3

File details

Details for the file felyx-0.12.12.tar.gz.

File metadata

  • Download URL: felyx-0.12.12.tar.gz
  • Upload date:
  • Size: 62.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for felyx-0.12.12.tar.gz
Algorithm Hash digest
SHA256 70accab13487a35f79cf8b49e7bf647e1667e4e92109cc4495cdfe59bdf5f2fc
MD5 4386c12130633ad12c8168aa2aba107f
BLAKE2b-256 cbe39ee16f8a57c926d804b949f111ec9b5a16ed75880749f85b9d2cc2975d15

See more details on using hashes here.

File details

Details for the file felyx-0.12.12-py3-none-any.whl.

File metadata

  • Download URL: felyx-0.12.12-py3-none-any.whl
  • Upload date:
  • Size: 70.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for felyx-0.12.12-py3-none-any.whl
Algorithm Hash digest
SHA256 3764a6e544d54187508c05bd9039e45ebd9d19ccf62bd4598ce32ee3fa9c8319
MD5 97886699e102592a5de6f144a00a8226
BLAKE2b-256 5b1b12620e451862a3a9f0b724f842d067e3695eb5087b8578783fbe5e10f6d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page