Skip to content

Releases: letmaik/pyvirtualcam

0.6.0

23 Mar 07:44
Compare
Choose a tag to compare

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.

0.5.0

13 Mar 13:46
Compare
Choose a tag to compare

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).

0.4.0

07 Mar 12:19
Compare
Choose a tag to compare

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).

0.3.2

07 Mar 10:25
Compare
Choose a tag to compare

Changed

  • PEP8.

Fixed

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

0.3.1

07 Mar 10:25
Compare
Choose a tag to compare

Fixed

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

0.3.0

07 Mar 10:24
Compare
Choose a tag to compare

Added

  • Python 3.9 support.

0.2.0

07 Mar 10:24
Compare
Choose a tag to compare

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.

0.1.0

07 Mar 10:24
Compare
Choose a tag to compare

Added

  • First release.
  • Windows only, Python 3.5 - 3.8.
  • Support for OBS-VirtualCam.