jva-capture
Screen recording interface for the JVA01-Capture device using ffmpeg on macOS.
Installation
pip install jva-capture
Or with uv:
uv add jva-capture
ffmpeg must be installed separately:
brew install ffmpeg
Usage
from jva_capture import JVACapture
# Basic usage
capture = JVACapture("output.mkv")
capture.start()
# ... run your experiment ...
capture.stop()
# As context manager
with JVACapture("output.mkv") as capture:
# ... run your experiment ...
pass
Parameters
| Parameter | Default | Description |
|---|---|---|
output_path |
(required) | Path where video file will be saved |
device_name |
"JVA01-Capture" |
Name of the AVFoundation capture device |
framerate |
60 |
Recording framerate (fps) |
preset |
"medium" |
ffmpeg encoding preset (ultrafast, fast, medium, slow) |
Requirements
- macOS (uses AVFoundation)
- Python >= 3.11
- ffmpeg installed and available in PATH
- JVA01-Capture device connected
License
Release files for jva-capture 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jva_capture-0.1.0.tar.gz | 8.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jva_capture-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.7 kB
Release files / jva_capture-0.1.0.tar.gz
| Download URL | jva_capture-0.1.0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4aca3d66f48ac67da1c4d6d9c352490f67ef8e4ad6a9bf6b9ea62957b6d825d7
|
|
BLAKE2b-256 checksum How to use checksums |
ddfe6db3c4659fe7fc8731eb9f38eaa00a0f2a2abada4950feb82b29104217cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / jva_capture-0.1.0-py3-none-any.whl
| Download URL | jva_capture-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04141903e303a232d9fc0101374a0f13f8848ae010270fa758b65ef95cceefc3
|
|
BLAKE2b-256 checksum How to use checksums |
1c08587a7439cd30e454fad244746a5213210aced1529272c039b0b676783bb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|