Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

gabbersepp/victure-camera-cloud

Repository files navigation

This repo is OBSOLETE

ffmpeg can read the stream of the victure cameras. I tried the command from this blog and it worked nicely: https://medium.com/@tom.humph/saving-rtsp-camera-streams-with-ffmpeg-baab7e80d767 This repo is not needed anymore. maybe I built a new one with ffmpeg and some simpler setup

Victure Video Cloud

This is a free, self hosted alternative for the Cloud storage, provided by camera manufacturer Victure.

Why?

I have four PC730 at home and another one from Victure in my garden shed. I like them really much but they suffer from a bad designed cloud storage program. You have to buy cloud storage for each camera. This is way too expensive. If you don't want to use cloud storage, you can use a micro sd card, too. But this suffers from security issues as a thief easily can tear the camera from the wall. This can only be avoided by placing the camera as high as possible. But sometimes the possible height is not high enough.

How?

Gladly Victure implemented OVIF on their cameras. You can activate it in the PC360 app.

OVIF is a open standard for security hardware that enables hardware from different manufacturers to communicate with each others.

ATTENTION activating OVIF disables encryption of the video data.

Why using VLC and not ffmpeg

ffmpeg is normally a good choise for those tasks. But unfortunatelly there seems to be a bug in the RTSP implementation of my camera which leads to corrupt data.

Components

It consists of several components.

cam-server-backend

This container is responsible for saving the RTSP stream using VLC. In my setup I am running a kubernetes cluster on a Linux host. Within the network a NAS is available. To avoid that it's hard drives are running 24/7, I stream the videos to the host's SSD.

cam-server-backup

Every hour the saved videos on the host are moved to the NAS by this component.

cam-server-memory-cleanup

There are two container with this image. One is executed once a hour to ensure that the storage taken by the backup does not exceed a pre defined limit.

Another one runs every 10 minutes to ensure that the host's storage is cleaned up.

cam-client-backend

A small nodeJS application that serves the videos from the NAS. If requested this server converts the video into a format that can be played from within the browser. Also it generates thumbnails on the fly.

cam-client-frontend

A small VueJS app.

Notes

The easiest and best would have been to use ffmpeg. But I (and others in the internet) had no success. It worked only with RTSP Proxies or VLC.

Additional links

About

A quick solution for collecting video streams from victure cameras to avoid their cloud storage program. Built for docker & kubernetes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published