Giter Club home page Giter Club logo

pylive555's Introduction

Mike McCandless, mikemccand at gmail.com

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.

pylive555's People

Contributors

daveselinger avatar hoyle1974 avatar mikemccand avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pylive555's Issues

live555.error: shutdown callback must be callable

I'm getting the following error when running the example.py script.
Using Python3.5 on Ubuntu16.04

File "example.py", line 33, in
live555.startRTSP(url, oneFrame, useTCP)
live555.error: shutdown callback must be a callable

Any suggestions?

Failed building wheel for live555

I have install modules step by step as you write on readme file. Unfortunately when I try to install module in python using sudo pip3 install live555 i got error

Failed building wheel for live555

So what must I try to solve? Do you have binary package (.whl file) for this library
Thank you for build this module, very help me

Python 2.x support

Please find my quick hack of module.cpp to get it working under python 2.x. 

I was in a catch 22 situation, I have another module that I need that only runs 
in python 2.x (uses pyro3) and yours only works on python 3 so something had to 
give :)

Yours was easier to fix.








Original issue reported on code.google.com by [email protected] on 1 Aug 2014 at 1:24

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.