cctv

command module
v0.0.0-...-e5a9e3a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2025 License: MIT Imports: 13 Imported by: 0

README

CCTV microservice

A purely Golang microservice to pull video from IP cameras, save it into MKV files and stream for on-demand view in web browsers. Uses the Server-Client Hierarchy Lifecycle Management Pattern to orchestrate on-demand data flows.

Supports RTSP and DVRIP (Sofia) protocols.

MKV files are saved into 10-minute long chunks into <camera_name>/YYYY/MM/DD/HH-mm-ii.n.mkv.

Streams HEVC/H.265 video into web browsers that can play it (Chrome and some others). See web-video-demo/index.html for an example of frontend code to display these streams.

For configuration example see config.yaml.example.

Tested with TechAge and some BITVISION cameras.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
dvr
muxer
ebml
Package ebml implements the encoder and decoder of Extensible Binary Meta Language (EBML).
Package ebml implements the encoder and decoder of Extensible Binary Meta Language (EBML).
ebml/mkv
Package mkv provides the Matroska multimedia writer.
Package mkv provides the Matroska multimedia writer.
ebml/mkvcore
Package mkvcore provides the core functionality of Matroska/WebM multimedia writer.
Package mkvcore provides the core functionality of Matroska/WebM multimedia writer.
ebml/webm
Package webm provides the WebM multimedia writer.
Package webm provides the WebM multimedia writer.
iso
mp4

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL