Skip to main content

RTSParty

A RTSP module that makes it easy to grab live frames from a RTSP stream. This package basically just wraps cv2 and lets you grab the latest frame from the camera, instead of relying on the buffer.

Usage

from rtsparty import Stream


stream = Stream('rtsp://username:password@10.0.0.1/endpoint/', live=True)

# Get a live frame from the camera
live_frame_from_camera = stream.get_frame()

# Force a reconnection
stream.reconnect()

# Show a live view of the stream
stream.view()

To grab the latest frame from the camera no matter what, construct the stream with live=True (or leave it out, it's the default):

stream = Stream(live=True)
stream = Stream()

To use the buffer, which may not provide the most live images from the camera, set live to False.

stream = Stream(live=False)

By leaving out the first argument in the Stream constructor, it will by default use the default video capture device on your machine (your webcam most likely).

Metadata

Release files for rtsparty 0.0.2

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

Source distribution (sdist)

Source distribution for rtsparty 0.0.2
File Size Uploaded Provenance Actions
rtsparty-0.0.2.tar.gz 3.0 kB Without provenance Details for rtsparty-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rtsparty 0.0.2
File Interpreter ABI Platform Actions
rtsparty-0.0.2-py2-none-any.whl Python 2 none any Details for rtsparty-0.0.2-py2-none-any.whl

Total release size: 6.6 kB

Release files / rtsparty-0.0.2.tar.gz

Download URL rtsparty-0.0.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
315acdb3006558022d17f2089be50099810342c07cfe5915592d11df1405d977
BLAKE2b-256 checksum
How to use checksums
b75646752c1ac56522d338d5d6c397f356e54c203c30824cd0daaaefb51675c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.7.0 requests/2.24.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/2.7.16

Release files / rtsparty-0.0.2-py2-none-any.whl

Download URL rtsparty-0.0.2-py2-none-any.whl
Size 3.5 kB
Tags Python 2
SHA-256 checksum
How to use checksums
5a99c62ae9e43ce42de3992fa3a394ca4d7d5a30b5aabf6c490e1892d9015274
BLAKE2b-256 checksum
How to use checksums
5cc9b1db7c10c0f48e7f6b6a0fa662328b710052085b7526437c0aa3b1ce63ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.7.0 requests/2.24.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/2.7.16

Security for rtsparty 0.0.2

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.0.2 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