Skip to main content

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

Metadata

Release files for xvideos 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xvideos 0.3
File Size Uploaded Provenance Actions
xvideos-0.3.tar.gz 4.0 kB Without provenance Details for xvideos-0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xvideos 0.3
File Interpreter ABI Platform Actions
xvideos-0.3-py3-none-any.whl Python 3 none any Details for xvideos-0.3-py3-none-any.whl

Total release size: 8.7 kB

Release files / xvideos-0.3.tar.gz

Download URL xvideos-0.3.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9abf06b52d49b502f57c6650c5361b98f63c4361cf6c4a7f1eee695064928ba2
BLAKE2b-256 checksum
How to use checksums
c19ce079a6c3d74c60e8ddd54ae683d6babfae7095b9e07014350bf01c8ad92a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.8

Release files / xvideos-0.3-py3-none-any.whl

Download URL xvideos-0.3-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e2bcd1a2263451bd253e0bf70cc617f902515672761f5e3ef106b0642804314
BLAKE2b-256 checksum
How to use checksums
75921173129762a3a2a63c85d0b9b3822a6216a3f6d8c82e288f3f398a58d8f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.8

Security for xvideos 0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page