mikemccand / pylive555 Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/pylive555
Automatically exported from code.google.com/p/pylive555
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.
I need handle frames in real time with opencv.
Tell me please how to get image in needed format with our library.
How do I install this on mac osx. (cmake?)
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?
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
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:
How do I install this on mac osx. (cmake?)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.