Video sources
This section contains a description of video source that can be used by other SDK libraries or separately for video capture. This category consists of the following libraries:
| Library | Description |
|---|---|
| VSource (Linux and Windows) | Provides a standard interface as well as defines data structures and rules for different video source classes (video capture classes). The VSource interface class does nothing; it just provides an interface and methods to encode/decode commands and encode/decode params. No external dependencies. |
| VSourceV4L2 (Linux only) | Video source implementation. Provides video capture and video source (V4L2 compatible video sources) control function based on V4L2 API. External dependencies: V4L2 API (default subsystem in Linux). |
| VSourceLibCamera (Linux only) | Video source implementation. Provides video capture and video source control function based on libcamera. External dependencies: libcamera (libcamera and libcamera-base, linked, LGPL 2.1 or later license). |
| VSourceFile (Linux and Windows) | Video source implementation. Provides video frame capture from H264, HEVC, JPEG, MPEG-4 Part 2 (MP4V) and uncompressed BGR24 video files: raw elementary streams (.h264, *.hevc, *.mjpeg) as well as MP4 (.mp4, .mov, *.m4v) and AVI (.avi) containers. H264, HEVC and JPEG frames are decoded to the requested pixel format; MP4V frames are delivered encoded. No external dependencies. |
| VSourceWmf (Windows only) | Video source implementation. Provides video capture and video source control based on Microsoft Media Foundation (WMF) on Windows. External dependencies: Microsoft Media Foundation (WMF). |
| VSourceStream (Linux and Windows) | Video source implementation. Provides RTSP, RTSPS, RTP, SRTP and MPEG-TS video capture with software decoding and minimum latency. Depends on CryptoProvider. External dependencies: OpenSSL 3 (optional, Apache 2.0 license): on Linux the cryptographic functions of CryptoProvider (without OpenSSL its built-in implementation is used), on Linux and Windows the TLS transport of RTSPS (without OpenSSL RTSPS is not available); Windows CNG on Windows (through CryptoProvider, part of Windows). |