Giter Site home page Giter Site logo

kumaakh / rpos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from breeeze/rpos

0.0 5.0 0.0 1.67 MB

Raspberry Pi Onvif Server

Home Page: http://breeeze.github.io/rpos

License: MIT License

Makefile 1.05% C++ 1.88% JavaScript 70.76% TypeScript 26.23% Shell 0.08%

rpos's Introduction

rpos

Raspberry Pi Onvif Server

Node.js based Onvif Soap service. (http://www.onvif.org)

Initial goal is to provide a Onvif Media service which is compatible with Synology Surveillance Station. This allows the Pi to be used as a surveillance camera without the need for adding any custom camera files to your Synology NAS. First demo video @ https://youtu.be/ZcZbF4XOH7E

This version uses a patched version of the "node-soap" v0.80 library (https://github.com/vpulim/node-soap/releases/tag/v0.8.0) located @ https://github.com/BreeeZe/node-soap

#Features:

  • Streams H264 video over rtsp
  • Camera control (resolution and framerate) through Onvif
  • Set other camera options through a web interface.

#How to:

Install the live555 library to stream h264 video over rtsp [ source http://forum.synology.com/enu/viewtopic.php?f=82&t=69224&start=15#p289293 ] :

*login to your pi via ssh
cd /home/pi/
wget http://www.live555.com/liveMedia/public/live555-latest.tar.gz
tar xvzf live555-latest.tar.gz
cd live
./genMakefiles linux
make
#delete sources
cd ..
rm live -r -f

Install nodejs on your pi (http://weworkweplay.com/play/raspberry-pi-nodejs/):

wget http://node-arm.herokuapp.com/node_latest_armhf.deb
sudo dpkg -i node_latest_armhf.deb

Download rpos release from github to your pi

wget https://github.com/BreeeZe/rpos/releases/download/0.1.0/rpos-0.1.0.zip
unzip rpos-0.1.0.zip
cd rpos-0.1.0

Optionaly set the service port or other options in rposConfig.json

Then you start rpos by running "sudo node rpos.js"

#Camera settings You can set camera settings by browsing to : http://CameraIP:Port/ These settings are then saved in a file called v4l2ctl.json and are persisted on rpos restart.

#Known Issues

  • 1920x1080 can cause hangs and crashes.

#ToDo's

  • Add authentication
  • Add MJPEG
  • Implement more ONVIF calls
  • and more...

rpos's People

Contributors

breeeze avatar kumaakh avatar rogerhardiman avatar sunnyworm avatar zxp86021 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

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.