abhiTronix

vidgear: Real-Time Video Processing with OpenCV and FFmpeg

VidGear is a cross-platform Python framework for real-time video capture, processing, encoding, and streaming, built around OpenCV and FFmpeg. Its threaded and asyncio APIs bring camera, screen, network, and browser-streaming workflows into one toolkit.

QuietPythonApache-2.0FrameworkVideoReal Time
Stars
3.7k
Forks
287
Stars, last 30 days
+10
Last commit
3 days ago
Contributors
14

Our take

Quietno commits in the last 90 days

Health score

40/100

How it is scored
Activity
33
Community
27
Issues
53
Pull requests
46

+10 stars in the last 30 days

VidGear is a broad, practical toolkit for Python video pipelines, but its quiet recent activity and highly concentrated contributor base deserve consideration before relying on it for critical infrastructure.

Good fit if

  • You need a Python interface spanning video capture, processing, encoding, streaming, or network transport.
  • Your application benefits from OpenCV or FFmpeg integration and you can select the specific Gear that fits its workflow.
  • Apache-2.0 licensing suits your project, and your team can manage its obligations.

Look elsewhere if

  • Your team requires sustained recent development activity: the project is marked Quiet, with no commits recorded in the last 90 days.
  • You need development ownership distributed across contributors: although 14 contributors are recorded, most of the code comes from one person.
  • You need an all-in-one deployment stack: the project does not provide Docker, Compose, or Helm configuration in the supplied requirements data.
All health signals
Last commit2026-10-20 (3 days ago)
Commits, last 90 days0
Releases, last 12 months2 (latest vidgear-0.3.5, 2026-05-17)
Contributors14 (top contributor: 97% of commits)
Issues closed, last 90 days2
Pull requests merged, last 90 days2
Project age7 years

Checked on 2026-10-24 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

3,738

Forks

286

Change since Nov 16, 2026: 0 stars·0 forks

Overview

VidGear is a cross-platform Python framework for real-time video processing. It builds threaded and asyncio APIs on top of libraries including OpenCV and FFmpeg, aiming to simplify capture, transformation, encoding, and transport of video without requiring each application to manage those backends directly.

Its set of function-specific APIs covers sources from cameras, files, streaming sites, and screens, as well as output to encoded files, adaptive HTTP streams, browsers, and network peers. It is aimed at Python developers building media applications who want these workflows behind a consistent interface, with access to backend options when needed.

Key Features

  • Capture video from files, cameras, network streams, and supported streaming sites with CamGear or FFGear.
  • Use FFGear for FFmpeg-based decoding, including hardware acceleration, filtergraphs, and per-frame metadata.
  • Capture Raspberry Pi camera feeds with PiGear, or desktop frames with ScreenGear.
  • Stabilize video or switch among capture backends through VideoGear.
  • Encode frames or media using FFmpeg compression options or OpenCV's VideoWriter through WriteGear.
  • Create MPEG-DASH or HLS segments and playlists with StreamGear.
  • Broadcast browser video using ASGI-based MJPEG or WebRTC APIs, or transfer frames over networks with ZeroMQ-based NetGear APIs.

Use Cases

  • A computer-vision developer can capture camera or file frames and pass them into an OpenCV-based processing pipeline.
  • A Raspberry Pi project can read supported camera modules through a Python API that wraps Picamera2 or the legacy Picamera library.
  • A media application can encode processed frames or transcode source video into HLS or MPEG-DASH for HTTP delivery.
  • A developer can send live frames between networked Python systems using ZeroMQ, or broadcast them to browser clients using WebGear or WebGear_RTC.

What you need

Detected in the repository

  • Python >=3.10 (from pyproject.toml)
  • Automated checks on GitHub Actions

License in plain words

Apache-2.0permissive

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the license, the NOTICE file and a note of your changes
  • Share your changes: no
  • Includes an explicit patent grant from the contributors:

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

See the installation guide for setup, then choose a Gear in the API documentation. The README includes examples and links to usage guides.

Alternatives

  • scikit-video: scikit-video focuses on Python video I/O, analysis, and quality metrics, rather than VidGear’s real-time capture, encoding, and streaming workflows.
ProjectLanguageLicenseStarsStatus
vidgearPythonApache-2.03.7kQuiet
scikit-videoPython–153Inactive

Considerations

VidGear requires Python 3.10 or later. Its APIs wrap external backends such as OpenCV, FFmpeg, Picamera2, and ZeroMQ, so available functionality and setup depend on the specific Gear and its underlying libraries or hardware. Some APIs have explicit trade-offs: WebGear uses MJPEG, which the README notes is less efficient for motion video, while StreamGear's real-time frame mode requires audio to be supplied separately. The supplied project data records two releases in the past year and recent issue and pull-request closures, but no commits in the last 90 days; activity is therefore quiet rather than absent. The reported contributor share is highly concentrated, which is a continuity risk for adopters.

Found this useful?

Share it with someone who would like vidgear.

Comparisons