2016-07-10 17:34:49 +00:00
|
|
|
var config = {};
|
|
|
|
|
|
|
|
config.port = 5705;
|
2016-07-16 09:35:15 +00:00
|
|
|
config.defaultTime = 5000;
|
2016-07-10 17:34:49 +00:00
|
|
|
|
|
|
|
config.cams =
|
|
|
|
{
|
|
|
|
frontdoor:
|
|
|
|
{
|
|
|
|
url: 'http://10.138.1.10/videostream.cgi?user=viewer&pwd=verysecure',
|
2016-07-16 09:35:15 +00:00
|
|
|
time: 5000,
|
2016-07-10 17:34:49 +00:00
|
|
|
|
2016-07-16 09:35:15 +00:00
|
|
|
output: 'ffmpeg',
|
|
|
|
outputOptions:
|
|
|
|
{
|
|
|
|
inputFormat: 'mjpeg',
|
|
|
|
outputFormat: 'avi',
|
|
|
|
videoCodec: 'libx264',
|
|
|
|
filename: '[/srv/www/publiccam/]YYYY-MM-DD HH.mm.ss[/<camId>.avi]'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
backdoor:
|
|
|
|
{
|
|
|
|
url: 'http://10.138.1.11/videostream.cgi?user=viewer&pwd=verysecure',
|
|
|
|
time: 5000,
|
|
|
|
|
|
|
|
output: 'mjpeg-split',
|
|
|
|
outputOptions:
|
|
|
|
{
|
|
|
|
filename: '[/srv/www/publiccam/]YYYY-MM-DD HH.mm.ss[/<camId> <frame>.avi]'
|
|
|
|
}
|
2016-07-10 17:34:49 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = config;
|