Skip to content

Bump vidgear from 0.2.6 to 0.3.0 - #18

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/vidgear-0.3.0
Open

Bump vidgear from 0.2.6 to 0.3.0#18
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/vidgear-0.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jan 30, 2023

Copy link
Copy Markdown
Contributor

Bumps vidgear from 0.2.6 to 0.3.0.

Release notes

Sourced from vidgear's releases.

VidGear Stable v0.3.0

📓 Complete Release Notes can be found here ↗️


New Features ✨

  • WriteGear:
    • Added support for higher than 8-bit depth frames with datatypes of unsigned integer(uint) kind and element size 2.
    • Added new -input_pixfmt attribute to output_params dictionary parameter for easily specifying custom input pixel-format.
    • Added support for Context Managers __enter__() and __exit__() methods for proper handling of resources via with statement for allocating and releasing resources precisely. (Suggested by @​sueskind)
  • StreamGear:
    • Added support for Context Managers __enter__() and __exit__() methods for proper handling of resources via with statement for allocating and releasing resources precisely. (Suggested by @​sueskind)
  • WebGear:
    • Added new skip_generate_webdata boolean optional attribute(False by default) to completely disable Data-Files Auto-Generation WorkFlow.
      • This flag enables only /video route for disabled Data-Files Auto-Generation WorkFlow.
  • Helper:
    • Added more robust implementation of validate_audio method with more robust regex pattern for extracting audio-samplerate.
    • Added support for Linux video device path (such as /dev/video0).
  • Maintenance:
    • Logging current vidgear version when vidgear APIs are called, not at import.
      • Current version can only be logged by VidGear APIs with the logging turned on (i.e. logging=True).

Updates/Improvements ⚡️

  • WriteGear:
    • Updated comments, description, and logging messages to more sensible and developer friendly.
      • Renamed startFFmpeg_Process internal class method to start_FFProcess.
      • Renamed Preprocess internal class method to PreprocessFFParams.
      • Renamed startCV_Process internal class method to start_CVProcess.
      • Renamed initiate internal class parameter to initiate_process.
      • Renamed force_termination internal class parameter to forced_termination.
  • Helper:
    • Updated validate_audio method with improved and more robust regex patterns for identifying audio bitrate in ay audio file.
  • Setup.py:
    • Replaced distutils.version.LooseVersion with pkg_resources.parse_version.
  • Maintenance:
    • Replaced depreciated LooseVersion with parse_version.
    • Updated Retry package to be imported from requests.adapters.
  • Bash Scripts:
    • Updated FFmpeg Static Binaries links to latest date/version tag to 12-07-2022.

Breaking Updates/Changes 💥

  • WriteGear:
    • 💣 Renamed output_filename string parameter to output.
    • 💣 Renamed cmd parameter in execute_ffmpeg_cmd() class method to more sensible command.
    • 💣 ValueError will be raised if datatype of input frames mismatches.

Bug-fixes 🐛

  • Camgear:
    • Fixed CamGear.read() blocked unnecessarily.

... (truncated)

Changelog

Sourced from vidgear's changelog.

v0.3.0 (2023-01-26)

