isliulin / chiton

Lightweight Network Video Recorder (NVR)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chiton

Chiton is a lightweight network video recorder. Chiton attempts to be fast and lightweight. It provides a web based interface to view live video of all camera feeds and performs video recording and will avoid transcoding whenever possible to maximize performance

Installation

It is recommended to use a binary package for your distribition. Then start it with systemctl enable chiton (on a systemd based system) or executing /etc/rc.d/rc.chiton start on a SysV based system (like Slackware).

If you would like to build from source, it is recommended to run the packaging script in the packaging directory to generate a binary for your distribution. If you downloaded this via git you will need to run ./autogen.sh first. Note, when building from git node-license-checker is a build time dependency

For debian that would look something like this:

dpkg-source -x chiton-0.1.0git.dsc
cd chiton-0.1.0git
debuild -uc -us -i -b
cd ..
sudo dpkg -i chiton_0.1.0git-1_amd64.deb

For Slackware that would look something like this:

tar -xvf chiton-0.1.0git.slackbuild.tar.xz
mv chiton-0.1.0git.tar.xz chiton
./chiton.SlackBuild
sudo upgradepkg --install-new /tmp/chiton-0.1.0git*.txz

Alternativitly you can install directly from source:

./autogen.sh #only if this was cloned from git
./configure --help #read the options, you do want to set your system directories
make
make install

Usage

Start the backend with systemctl start chiton (on a systemd based system) or executing /etc/rc.d/rc.chiton start on a SysV based system (like Slackware).

Once started, you can access it via the web interface (http://localhost/chiton by default), and you can add your cameras via the web interface

To configure, go to settings, add a camera, "active" must be set to "1" and it must have a "video-url" parameter set, see chiton_config.hpp for documentation on the options, you can then reload the daemon to activte the new settings (systemctl reload chiton)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GPLv3

This program also contains code from other libraries, all are compatibe with GPLv3. See 3RD_PARTY and LICENSE.* for these licenses

About

Lightweight Network Video Recorder (NVR)

License:GNU General Public License v3.0


Languages

Language:C++ 70.4%Language:PHP 10.2%Language:Shell 5.3%Language:JavaScript 4.5%Language:Makefile 3.8%Language:M4 2.5%Language:Smarty 2.5%Language:CSS 0.9%