Skip to content

RolfBerger/pyCA

 
 

Repository files navigation

fork with following changes:

  • capture.py will not start capturing if connection to opencast endpoint is not possible. The original function service() will endless stay in a while-loop with 5sec sleep until endpoint is connected. Events in the database will not start recording. To change this, the already installed flag 'force_update' is used. The while-loop will only wait and loop if force_update=True and return immediately if force_update=False. force_update is passed through the calling functions register_ca(), recording_state(), set_service_status_immediate(), update_agent_state()
  • Inputs are now possible. The Definition in pyca.conf is extended with an item inputs
  • register_ca() is extended by the registration of the input configuration
  • Ingest only uploads the selected tracks from schedule events
Test pyCA GitHub Workflow Status Test Coverage LGPL-3 license

PyCA – Opencast Capture Agent

PyCA is a fully functional Opencast capture agent written in Python. It is free software licensed under the terms of the GNU Lesser General Public License.

The goals of pyCA are to be…

  • flexible for any kind of capture device
  • simplistic in code and functionality
  • nonrestrictive in terms of choosing capture software

PyCA can be run on almost any kind of devices: A regular PC equipped with capture cards, a server to capture network streams, small boards or embedded devices like the Raspberry Pi.

Python Versions

PyCA requires Python ≥ 3.6. Older versions of Python will not work.

Documentation

For a detailed installation guide, take a look at the PyCA documentation.

Quick Install for Experienced Users

PyCA is configured to use FFmpeg by default. Make sure to have it installed or adjust the configuration to use something else.

git clone https://github.com/opencast/pyCA.git
cd pyCA
python3 -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt
npm ci
vim etc/pyca.conf <-- Edit the configuration
./start.sh

About

With Inputs

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 83.3%
  • JavaScript 5.4%
  • Vue 4.1%
  • HTML 3.7%
  • CSS 1.7%
  • Dockerfile 1.3%
  • Other 0.5%