This contains a small Python wrapper around the Live555 Streaming
Media APIs, so that you can load video frames. It only wraps a tiny,
tiny subset of all of Live555's APIs, specifically the APIs necessary
to pull frames via RTSP/RTP from an IP camera.
I've only tested on Linux with Python 3, with the surprisingly
excellent Lorex LNB2151/LNB2153 cameras, with H264 video. Please
report back if you succeed with other cameras.
INSTRUCTIONS:
* First, download and compile/install the Live555 library from
http://www.live555.com/liveMedia/public, and unzip/tar it and run:
* ./genMakefiles linux
* export CPPFLAGS=-fPIC CFLAGS=-fPIC
* make
* [optional: make install]
* If you unzip/tar'd Live555 in this directory (the pylive555
checkout), to the sub-directory "live", then you can skip this
step; otherwise, edit INSTALL_DIR in setup.py to point the live
headers and libraries.
* Build the python bindings: python3 setup.py build; make sure
there are no errors.
* Copy the resulting .so (from build/lib/*.so) to somewhere onto
your PYTHONPATH.
* Run the example
python3 example.py 10.17.4.118 1 10 out.264
That will record 10 seconds of H264 video from the camera at
10.17.4.118, channel 1, saving it to the file out.264.
Metadata
Release files for live555 1.0
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 | |
|---|---|---|---|---|
| live555-1.0.tar.gz | 8.4 kB | Without provenance | Details |
Release files / live555-1.0.tar.gz
| Download URL | live555-1.0.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa9b23d34701fcc18387a3e18f5214329cdb968891239a52744b0390971f900d
|
|
BLAKE2b-256 checksum How to use checksums |
f31afbbf082cac0b7e8e7cad6581bd853b65db95c171671b3c4e42903c0e8dff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for live555 1.0
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.