pyvirtualcam

🎥 Send frames to a virtual camera from Python

GPL-2.0 License

Downloads
56.9K
Stars
468
Committers
7

Bot releases are hidden (Show)

pyvirtualcam - 0.12.0 Latest Release

Published by letmaik 3 months ago

Changed

  • Support numpy 2.

Removed

  • Drop Python 3.8 support.
pyvirtualcam - 0.11.1

Published by letmaik 8 months ago

Added

  • macOS arm64 support (Python 3.10 and higher).
pyvirtualcam - 0.11.0

Published by letmaik 10 months ago

Added

  • Python 3.12 support.

Removed

  • Drop Python 3.7 support.
pyvirtualcam - 0.10.2

Published by letmaik almost 2 years ago

Added

  • Python 3.11 support.
pyvirtualcam - 0.10.1

Published by letmaik almost 2 years ago

Fixed

  • macOS: Fix performance on M1 (#99).
pyvirtualcam - 0.10.0

Published by letmaik about 2 years ago

Added

  • macOS: OBS 28 support (#95).

Removed

  • macOS: Drop OBS 26 / 27 support.
pyvirtualcam - 0.9.1

Published by letmaik about 2 years ago

Fixed

  • macOS: Python 3.10 wheel was incorrectly named (universal2 instead of x86_64)
pyvirtualcam - 0.9.0

Published by letmaik almost 3 years ago

Added

  • Python 3.10 support.

Removed

  • Drop Python 3.6 support.

Fixed

  • Linux: Close opened devices if device is not given (#59)
pyvirtualcam - 0.8.0

Published by letmaik over 3 years ago

Added

  • Windows: Unity Capture virtual camera with RGBA support (#56).
  • gif_rgba.py sample for showing transparent GIFs in RGBA format.

Removed

  • delay argument of Camera has been removed (deprecated since 0.4.0).
pyvirtualcam - 0.7.0

Published by letmaik over 3 years ago

Added

  • API documentation.
  • pyvirtualcam.register_backend() for registering custom backends.
  • latency.py sample for visually evaluating latency.
  • --filter flag in webcam_filter.py sample for choosing a filter (shake or none).
pyvirtualcam - 0.6.0

Published by letmaik over 3 years ago

Added

  • Support for device selection on Linux: Camera(..., device="/dev/video0"). On Windows/macOS there is only a single valid device "OBS Virtual Camera" when using the built-in backends.
  • Support for common pixel formats: RGB (default), BGR (useful for OpenCV), GRAY, I420, NV12, YUYV, UYVY.
  • New properties Camera.fmt (input format) and Camera.native_fmt (native format).

Removed

  • RGBA support has been removed. Use RGB instead.
pyvirtualcam - 0.5.0

Published by letmaik over 3 years ago

Added

  • Linux: multiple camera support (#37).
  • If print_fps=True and Camera.sleep_until_next_frame() is used, the percentage of time spent in computation is printed in addition to fps.

Changed

  • macOS/Windows: raise error if OBS virtual camera is not installed.

Fixed

  • macOS: camera was not correctly cleaned up after use (#39).
  • macOS: an error is now raised if the camera is already in use outside of the current process (#39).
pyvirtualcam - 0.4.0

Published by letmaik over 3 years ago

Added

  • macOS support via OBS Virtual Camera (built-in) (#16).
  • Linux support via v4l2loopback (#29).
  • RGB frame support (in addition to RGBA).
  • Camera.device property containing the name of the virtual camera device.
  • New sample: send video frames to virtual camera (#9).

Changed

Deprecated

  • RGBA frame format. Use RGB instead.
  • delay argument of Camera is deprecated and has no effect.

Fixed

  • Sending a frame with incorrect width or height now raises an exception instead of crashing (#17).
pyvirtualcam - 0.3.2

Published by letmaik over 3 years ago

Changed

  • PEP8.

Fixed

  • Prevent adaptive sleep from overshooting (#1).
  • Return type annotation of Camera.fps was incorrect.
pyvirtualcam - 0.3.1

Published by letmaik over 3 years ago

Fixed

  • Fixed resource cleanup issue preventing Camera to be used more than once (#5).
pyvirtualcam - 0.3.0

Published by letmaik over 3 years ago

Added

  • Python 3.9 support.
pyvirtualcam - 0.2.0

Published by letmaik over 3 years ago

Added

  • FPS counter.
  • Adaptive sleep using Camera.sleep_until_next_frame().
  • Minimal example.

Changed

  • API re-design.

Removed

  • Drop Python 3.5 support.

Fixed

  • Add missing numpy dependency.
pyvirtualcam - 0.1.0

Published by letmaik over 3 years ago

Added

  • First release.
  • Windows only, Python 3.5 - 3.8.
  • Support for OBS-VirtualCam.
Package Rankings
Top 3.13% on Pypi.org
Related Projects