Ingest, transform, and re-host video over RTSP with a simple Python API.
Project description
easy-rtsp
Python library for ingesting, transforming, and re-hosting video streams over RTSP using FFmpeg and MediaMTX.
Status: early development. See plan.md for scope and roadmap.
Install
pip install easy-rtsp
Requires FFmpeg and ffprobe on PATH. For publishing, MediaMTX is required (see docs).
Optional webcam support:
pip install easy-rtsp[opencv]
Quick usage (target API)
from easy_rtsp import Stream
for frame in Stream.open("rtsp://camera/live").frames():
...
Stream.from_webcam(0).map(process_frame).serve("live")
License
MIT
Project details
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 easy_rtsp-0.1.0.tar.gz.
File metadata
- Download URL: easy_rtsp-0.1.0.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca4a1aa120ec7279d9cb7e97a245e4ab31c062324df76d56ed34ce4b420e2871
|
|
| MD5 |
8d47512928705a2fd9c14791243b714c
|
|
| BLAKE2b-256 |
784419e4290e0c404cdc206d6939b3f404e684dabbdd99eac186e7a3f6ba60f6
|
File details
Details for the file easy_rtsp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: easy_rtsp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da1a040f8caf98d73c3d597f003357173aa90e42949f4e13afe354cc5377b357
|
|
| MD5 |
e026e84dca4b927af92942182b75bce4
|
|
| BLAKE2b-256 |
6660a118f71dcafcef5d4323483efbceb30fe5a35324d1045f3b142614a4c4cb
|