1 Star 0 Fork 0

release/pylive555

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
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.

空文件

简介

暂无描述 展开 收起
C++ 等 2 种语言
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chinaolysongbo/pylive555.git
git@gitee.com:chinaolysongbo/pylive555.git
chinaolysongbo
pylive555
pylive555
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385