No project description provided
Project description
Xvideos - lightweight video stream reading
Xvideos is a lightweight single class library for background video reading. The VideoReader class works in 2 threads,
which allows you to efficiently read the video with its parallel processing.
Install
You can use the Pip package manager to install the package:
pip install xvideos
Or you can install manually:
git clone https://github.com/tam2511/xvideos.git
cd xvideos
python setup.py install
Documentation
This library consists of a single VideoReader class and several helper functions. Their signature and description can be found in the documentation
Examples
The VideoReader class is very easy to use, just pass the source of the video stream to the class constructor
and then use the get() method to get frames until the video stream ends
from xvideos import VideoReader
reader = VideoReader(source='./test.mp4')
while True:
flag, batch = reader.get()
if not flag:
break
... # do something
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 xvideos-0.3.tar.gz.
File metadata
- Download URL: xvideos-0.3.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9abf06b52d49b502f57c6650c5361b98f63c4361cf6c4a7f1eee695064928ba2
|
|
| MD5 |
8c33bf321a9be9cc20eaa30a8f23770d
|
|
| BLAKE2b-256 |
c19ce079a6c3d74c60e8ddd54ae683d6babfae7095b9e07014350bf01c8ad92a
|
File details
Details for the file xvideos-0.3-py3-none-any.whl.
File metadata
- Download URL: xvideos-0.3-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e2bcd1a2263451bd253e0bf70cc617f902515672761f5e3ef106b0642804314
|
|
| MD5 |
1a712d6bc487408f72332496ed3aa325
|
|
| BLAKE2b-256 |
75921173129762a3a2a63c85d0b9b3822a6216a3f6d8c82e288f3f398a58d8f0
|