vidgear v0.1.6 Release Notes
Release Date: 2019-12-31 // over 4 years ago-
๐ New Features:
NetGear API:
- Added powerful ZMQ Authentication & Data Encryption features for NetGear API:
- Added exclusive
secure_mode
param for enabling it. - Added support for the two most powerful
Stonehouse
&Ironhouse
ZMQ security mechanisms. - Added smart auth-certificates/key generation and validation features
- Added exclusive
- Implemented Robust Multi-Server support for NetGear API:
- Enables Multiple Server messaging support with a single client.
- Added exclusive
multiserver_mode
param for enabling it. - Added support for
REQ/REP
&PUB/SUB
patterns for this mode. - Added ability to send additional data of any datatype along with the frame in realtime in this mode.
- Introducing exclusive Bi-Directional Mode for bidirectional data transmission:
- Added new
return_data
parameter torecv()
function. - Added new
bidirectional_mode
attribute for enabling this mode. - Added support for
PAIR
&REQ/REP
patterns for this mode - Added support for sending data of any python datatype.
- Added support for
message
parameter for non-exclusive primary modes for this mode.
- Added new
- Implemented compression support with on-the-fly flexible frame encoding for the Server-end:
- Added initial support for
JPEG
,PNG
&BMP
encoding formats - Added exclusive options attribute
compression_format
&compression_param
to tweak this feature - Client-end will now decode frame automatically based on the encoding as well as support decoding flags
- Added initial support for
- Added
force_terminate
attribute flag for handling force socket termination at the Server-end if there's latency in the network.
- Implemented new Publish/Subscribe(
zmq.PUB/zmq.SUB
) pattern for seamless Live Streaming in NetGear API.PiGear API:
- Added new threaded internal timing function for PiGear to handle any hardware failures/frozen threads.
- PiGear will not exit safely with
SystemError
if Picamera ribbon cable is pulled out to save resources.
- Added support for new user-defined
HWFAILURE_TIMEOUT
options attributes to alter timeout.VideoGear API:
- Added
framerate
global variable and removed redundant function.
- Added
CROP_N_ZOOM
attribute in Videogear API for supporting Crop and Zoom stabilizer feature.WriteGear API: Added new
execute_ffmpeg_cmd
function to pass a custom command to its FFmpeg pipeline.Stabilizer class:
- Added new Crop and Zoom feature.
- Added
crop_n_zoom
param for enabling this feature.
- Added
- Updated docs.
โก๏ธ CLI & Tests updates:
- Replaced python 3.5 matrices with the latest python 3.8 matrices in the Linux environment.
- Added full support for Codecov in all CLI environments.
- Updated OpenCV to v4.2.0-pre(master branch).
- Added various Netgear API tests.
- Added initial Screengear API test.
- More test RTSP feeds added with better error handling in the CamGear network test.
- Added tests for ZMQ authentication certificate generation.
- Added badge and Minor doc updates.
โ Added VidGear's official native support for macOS environments.
โก๏ธ Updates/Improvements:
- ๐จ Replace
print
logging commands with python's logging module completely. - Implemented encapsulation for class functions and variables on all gears.
- โก๏ธ Updated support for screencasting from multiple/all monitors in ScreenGear API.
- Updated ScreenGear API to use Threaded Queue Mode by default, thereby removed redundant
THREADED_QUEUE_MODE
param. - โก๏ธ Updated bash script path to download test dataset in
$TMPDIR
rather than$HOME
directory for downloading test data. - ๐ Implemented better error handling of colorspace in various videocapture APIs.
- โก๏ธ Updated bash scripts, Moved FFmpeg static binaries to
github.com
. - โก๏ธ Updated bash scripts, Added additional flag to support un-secure apt sources.
- CamGear API will now throw
RuntimeError
if the source provided is invalid. - ๐ Updated threaded Queue mode in CamGear API for more robust performance.
- โ Added new
camera_num
to support multiple Picameras. - ๐ Moved thread exceptions to the main thread and then re-raised.
- โ Added alternate GitHub mirror for FFmpeg static binaries auto-installation on windows oses.
- โ Added
colorlog
python module for presentable colored logging. - Replaced
traceback
withsys.exc_info
. - ๐ Overall APIs Code and Docs optimizations.
- โก๏ธ Updated Code Readability and Wiki Docs.
- โก๏ธ Updated ReadMe & Changelog with the latest changes.
- โก๏ธ Updated Travis CLI Tests with support for the macOS environment.
- ๐ Reformatted & implemented necessary macOS related changes and dependencies in
travis.yml
.
๐ฅ Breaking Updates / Improvements / Changes
- ๐ฑ โ ๏ธ Python 2.7 legacy support dropped completely.
- ๐ฑ โ ๏ธ Source-code Relicensed to Apache 2.0 License.
- ๐ Python 3+ are only supported legacies for installing Vidgear v0.1.6 and above.
- โ Python 2.7 and 3.4 legacies support dropped from VidGear CLI tests.
๐ Fixes
- ๐ Reimplemented
Pub/Sub
pattern for smoother performance on various networks. - ๐ Fixed Assertion error in CamGear API during colorspace manipulation.
- ๐ Fixed random freezing in
Secure Mode
and several related performance updates - ๐ Fixed
multiserver_mode
not working properly over some networks. - ๐ Fixed assigned Port address ignored bug (commit 073bca1).
- ๐ Fixed several wrong definition bugs from NetGear API(commit 8f7153c).
- ๐ Fixed unreliable dataset video URL(rehosted file on
github.com
). - Disabled
overwrite_cert
for client-end in NetGear API. - ๐ Disabled Universal Python wheel builds in
setup.cfg
file. - โ Removed duplicate code to import MSS(@BoboTiG) from ScreenGear API.
- Eliminated unused redundant code blocks from the library.
- ๐ Fixed Code indentation in
setup.py
and updated new release information. - ๐ Fixed code definitions & Typos.
- Fixed several bugs related to
secure_mode
&multiserver_mode
Modes. - ๐ Fixed various macOS environment bugs.
Pull requests(PR) involved:
๐ โ ๏ธ PyPi Release does NOT contain Tests and Scripts!
- Added powerful ZMQ Authentication & Data Encryption features for NetGear API: