Video Recorder: findface-video-storage
and findface-video-streamer-cpu
Video Recorder is an optional part of the FindFace Core. It works in the following way:
The
findface-video-storage
service implements video chunk management. It takes video chunks from thefindface-video-worker
component, puts them into the storage (findface-upload
), and writes their meta-information and whereabouts to the Video Recorder database (MongoDB). By request fromfindface-security
, it issues information about existing video chunks in the form of Websocket-links to the corresponding streams. These links are further used byfindface-video-streamer-cpu
to deliver the video to a user for viewing and downloading.By request from
findface-security-ui
, thefindface-video-streamer-cpu
service extracts requested video chunks fromfindface-video-storage
andfindface-video-worker
(only the last chunk if it’s not yet recorded to the storage). Then it merges the video chunks into a one-piece video and delivers it to a user for viewing and downloading.
The findface-video-storage
configuration is done through the /etc/findface-video-storage.conf
configuration file. You can find its default content here
.
The findface-video-streamer-cpu
configuration is done through the /etc/findface-video-streamer-cpu.ini
configuration file. You can find its default content here
.
To configure Video Recorder, refer to this section.