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
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.8.1.tar.gz
(33.6 kB
view details)
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.1.tar.gz.
File metadata
- Download URL: bbo_svidreader-0.8.1.tar.gz
- Upload date:
- Size: 33.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
python-httpx/0.27.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8fdceb9d6c2fb2103008674d1de30f0f6874eade5159beb2bdb0a46e3cae93e
|
|
| MD5 |
f8c0ad3d98a1dcd6ecb1ddd5dce4e1a9
|
|
| BLAKE2b-256 |
bd798a0e1dd4ddb059a0f9a468bd88f084e4a8497b525eba2d64ad447be41b0f
|
File details
Details for the file bbo_svidreader-0.8.1-py2.py3-none-any.whl.
File metadata
- Download URL: bbo_svidreader-0.8.1-py2.py3-none-any.whl
- Upload date:
- Size: 43.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
python-httpx/0.27.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b3d25e595d5efb90a9f2915b7ea12a043a3b4a359de9da35163b9c62bd022a9
|
|
| MD5 |
34a2bcc12266b05e233a6ba903a71b9b
|
|
| BLAKE2b-256 |
d87cb9b3d84467f106fd33a3709b5f1ac7171d3b8e1f3e4833f9f26d0d5a5e26
|