Simpan data atcs video setiap 'n' detik sekali lewat RTSP, kemudian simpan ke NAS secara berkala
- install
FFMPEG
: https://ffmpeg.org/download.html npm install child_process
: exec ffmpeg cmdnpm install fs
: file system.npm install chokidar
: files, dirs watcher.npm install ftp
: ftp connection
edit rtsp_settings
array. You can add one or more camera/rtsp settings :
[
{
uri : '<your_rtsp_url>',
name : '<name_camera_or_whatever>',
ftpdir : '<ftp_directory_to_save_video>'
}
]
uri
: rtsp url.
name
: name of camera.
ftpdir
: folder to save video in remote ftp.
other settings :
save_in_secs
: n-secs. Video duration.
connectionProperties
: FTP Setup.
node /bin/www