Metadata-Version: 2.4
Name: video-encoder
Version: 0.4.1
Summary: Dora Node for video encoding (LeRobot compatible).
License: MIT
Author: Hennzau
Author-email: <dev@enzo-le-van.fr>
Requires-Python: >=3.9
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: dora-rs (==0.3.5)
Requires-Dist: numpy (<=2.0.0)
Requires-Dist: opencv-python (>=4.1.1)
Requires-Dist: python-ffmpeg (>=2.0.12,<2.1.0)
Description-Content-Type: text/markdown

## Camera Node for OpenCV compatible cameras

Simple Camera node that uses OpenCV to capture images from a camera. The node can be configured to use a specific camera
id, width and height.
It then sends the images to the dataflow.

## YAML Configuration

````YAML
nodes:
  - id: video_encoder
    path: encoder.py # modify this to the relative path from the graph file to the client script
    inputs:
    # image: some image from other node
    # episode_index: some episode index from other node
    outputs:
      - image

    env:
      VIDEO_NAME: cam_up
      VIDEO_WIDTH: 640
      VIDEO_HEIGHT: 480
      FPS: 30
````

## License

This library is licensed under the [Apache License 2.0](../../LICENSE).
