v0.2.1
π Complete Release Notes can be found here
Summary: Live Input Devices such as Webcams, Screen-capture, Virtual Cameras are now fully supported. π
β¨ New Features
- Sourcer API:
- Implemented support for extracting metadata from live input devices/sources.
- Added new
source_demuxerandforced_validateparameters tovalidate_sourceinternal method. - Implemented logic to validate
source_demuxervalue against FFmpeg supported demuxers.
- FFdecoder API:
- Implemented functionality to supported live devices by allowing device path and respective demuxer into pipeline.
- Included
-fFFmpeg parameter into pipeline to specify source device demuxer. - Added special case for discarding
-frameratevalue with Nonetype.
- Bash Script:
- Added new FFmpeg command to extract image datasets from given video on Linux envs.
- Created live Virtual Camera devices through
v4l2loopbacklibrary on Github Actions Linux envs.
- CI:
- Added new unittest
test_camera_capture()to test support for live Virtual Camera devices. - Added new
v4l2loopback-dkms,v4l2loopback-utilsand kernel related APT dependencies.
- Added new unittest
β
β‘οΈ Updates/Improvements
- Sourcer API:
- Only either
source_demuxerorsource_extensionattribute can be present in metadata. - Enforced
forced_validatefor live input devices/sources invalidate_sourceinternal method.
- Only either
- FFhelper API:
- Logged error message on metadata extraction failure.
- CI:
- Pinned jinja2 version to
<3.1.0.
- Pinned jinja2 version to
- Bash Script:
- Updated to latest FFmpeg Static Binaries links.
β
π₯ Breaking Updates/Changes
- Implement support for live input devices/sources.
sourceparameter now accepts device name or path.- Added
source_demuxerparameter to specify demuxer for live input devices/sources. - Implemented Automated inserting of
-fFFmpeg parameter wheneversource_demuxeris specified by the user.
β
π Bug-fixes
- Sourcer API:
- Fixed Nonetype value bug in
source_demuxerassertion logic.
- Fixed Nonetype value bug in
- FFhelper API:
- Fixed bug with
get_supported_demuxersnot detecting name patterns with commas.
- Fixed bug with
β
π‘ Pull Requests
- PR #17