Skip to main content

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

easy_rtsp-0.1.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

easy_rtsp-0.1.0-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

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

Hashes for easy_rtsp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ca4a1aa120ec7279d9cb7e97a245e4ab31c062324df76d56ed34ce4b420e2871
MD5 8d47512928705a2fd9c14791243b714c
BLAKE2b-256 784419e4290e0c404cdc206d6939b3f404e684dabbdd99eac186e7a3f6ba60f6

See more details on using hashes here.

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

Hashes for easy_rtsp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da1a040f8caf98d73c3d597f003357173aa90e42949f4e13afe354cc5377b357
MD5 e026e84dca4b927af92942182b75bce4
BLAKE2b-256 6660a118f71dcafcef5d4323483efbceb30fe5a35324d1045f3b142614a4c4cb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page