Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Basic wrapper around live555 to load RTSP video streams

Project Description
Mike McCandless, mikemccand at

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.


* First, download and compile/install the Live555 library from, and unzip/tar it and run:

* ./genMakefiles linux
* 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 to point the live
headers and libraries.

* Build the python bindings: python3 build; make sure
there are no errors.

* Copy the resulting .so (from build/lib/*.so) to somewhere onto

* Run the example

python3 1 10 out.264

That will record 10 seconds of H264 video from the camera at, channel 1, saving it to the file out.264.
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
live555-1.0.tar.gz (8.4 kB) Copy SHA256 Checksum SHA256 Source Dec 3, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting