OpenIPC / mini

OpenSource Mini IP camera streamer
https://openipc.org
GNU General Public License v3.0
96 stars 51 forks source link
h264 hi3516 hi3518 hisilicon ipcam ipcamera mjpeg mp4 openipc rtsp

Mini Video Streamer

A part of OpenIPC Project

@@ This project needs developers! Please contact Igor Zalatov <flyrouter@gmail.com>. @@

Description

Mini is an open source video streaming software for HiSilicon IP cameras. It is a malnourished and underloved little brother of the commercial Majestic video streamer.

Supported hardware and features

SoC Family Audio Stream JPEG Snapshot RTSP Stream Motion Detect On-Screen Display
Hi3516CV100 ⁿ/ₐ
Hi3516CV200 ✔️ ✔️ ✔️
Hi3516CV300 ✔️ ✔️ ✔️
Hi3516CV500

✔️ - supported, ✗ - not supported, ⁿ/ₐ - not supported by hardware

Recommended hardware

We recommend buying a HiSilicon 3516CV300 + Sony IMX291 board as a development kit. This IP camera module comes with 128MB of RAM and 16MB SPI Flash ROM.

Use Coupler to replace the stock firmware with OpenIPC. You won't even need to solder anything like a UART adapter.

Building

To clone the code locally, run

git clone --recurse-submodules https://github.com/openipc/mini

or, if you have already checked out the repository without submodules, run

git submodule init
git submodule update

Build the code with CMake:

$ cmake -H. -Bbuild \
    -DCMAKE_BUILD_TYPE=Release \
    -DPLATFORM_SDK_DIR=<PATH_TO_SDK> \
    -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
    -DCMAKE_TOOLCHAIN_FILE=tools/cmake/toolchains/arm-openipc-linux-musleabi.cmake
$ cmake --build build

Where __ is either glutinium/hisi-osdrv2 or glutinium/hisi-osdrv3.

Configuration

The Mini streamer does not support sensor autodetection yet. You will need to use ipcinfo --long_sensor to determine the sensor model and its control bus, and then set the path to a corresponding config file as sensor_config parameter in mini.ini.

Authors