Video reader on top of imageio that allows to build custom filter-pipelines
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bbo_svidreader-0.8.0.tar.gz.
File metadata
- Download URL: bbo_svidreader-0.8.0.tar.gz
- Upload date:
- Size: 33.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0c5fd46e2aa5620351a5590844d6aba30c1966356323e8af2a60f390804c3cb
|
|
| MD5 |
909afbcae6bd1f581662431ffaed971b
|
|
| BLAKE2b-256 |
3bba91b97007a7d4631962ee0aad6dd52d57bf49772d3b026e4f8973c99835a1
|
File details
Details for the file bbo_svidreader-0.8.0-py2.py3-none-any.whl.
File metadata
- Download URL: bbo_svidreader-0.8.0-py2.py3-none-any.whl
- Upload date:
- Size: 43.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70f5255ed369b0f73f0c4068db926d7ece974cfcc654b21ac881adb9b697d8da
|
|
| MD5 |
ef588161e12a9718e769e15dcc7a1aca
|
|
| BLAKE2b-256 |
5402fb78f17be0c5ea1a2de9a3d5fbb07bb5c85eb6832a7078601eb0e1fa2c84
|