Video reader on top of imageio that compares returned frames to a list of hashes
Project description
videoreader
Videoreader, currently a pyav v3 wrapper, with the following features:
- Reading CCV-Files
- Preemptive cached video access
- Simoultanous threaded reading of multiple video files
- Effects applied by a pipelined graph-structure
Syntax
The syntax is mostly orientated on ffmpeg, generally [<input1>][<input2>]<effect=arg0=<arg0>>[<output>]
- Effects are sepperated by simikolon
- Inputs/Outputs of effects are defined in squared brackets
- arguments can be defined by effect
run_pipeline.py
This is a simple tool if you want to use the videoreader from the commandline. You can define the following options:
- '-i', '--input' <Can define multiple input-files>
- '-o', '--output' <Define where to write output>
- '-g', '--filtergraph' <The filtegraph which is applied>
Examples:
- python3 svidreader/run_pipeline.py -i ../test/cubes.mp4 --filtergraph "contrast" --output test.csv
List of effects:
- scale
Scales input by a given factor
scale: float, factor of scaling - arange
Aranges multiple inputs into a grid
ncols: int, number of columns - viewer
Views the last read input backend: string, Backend to be used, values are matplotlib, ffplay, opencv - bgr2gray
Converts each RGB-input-frame to three grayscale-outputs - cache
Adds a cache with saves the last shown frames - tblend
Subtraction of the previous to the current frame - perprojection
Perspective projection from different camera-models
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bbo-svidreader-0.6.0.tar.gz
(23.0 kB
view details)
Built Distribution
File details
Details for the file bbo-svidreader-0.6.0.tar.gz
.
File metadata
- Download URL: bbo-svidreader-0.6.0.tar.gz
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a0df60452e9af0c7d065ced1ed8cf8cbeda88b9ab6b7fe065f446e2060560fc |
|
MD5 | 4247a61f5e8be62818d8576556407370 |
|
BLAKE2b-256 | fadc2b88712fa8593beaee98ef7faafc1823ad1bc6ce8f1c681ab92c291f0321 |
File details
Details for the file bbo_svidreader-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: bbo_svidreader-0.6.0-py3-none-any.whl
- Upload date:
- Size: 29.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ca06edbd41df69b9a004f13398082e691dc27309b7b891a06a58815a5ebc0e3 |
|
MD5 | 032b1115e9370b0c484f033c3693368b |
|
BLAKE2b-256 | c3cf1aaa3c55d277253b563e46679e7b9a84290c230a88de05b1a4bf8fb07e35 |