Celux

Latest version: v0.5.3

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.5.3

- Fixed issue with floating point ranges.
- Fixed/added quicktime and `RGB24` support.

0.5.2

- Finalized fixes for CPU Color Conversions.
- Added Support for `RGBA`, `BGRA` pixel formats.
- Adjusted `__call__` and `set_range` methods for `VideoReader`.
- Now takes `int` for frame steps, `float` for timestamp steps.
- Pass int or float and the reader will handle things internally.
- No new benchmarks. Not need for this release.

0.5.1.2

- Fixed issue with Color Conversion.

0.5.1.1

- Testing out use of timestamps for setting range.

0.5.1

- Fixed an issue where if no filters were added, decoder would not run properly.

0.5.0

- Some Major Refactoring and changes made.
- Parsed and created `Filter` classes for every (video) Ffmpeg filter.
- Filters defined within `Celux.pyi`
- Not all are tested. For Full documentation of arguments and usage, see: [ffmpeg-filter-docs](https://ffmpeg.org/ffmpeg-filters.html)
- Please create a new issue if any problems occur!
- Fixed an issue with Filter initialization and unwanted output messages.
py
from celux import VideoReader, Scale , CreateFilter, FilterType


scale_filter = Scale(width = "1920", height = "1080")

scale_filter = CreateFilter(FilterType.Scale)
scale_filter.setWidth("1920")
scale_filter.setHeight"1080")
scale_filter.setFlags("bicubic")

with VideoReader("input.mp4", device = "cpu", filters = [scale_filter]) as reader:
for frame in reader:
will be a scaled frame

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.