Quedale / OnvifDeviceManager

Onvif Device Manager for Linux
GNU General Public License v3.0
89 stars 20 forks source link
camera onvif onvif-camera onvif-client

OnvifDeviceManager

Onvif Device Manager for Linux

Application Capture

Description

The goal of this project is to implement a Onvif Device Manager similar to the windows client, compatible for linux. I'm also working on adding some Profile T capabilities, such as bidirectional audio.

Working

TODO

Use-case

  1. Doorbell-like security camera terminal
  2. Babymonitor terminal (I hope to add common baby monitor feature like playing music)
  3. Cross-room communication terminal

Tested with

How to build

Clone repository

git clone https://github.com/Quedale/OnvifDeviceManager.git
cd OnvifDeviceManager

Autogen, Configure, Download and build dependencies

autogen.sh will attempt download and build missing dependencies.
[Mandatory] The following package dependencies are mandatory and are not yet automatically built:

sudo apt install git
sudo apt install make
sudo apt install bison 
sudo apt install flex 
sudo apt install libtool 
sudo apt install pkg-config
sudo apt install libgtk-3-dev
sudo apt install g++

[Optional] The following package are optional, but will reduce the runtime of autogen.sh if installed.

sudo apt install python3-pip
python3 -m pip install meson
python3 -m pip install ninja
python3 -m pip install cmake
sudo apt install libssl-dev
sudo apt install zlib1g-dev
sudo apt install libasound2-dev
sudo apt install libgudev-1.0-dev
sudo apt install libx11-xcb-dev
sudo apt install gettext
sudo apt install libpulse-dev
sudo apt install nasm
sudo apt install libntlm0-dev

If your system already has gstreamer pre-installed, I strongly recommend using --enable-latest to download the latest gstreamer release supported.
Note that autogen will automatically call "./configure".

./autogen.sh --prefix=$(pwd)/dist --enable-latest
make -j$(nproc)

At this point, you should be able to execute the application without installing it on the system

./onvifmgr

Install

debian

Under debian, I recommend using the package manager:

make deb
sudo dpkg -i onvifmgr_0.0.deb

other

For the time being, other distros can use the following

sudo make install

Uninstall

debian

sudo dpkg -r onvifmgr

other

sudo make uninstall

Note

I have very little spare time to work on any personal project, so this might take a while. This is my very first C project, so I'm learning as I go.

Feedback is more than welcome