Skip to main content

Screen recording interface for JVA01-Capture device using ffmpeg

Project description

jva-capture

PyPI PyPI - Downloads PyPI - Python Version License: MIT

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

MIT

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

jva_capture-0.1.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

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

jva_capture-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file jva_capture-0.1.0.tar.gz.

File metadata

  • Download URL: jva_capture-0.1.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for jva_capture-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4aca3d66f48ac67da1c4d6d9c352490f67ef8e4ad6a9bf6b9ea62957b6d825d7
MD5 bec5ce1d70f1f8f0572f2291a00bd3a1
BLAKE2b-256 ddfe6db3c4659fe7fc8731eb9f38eaa00a0f2a2abada4950feb82b29104217cd

See more details on using hashes here.

File details

Details for the file jva_capture-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: jva_capture-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for jva_capture-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04141903e303a232d9fc0101374a0f13f8848ae010270fa758b65ef95cceefc3
MD5 15fa1fcc229cbcdc462bd73bb7bc91c7
BLAKE2b-256 1c08587a7439cd30e454fad244746a5213210aced1529272c039b0b676783bb6

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