RTSP Package
/((((((\\\\
=======((((((((((\\\\\
(( \\\\\\\
( (* _/ \\\\\\\
\ / \ \\\\\\________________
| | | </ __ ((\\\\
o_| / ____/ / _______ \ \\\\ \\\\\\\
| ._ / __/ __(_-</ _ \ \ \\\\\\\\\\\\\\\\
| / /_/ \__/___/ .__/ / \\\\\\\ \\
.______/\/ / /_/ / \\\
/ __.____/ _/ ________( /\
/ / / ________/`---------' \ / \_
/ / \ \ \ \ \_ \
( < \ \ > / \ \
\/ \\_ / / > )
\_| / / / /
_// _//
/_| /_|
RTSP Client. Requires ffmpeg system call for RTSP support and Pillow for parsing and conversion.
Features
- fetch a single image as Pillow Image
Examples
One-off Retrieval
import rtsp
image = rtsp.fetch_image('rtsp://1.0.0.1/StreamId=1')
Continuous Retrieval
import rtsp
import time
collector = rtsp.BackgroundListener()
## image_1 may be None but has no delay
image_1 = collector.current_image
## image_2 will not be None but may have a delay
image_2 = collector.blocking_get_new_image()
## image_2 and image_3 will not be the same
image_3 = collector.blocking_get_new_image(old_image = image_2)
collector.shutdown(verbose=False)
Continuous Retrieval Context Manager
import rtsp
import time
with rtsp.BackgroundListener() as collector:
_image = collector.blocking_get_new_image()
while True:
process_image(_image)
_image = collector.blocking_get_new_image(old_image = _image)
Metadata
Release files for rtsp 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rtsp-1.0.6.tar.gz | 3.5 kB | Without provenance | Details for rtsp-1.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rtsp-1.0.6-py3-none-any.whl | Python 3 | none | any | Details for rtsp-1.0.6-py3-none-any.whl |
Total release size: 7.2 kB
Release files / rtsp-1.0.6.tar.gz
| Download URL | rtsp-1.0.6.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a3d8f12738a2202dc985348d910e95ded76797f8a8989b5d87635e0bbca6f1b
|
|
BLAKE2b-256 checksum How to use checksums |
3766ac5ec8b6b536a3194c572adc2465e2a74e2da92ba87872e1ecae526888ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / rtsp-1.0.6-py3-none-any.whl
| Download URL | rtsp-1.0.6-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b93f03c251b362803107dc222035b7d6d10105f8eb5c837ef09b68d4ec4fafa4
|
|
BLAKE2b-256 checksum How to use checksums |
a50d488e7ff389979e55138c7cfc45f349490e4eea8481f6b972cff003996cf8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for rtsp 1.0.6
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.