Skip to main content

ViCodePy – Video coder in Python for Experimental Psychology

PyPI Version License

:warning: ViCodePy changed its name to Felyx. Please, visit Felyx at PyPI for more recent versions.

ViCodePy is an application for doing video coding, written entirely in Python, meant essentially for use in Experimental Psychology. ViCodePy 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 vicodepy

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 (vicodepy.exe on Windows, vicodepy 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.

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.

Release files for vicodepy 0.12.9

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

Source distribution (sdist)

Source distribution for vicodepy 0.12.9
File Size Uploaded
vicodepy-0.12.9.tar.gz 62.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vicodepy 0.12.9
File Interpreter ABI Platform
vicodepy-0.12.9-py3-none-any.whl Python 3 none any Details

Total release size: 132.6 kB

Release files / vicodepy-0.12.9.tar.gz

Download URL vicodepy-0.12.9.tar.gz
Size 62.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6ff617d192a6b44e737c6b62c86fcf09176cc6ebd29cca787988ab598a6ee9d7
BLAKE2b-256 checksum
How to use checksums
74cad6662ded0246fb9e6d7a135c6480c6131eda1d44efbeb55dfd7b3e47c6bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.9

Release files / vicodepy-0.12.9-py3-none-any.whl

Download URL vicodepy-0.12.9-py3-none-any.whl
Size 70.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57727dc6ae1d0bcdb87264e6423c1bb09844d0fb61c0114d2c4e676a5506dc7e
BLAKE2b-256 checksum
How to use checksums
99cc776a8438df3035cb56acb04b4c4a4dff1073f1c878dcd7a9ab6482965919
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.12.9 This release

2 release files

0.12.8

2 release files

0.12.7

2 release files

0.12.6

2 release files

0.12.5

2 release files

0.12.4

2 release files

0.12.3

2 release files

0.12.2

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.6

2 release files

0.11.5

2 release files

0.11.4

2 release files

0.11.3

2 release files

0.10.3

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

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