VidGear Stable v0.3.2
·
87 commits
to master
since this release
π Complete Release Notes can be found here
New Features β¨
- NetGear:
- Added new
kill
parameter toclose()
method to forcefully kill ZMQ context instead of graceful exit only in thereceive
mode. - Added new
subscriber_timeout
integer optional parameter to support timeout withpattern=2
(or Publisher-Subscriber) pattern.- Receiver will exit safely if timeout defined(any value(in milliseconds) > 0), and timeout occurs in Receiver Mode with
pattern=2
. - π¬ Note: Default behavior still is to block the thread till infinite time.
- Receiver will exit safely if timeout defined(any value(in milliseconds) > 0), and timeout occurs in Receiver Mode with
- Added new
- WriteGear:
- Added new
-disable_ffmpeg_window
optional Boolean flag to enable patch that prevents FFmpeg creation window from opening when building.exe
files on Windows OS. (PR by @ibtsam3301)- π¬ Note:
-disable_ffmpeg_window
optional Boolean flag is only available on Windows OS with logging disabled(logging=False
) in compression mode. - π¬ Use Case: This flag can be useful while creating an
.exe
file for a python script that uses WriteGear API. On windows even after creating the.exe
file in windowed mode or no-console mode, theffmpeg.exe
command line window would pop up while its being used by WriteGear API.
- π¬ Note:
- Added new
- Setup.py
- Added official support for python
3.11.x
legacies.
- Added official support for python
Updates/Improvements β‘οΈ
- Asyncio:
- Formatted TemplateResponse class parameters w.r.t new changes in backend Starlette API.
- Setup.py:
- Readded latest patch to
uvicorn
,starlette
,pyzmq
dependencies. - Removed
3.7
legacy from Programming Language metadata.
- Readded latest patch to
- Maintenance:
- Added GitHub sponsors and dropped liberapay from
Funding.yml
.
- Added GitHub sponsors and dropped liberapay from
- Docs:
- Updated information related to Supported Dimensional Attributes in ScreenGear docs.
- Updated minimum python to version
3.8
while installing vidgear in docs. - Updated API-specific dependencies in docs.
Breaking Updates/Changes π₯
- Setup.py:
- π£ Removed support for python-3.7 legacies
- π¬ Raised
python_requires
to>=3.8
. Thereby python3.7
and any before legacy are no longer supported.
- π¬ Raised
- π£ Removed support for python-3.7 legacies
Bug-fixes π
- ScreenGear:
- Fixed swapped region dimensions bug with dxcam backend.
- Fixed "mss" backend disabled when
monitor
parameter is not defined.
- Docs:
- Fixed missing
compression_mode
flags in WriteGear API docs.
- Fixed missing