Published December 5, 2021
| Version vidgear-0.2.4
Software
Open
abhiTronix/vidgear: VidGear Stable v0.2.4
Creators
- 1. Autodidact • Researcher • Open-sourcerer
- 2. Christian Clauss
- 3. @ClubCedille
Description
📓 Complete Release Notes can be found here ↗️
New Features ✨- CamGear:
- Added a new YT_backend Internal Class with YT-DLP backend:
- Implemented
YT_backend
a new CamGear's Internal YT-DLP backend class for extracting metadata from Streaming URLs. - Added support for pipeling (live) video-frames from all yt-dlp supported streaming sites: https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md#supported-sites
- Implemented algorithm from scratch for auto-extracting resolution specific streamable URLs for pipelineing.
- Added new
ytv_metadata
global parameter to CamGear for accessing video's metadata(such as duration, title, description) on-the-go. - ⚠️ Playlists are still unsupported.
- Implemented
- Added a new YT_backend Internal Class with YT-DLP backend:
- WebGear_RTC:
- Implemented a new easy way of defining Custom Streaming Class with suitable source(such as OpenCV):
- Added new
custom_stream
attribute with WebGear_RTCoptions
parameter that allows you to easily define your own Custom Streaming Class with suitable source(such as OpenCV). - This implementation supports repeated Auto-Reconnection or Auto-Refresh out-of-the-box.
- This implementation is more user-friendly and easy to integrate within complex APIs.
- This implementation supports all vidgear's VideoCapture APIs readily as input.
- Added new
- Implemented a new easy way of defining Custom Streaming Class with suitable source(such as OpenCV):
- CamGear:
- Added
is_livestream
global YT_backend parameters. - Added default options for yt-dlp for extracting info_dict(metadata) of the video as a single JSON line.
- Removed all dead code related to streamlink backend.
- Added
- Setup.py:
- Moved all API specific dependencies to
extra_requires
under the name"core"
. [PR #268 by @zpapakipos] - Added rule to replace GitHub heading links in description.
- Updated
extra_require
dependencies. - Removed
streamlink
dependency. - Removed
pafy
dependency.
- Moved all API specific dependencies to
- ⚠️ Installation command with
pip
has been changed inv0.2.4
:- The legacy
pip install vidgear
command now installs critical bare-minimum dependencies only. Therefore in order to automatically install all the API specific dependencies as previous versions, usepip install vidgear[core]
command instead.
- The legacy
- CamGear:
- ⚠️ Removed
streamlink
backend support fromstream_mode
in favor of more reliable CamGear's Internal YT-DLP backend class for extracting metadata from Streaming URLs.- CamGear will raise
ValueError
if streaming site URL is unsupported by yt-dlp backend. - CamGear will raise
ValueError
ifyt-dlp
isn't installed andstream_mode
is enabled.
- CamGear will raise
- ⚠️ Removed automatic enforcing of GStreamer backend for YouTube-livestreams and made it optional.
- The CamGear will not raise ValueError if GStreamer support is missing in OpenCV backends.
- ⚠️ Removed
- WebGear_RTC:
- ⚠️ Removed support for assigning Custom Media Server Class(inherited from aiortc's VideoStreamTrack) in WebGear_RTC through its
config
global parameter. - ⚠️ WebGear_RTC API will now throws ValueError if
source
parameter is NoneType as well ascustom_stream
attribute is undefined.
- ⚠️ Removed support for assigning Custom Media Server Class(inherited from aiortc's VideoStreamTrack) in WebGear_RTC through its
- Helper:
- ⚠️ Removed
restore_levelnames
method. - ⚠️ Removed
youtube_url_validator
method.
- ⚠️ Removed
- CamGear:
- Fixed KeyError Bug for missing attributed in meta_data json in some streaming sites.
- Helper:
- Removed unused imports.
- PR #268
- PR #272
- PR #274
Files
abhiTronix/vidgear-vidgear-0.2.4.zip
Files
(26.7 MB)
Name | Size | Download all |
---|---|---|
md5:5680e54a7b0fb3a21e766c8d01f9c7b7
|
26.7 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/abhiTronix/vidgear/tree/vidgear-0.2.4 (URL)