??? tip "New Features" - [x] WriteGear: * Added support for user-defined and higher than 8-bit depth input frames pixel-format. + Added support for higher than 8-bit depth frames with datatypes of unsigned integer(uint) kind and element size 2. + Added dtype parameter to internal Preprocess method for passing input frames datatype. + Implemented auto-calculation of input pixel-format based on number of channels in higher than 8-bit depth frames. + Added various known working pixel-formats(based on number of channels), supported by all prominent computer vision libraries. + Added support for up to 1-channel(gray16-le/be) to all the way up to 4-channels(bgra64-le/be) in input frames. + Added endianness little(le) or big(be) at the suffix of pixel-format based on byte-order of input frames datatypes. + Extended support for higher RGB 8-bit depth frames through RGB mode. * Added support for user-defined custom input pixel-format. + Added new -input_pixfmt attribute to output_params dictionary parameter for easily specifying custom input pixel-format. + Added newly implemented get_supported_pixfmts method import for verifying user-defined input pixel-format against Installed FFmpeg supported pixel-formats. Unsupported values will be discarded. + Implemented runtime datatype validation check, such that all input frames must have same datatype. * Added support for Context Managers for proper handling of resources via with statement for allocating and releasing resources precisely. (Suggested by @​sueskind) + Implement the __enter__() and __exit__() methods. + Added __enter__ method that returns reference to the WriteGear Class. + Added __exit__ method that automatically executes close() for performing the cleanup operations and handling exception gracefully. - [x] StreamGear: * Added support for Context Managers for proper handling of resources via with statement for allocating and releasing resources precisely. (Suggested by @​sueskind) + Implement the __enter__() and __exit__() methods. + Added __enter__ method that returns reference to the StreamGear Class. + Added __exit__ method that automatically executes close() for performing the cleanup operations and handling exception gracefully. - [x] WebGear: * Added way to completely disable Data-Files Auto-Generation WorkFlow. + Added new skip_generate_webdata boolean optional attribute(False by default) to completely disable Data-Files Auto-Generation WorkFlow. + This flag enables only /video route for disabled Data-Files Auto-Generation WorkFlow. + Implemented JSONResponse as placeholder response instead of Index, 404 and 500 HTML pages, when workflow is disabled. (Note: Index HTML page will throw 404 status code.) + Added necessary imports. - [x] Helper: * Added more robust implementation of validate_audio method. + Added new more robust regex pattern for extracting audio-samplerate. + Added new validate_audio method for calculating accurate bitrate(in kbps) from audio samplerate, channels, bit-depth values. + Implemented new patterns and logic for accurately extracting audio channels and bit-depth from given metadata. * Added support for Linux video device path (such as /dev/video0). - [x] Maintenance: * Logging current vidgear version when vidgear APIs are called, not at import. + Added logcurr_vidgear_ver helper function to facilitate logging current vidgear version, when called within a API. + Implemented ver_is_logged global variable in helper to log version only once, which can modifiable with logcurr_vidgear_ver method only. Followed recommendation given in official python docs: https://docs.python.org/3/faq/programming.html#how-do-i-share-global-variables-across-modules + Current version can only be logged by VidGear APIs with the logging turned on (i.e. logging=True). - [x] Docs: * Added new WriteGear Bonus Example: + Added "Using WriteGear's Compression Mode with v4l2loopback Virtual Cameras bonus python example. + Added related prerequisites and dependencies for creating v4l2loopback Virtual Cameras on Linux machines. + Added both With/Without-Audio cases for "Using WriteGear's Compression Mode for YouTube-Live Streaming". * Added content.code.copy and content.tabs.link features. * Added docs related to skip_generate_webdata optional attribute. * Added feedback features to mkdocs.yml.

... (truncated)

Commits
  • 3572ef3 🎉 Released VidGear Stable v0.3.0 #352
  • 8cbfbff ✨ CI: Updated actions/checkout to v3.
  • 8c2787b 📝 Docs: Updated changelog.md
  • 43d2b97 📝 Docs: Fixed coverage badge.
  • 9022e88 🚑️ Docs: Removed unusable offline feature flag from mkdocs.yml
  • 9f17025 🚑️ Core: Fixed Threading bugs. #351
  • 96f8958 🚑️ Setup: Pinned pyzmq==24.0.1 working version.
  • 8cf4ce9 ✨ CI: Updated actions/checkout to v3
  • 0b17a40 ✨ CI: Updated codecov/codecov-action to v3
  • dc4d4e9 💚 CI: Fixed Appveyor build.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [vidgear](https://github.com/abhiTronix/vidgear) from 0.2.6 to 0.3.0.
- [Release notes](https://github.com/abhiTronix/vidgear/releases)
- [Changelog](https://github.com/abhiTronix/vidgear/blob/master/docs/changelog.md)
- [Commits](abhiTronix/vidgear@vidgear-0.2.6...vidgear-0.3.0)

---
updated-dependencies:
- dependency-name: vidgear
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants