2019-03-15 07:32:18 +00:00
module . exports = function ( s , config , lang ) {
2021-10-09 19:56:45 +00:00
const Theme = {
isDark : true ,
}
const mainBackgroundColor = Theme . isDark ? 'bg-dark' : Theme . isDarkDefaultBg || 'bg-light'
const textWhiteOnBgDark = Theme . isDark ? 'text-white' : ''
return Object . assign ( {
Theme : Theme ,
} , {
2021-05-04 23:24:08 +00:00
"Monitor Status Codes" : {
2022-05-02 20:12:42 +00:00
"0" : lang [ "Disabled" ] ,
"1" : lang [ "Starting" ] ,
"2" : lang [ "Watching" ] ,
"3" : lang [ "Recording" ] ,
"4" : lang [ "Restarting" ] ,
"5" : lang [ "Stopped" ] ,
"6" : lang [ "Idle" ] ,
"7" : lang [ "Died" ] ,
"8" : lang [ "Stopping" ] ,
"9" : lang [ "Started" ] ,
2021-05-04 23:24:08 +00:00
} ,
2019-03-15 07:32:18 +00:00
"Monitor Settings" : {
"section" : "Monitor Settings" ,
"blocks" : {
"Identity" : {
2019-08-09 06:58:01 +00:00
"name" : lang . Identity ,
2019-03-15 07:32:18 +00:00
"color" : "grey" ,
"isSection" : true ,
"id" : "monSectionIdentity" ,
"blockquoteClass" : "global_tip" ,
"blockquote" : ` <div class="am_notice am_notice_new"> ${ lang . IdentityText1 } </div><div class="am_notice am_notice_edit"> ${ lang . IdentityText2 } </div> ` ,
"info" : [
{
"name" : "mode" ,
"field" : lang . Mode ,
"fieldType" : "select" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextMode" ] ,
2020-05-27 21:02:17 +00:00
"default" : "start" ,
2019-03-15 07:32:18 +00:00
"example" : "" ,
2019-03-21 21:30:50 +00:00
"selector" : "h_m" ,
2019-03-15 07:32:18 +00:00
"possible" : [
{
"name" : lang . Disabled ,
"value" : "stop" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextModeDisabled" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : lang [ "Watch-Only" ] ,
"value" : "start" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextModeWatchOnly" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : lang . Record ,
"value" : "record" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextModeRecord" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : lang . Idle ,
"value" : "idle" ,
"info" : ""
}
]
} ,
{
"name" : "mid" ,
"field" : lang [ "Monitor ID" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextMid" ] ,
2019-03-21 21:30:50 +00:00
"example" : s . gid ( )
2019-03-15 07:32:18 +00:00
} ,
{
"name" : "name" ,
"field" : lang . Name ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextName" ] ,
2020-05-27 21:02:17 +00:00
"example" : "Home-Front"
2019-03-15 07:32:18 +00:00
} ,
{
"name" : "detail=max_keep_days" ,
"field" : lang [ "Number of Days to keep" ] + ' ' + lang [ 'Videos' ] ,
"placeholder" : "Default is Global value." ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextMaxKeepDays" ] ,
2019-03-15 07:32:18 +00:00
} ,
{
"name" : "detail=notes" ,
"field" : lang . Notes ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextNotes" ] ,
2019-03-15 07:32:18 +00:00
"fieldType" : "textarea" ,
} ,
{
"name" : "detail=dir" ,
"field" : lang [ "Storage Location" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDir" ] ,
2019-03-15 07:32:18 +00:00
"fieldType" : "select" ,
"possible" : s . listOfStorage
2019-04-14 18:34:41 +00:00
}
2019-03-15 07:32:18 +00:00
]
} ,
2020-05-26 03:49:12 +00:00
"Presets" : {
id : "monSectionPresets" ,
2021-06-01 23:18:21 +00:00
"section-class" : "am_notice am_notice_edit" ,
2020-05-26 03:49:12 +00:00
"name" : lang . Presets ,
"color" : "purple" ,
isSection : true ,
"info" : [
{
"name" : lang [ 'Add New' ] ,
"color" : "grey" ,
isFormGroupGroup : true ,
"info" : [
{
"id" : "monitorPresetsName" ,
2020-05-26 23:30:24 +00:00
"field" : lang [ 'Preset Name' ] ,
2020-05-27 02:16:50 +00:00
} ,
{
"fieldType" : "btn" ,
"class" : ` btn-success add-new ` ,
"btnContent" : ` <i class="fa fa-plus"></i> ${ lang [ 'Add' ] } ` ,
} ,
2020-05-26 03:49:12 +00:00
]
} ,
{
2021-06-01 23:18:21 +00:00
"fieldType" : 'div' ,
2020-05-26 03:49:12 +00:00
"id" : "monitorPresetsSelection" ,
2021-12-04 19:22:10 +00:00
"style" : "max-height:400px;overflow:auto;" ,
2020-05-26 03:49:12 +00:00
"class" : "mdl-list"
} ,
2020-05-28 00:46:37 +00:00
{
"fieldType" : "btn" ,
2021-06-01 23:18:21 +00:00
"attribute" : ` page-open="schedules" ` ,
2020-05-28 00:46:37 +00:00
"class" : ` btn-info ` ,
2020-05-28 00:48:30 +00:00
"btnContent" : ` <i class="fa fa-clock-o"></i> ${ lang [ 'Schedules' ] } ` ,
2020-05-28 00:46:37 +00:00
} ,
2020-05-26 03:49:12 +00:00
] ,
} ,
2019-03-15 07:32:18 +00:00
"Connection" : {
"name" : lang . Connection ,
"color" : "orange" ,
"id" : "monSectionConnection" ,
"isSection" : true ,
"blockquote" : ` <p> ${ lang . InputText1 } </p> \
$ { lang . InputText2 } \
< p > $ { lang . InputText3 } < / p > ` ,
"blockquoteClass" : "global_tip" ,
"info" : [
{
"name" : "type" ,
"fieldType" : "select" ,
"selector" : "h_t" ,
"field" : lang [ "Input Type" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextType" ] ,
2019-03-15 07:32:18 +00:00
"default" : "h264" ,
"example" : "" ,
"possible" : [
{
"name" : "JPEG" ,
"value" : "jpeg" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextTypeJPEG" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : "MJPEG" ,
"value" : "mjpeg" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextTypeMJPEG" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : "H.264 / H.265 / H.265+" ,
"value" : "h264" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextTypeH.264/H.265/H.265+" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : "HLS (.m3u8)" ,
"value" : "hls" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextTypeHLS(.m3u8)" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : "MPEG-4 (.mp4 / .ts)" ,
"value" : "mp4" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextTypeMPEG4(.mp4/.ts)" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : "Shinobi Streamer" ,
"value" : "socket" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextTypeShinobiStreamer" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : "Dashcam (Streamer v2)" ,
"value" : "dashcam" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextTypeDashcam(StreamerV2)" ]
2019-03-15 07:32:18 +00:00
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Local ,
2019-03-15 07:32:18 +00:00
"value" : "local" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextTypeLocal" ]
2019-03-15 07:32:18 +00:00
} ,
{
"evaluation" : "!!config.rtmpServer" ,
"name" : "RTMP" ,
"value" : "rtmp" ,
"info" : ` Learn to connect here : <a href="https://shinobi.video/articles/2019-02-14-how-to-push-streams-to-shinobi-with-rtmp" target="_blank">Article : How to Push Streams via RTMP to Shinobi</a> `
2019-07-08 03:05:49 +00:00
} ,
{
"name" : "MxPEG" ,
"value" : "mxpeg" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextTypeMxPEG" ]
2019-07-08 03:05:49 +00:00
} ,
2019-03-15 07:32:18 +00:00
]
} ,
{
hidden : true ,
"name" : "detail=rtmp_key" ,
"form-group-class" : "h_t_input h_t_rtmp" ,
"field" : lang [ 'Stream Key' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextRtmpKey" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=auto_host_enable" ,
"field" : lang . Automatic ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextAutoHostEnable" ] ,
2019-03-15 07:32:18 +00:00
"selector" : "h_auto_host" ,
2020-05-05 00:17:46 +00:00
"form-group-class" : "h_t_input h_t_h264 h_t_hls h_t_mp4 h_t_jpeg h_t_mjpeg h_t_mxpeg" ,
"form-group-class-pre-layer" : "h_t_input h_t_h264 h_t_hls h_t_mp4 h_t_jpeg h_t_mjpeg h_t_mxpeg h_t_local" ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
hidden : true ,
"name" : "detail=auto_host" ,
"field" : lang [ "Full URL Path" ] ,
"form-group-class" : "h_auto_host_input h_auto_host_1" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextAutoHost" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "rtsp://username:password@123.123.123.123/stream/1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "protocol" ,
"field" : lang [ "Connection Type" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextProtocol" ] ,
2019-03-15 07:32:18 +00:00
"default" : "RTSP" ,
"example" : "" ,
"form-group-class" : "h_t_input h_t_h264 h_t_hls h_t_mp4 h_t_jpeg h_t_mjpeg" ,
"form-group-class-pre-layer" : "h_auto_host_input h_auto_host_0 auto_host_fill" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : "HTTP" ,
"value" : "http"
} ,
{
"name" : "HTTPS" ,
"value" : "https"
} ,
{
"name" : "RTSP" ,
"value" : "rtsp"
} ,
{
"name" : "RTMP" ,
"value" : "rtmp"
} ,
{
"name" : "RTMPS" ,
"value" : "rtmps"
} ,
{
"name" : "UDP" ,
"value" : "udp"
}
]
} ,
{
hidden : true ,
"name" : "detail=rtsp_transport" ,
"field" : lang [ "RTSP Transport" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextRtspTransport" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"form-group-class" : "h_t_input h_t_h264 h_t_hls h_t_mp4 h_t_jpeg h_t_mjpeg" ,
"form-group-class-pre-layer" : "h_p_input h_p_rtsp" ,
"form-group-class-pre-pre-layer" : "h_auto_host_input h_auto_host_0 auto_host_fill" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . Auto ,
"value" : "no" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextRtspTransportAuto" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : "TCP" ,
"value" : "tcp" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextRtspTransportTCP" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : "UDP" ,
"value" : "udp" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextRtspTransportUDP" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : "HTTP" ,
"value" : "http" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextRtspTransportHTTP" ]
2019-03-15 07:32:18 +00:00
}
]
} ,
{
hidden : true ,
"name" : "detail=muser" ,
"field" : lang . Username ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextMuser" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "kittenFinder" ,
"form-group-class" : "h_t_input h_t_h264 h_t_hls h_t_mp4 h_t_jpeg h_t_mjpeg" ,
"form-group-class-pre-layer" : "h_auto_host_input h_auto_host_0 auto_host_fill" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=mpass" ,
2019-06-30 16:14:55 +00:00
"fieldType" : "password" ,
2019-03-15 07:32:18 +00:00
"field" : lang . Password ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextMpass" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "kittenCuddler" ,
"form-group-class" : "h_t_input h_t_h264 h_t_hls h_t_mp4 h_t_jpeg h_t_mjpeg" ,
"form-group-class-pre-layer" : "h_auto_host_input h_auto_host_0 auto_host_fill" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "host" ,
"field" : lang . Host ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextHost" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "111.111.111.111" ,
"form-group-class" : "h_t_input h_t_h264 h_t_hls h_t_mp4 h_t_jpeg h_t_mjpeg" ,
"form-group-class-pre-layer" : "h_auto_host_input h_auto_host_0 auto_host_fill" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "port" ,
"field" : lang . Port ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextPort" ] ,
2019-03-15 07:32:18 +00:00
"default" : "80" ,
"example" : "554" ,
"possible" : "1-65535" ,
"form-group-class" : "h_t_input h_t_h264 h_t_hls h_t_mp4 h_t_jpeg h_t_mjpeg" ,
"form-group-class-pre-layer" : "h_auto_host_input h_auto_host_0 auto_host_fill" ,
} ,
{
hidden : true ,
"name" : "detail=port_force" ,
"field" : lang [ "Force Port" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextPortForce" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"form-group-class" : "h_t_input h_t_h264 h_t_hls h_t_mp4 h_t_jpeg h_t_mjpeg" ,
"form-group-class-pre-layer" : "h_auto_host_input h_auto_host_0 auto_host_fill" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
hidden : true ,
"name" : "path" ,
"field" : lang . Path ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextPath" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "/videostream.cgi?1" ,
"possible" : "" ,
"form-group-class" : "h_t_input h_t_h264 h_t_hls h_t_mp4 h_t_jpeg h_t_mjpeg h_t_local" ,
"form-group-class-pre-layer" : "h_auto_host_input h_auto_host_0 auto_host_fill" ,
} ,
{
"name" : "detail=fatal_max" ,
"field" : lang [ 'Retry Connection' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextFatalMax" ] ,
2019-12-12 12:07:01 +00:00
"default" : "10" ,
2019-03-15 07:32:18 +00:00
"example" : "" ,
"possible" : "" ,
} ,
{
"name" : "detail=skip_ping" ,
"field" : lang [ 'Skip Ping' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextSkipPing" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"name" : "detail=is_onvif" ,
"field" : lang . ONVIF ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextIsOnvif" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"selector" : "h_onvif" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
2020-09-20 06:28:35 +00:00
{
"name" : "detail=onvif_non_standard" ,
"field" : lang [ 'Non-Standard ONVIF' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextOnvifNonStandard" ] ,
2020-09-20 06:28:35 +00:00
"default" : "0" ,
"example" : "" ,
"form-group-class" : "h_onvif_input h_onvif_1" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
}
]
} ,
2019-03-15 07:32:18 +00:00
{
hidden : true ,
"name" : "detail=onvif_port" ,
"field" : lang [ 'ONVIF Port' ] ,
"description" : ` ONVIF is usually run on port <code>8000</code>. This can be <code>80</code> as well depending on your camera model. ` ,
"default" : "8000" ,
"example" : "" ,
"form-group-class" : "h_onvif_input h_onvif_1" ,
} ,
2020-06-06 22:29:57 +00:00
{
"fieldType" : "btn" ,
"class" : ` btn-success probe_config ` ,
"btnContent" : ` <i class="fa fa-search"></i> ${ lang . FFprobe } ` ,
} ,
2020-12-05 22:24:44 +00:00
{
"fieldType" : "btn" ,
"attribute" : ` style="margin-top:1rem" ` ,
"form-group-class-pre-layer" : "h_onvif_input h_onvif_1" ,
"class" : ` btn-warning am_notice_edit open-onvif-device-manager ` ,
"btnContent" : ` <i class="fa fa-gears"></i> ${ lang [ 'ONVIF Device Manager' ] } ` ,
} ,
2019-03-15 07:32:18 +00:00
]
} ,
"Input" : {
2019-08-09 06:58:01 +00:00
"name" : lang . Input ,
2019-03-15 07:32:18 +00:00
"color" : "forestgreen" ,
"id" : "monSectionInput" ,
"isSection" : true ,
"info" : [
{
hidden : true ,
"name" : "detail=primary_input" ,
"field" : lang [ 'Primary Input' ] ,
"description" : "" ,
"default" : "0:0" ,
"example" : "" ,
"fieldType" : "select" ,
"form-group-class" : "input-mapping" ,
"possible" : [
{
2021-12-04 19:22:10 +00:00
"name" : lang [ 'All streams in first feed' ] + ' (0, ' + lang . Default + ')' ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2021-12-04 19:22:10 +00:00
"name" : lang [ 'First stream in feed' ] + ' (0:0)' ,
2019-03-15 07:32:18 +00:00
"value" : "0:0"
} ,
{
2021-12-04 19:22:10 +00:00
"name" : lang [ 'Second stream in feed' ] + " (0:1)" ,
2019-03-15 07:32:18 +00:00
"value" : "0:1"
} ,
{
2021-12-04 19:22:10 +00:00
"name" : lang [ 'Video streams only' ] + " (0:v)" ,
2019-03-15 07:32:18 +00:00
"value" : "0:v"
} ,
{
2021-12-04 19:22:10 +00:00
"name" : lang [ 'Video stream only from first feed' ] + " (0:v:0)" ,
2019-03-15 07:32:18 +00:00
"value" : "0:v:0"
}
]
} ,
{
"name" : "detail=aduration" ,
"field" : lang [ "Analyzation Duration" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextAduration" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "100000" ,
"possible" : ""
} ,
{
"name" : "detail=probesize" ,
"field" : lang [ "Probe Size" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextProbesize" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "100000" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=stream_loop" ,
"field" : lang [ 'Loop Stream' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamLoop" ] ,
2019-03-15 07:32:18 +00:00
"default" : "1" ,
"example" : "" ,
"form-group-class" : "h_t_input h_t_mp4 h_t_local" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"name" : "detail=sfps" ,
"field" : lang [ 'Monitor Capture Rate' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextSfps" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "25" ,
"possible" : ""
} ,
2020-05-02 20:25:38 +00:00
{
"name" : "detail=wall_clock_timestamp_ignore" ,
"field" : lang [ 'Use Camera Timestamps' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextWallClockTimestampIgnore" ] ,
2020-05-02 20:25:38 +00:00
"default" : "0" ,
"example" : "" ,
"form-group-class" : "h_t_input h_t_h264" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
}
]
} ,
2019-04-03 06:21:19 +00:00
{
hidden : true ,
"name" : "height" ,
"field" : lang [ "Height" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextHeight" ] ,
2019-04-03 06:21:19 +00:00
"default" : "480" ,
"example" : "720, 0 for Auto" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "width" ,
"field" : lang [ "Width" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextWidth" ] ,
2019-04-03 06:21:19 +00:00
"default" : "640" ,
"example" : "1280, 0 for Auto" ,
"possible" : ""
} ,
2019-03-15 07:32:18 +00:00
{
"name" : "detail=accelerator" ,
"field" : lang . Accelerator ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextAccelerator" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"selector" : "h_gpud" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"name" : "detail=hwaccel" ,
"field" : lang . hwaccel ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextHwaccel" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"form-group-class" : "h_gpud_input h_gpud_1" ,
"fieldType" : "select" ,
"possible" : s . listOfHwAccels
} ,
{
"name" : "detail=hwaccel_vcodec" ,
"field" : lang . hwaccel _vcodec ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextHwaccelVcodec" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"form-group-class" : "h_gpud_input h_gpud_1" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . Auto + '(' + lang . Recommended + ')' ,
"value" : ""
} ,
{
"name" : lang . NVIDIA ,
"optgroup" : [
{
"name" : lang . h264 _cuvid ,
"value" : "h264_cuvid"
} ,
{
"name" : lang . hevc _cuvid ,
"value" : "hevc_cuvid"
} ,
{
"name" : lang . mjpeg _cuvid ,
"value" : "mjpeg_cuvid"
} ,
{
"name" : lang . mpeg4 _cuvid ,
"value" : "mpeg4_cuvid"
} ,
]
} ,
{
"name" : lang [ "Quick Sync Video" ] ,
"optgroup" : [
{
"name" : lang . h264 _qsv ,
"value" : "h264_qsv"
} ,
{
"name" : lang . hevc _qsv ,
"value" : "hevc_qsv"
} ,
{
"name" : lang . mpeg2 _qsv ,
"value" : "mpeg2_qsv"
} ,
]
} ,
{
"name" : lang [ 'Raspberry Pi' ] ,
"optgroup" : [
{
"name" : lang . h264 _mmal ,
"value" : "h264_mmal"
} ,
{
"name" : lang . mpeg2 _mmal ,
"value" : "mpeg2_mmal"
} ,
{
"name" : lang [ "MPEG-4 (Raspberry Pi)" ] ,
"value" : "mpeg4_mmal"
}
]
} ,
]
} ,
{
"name" : "detail=hwaccel_device" ,
"field" : lang . hwaccel _device ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "h_gpud_input h_gpud_1" ,
"possible" : ""
} ,
]
} ,
2021-06-13 02:36:05 +00:00
"Input Maps" : {
"name" : lang [ "Additional Inputs" ] ,
"color" : "orange" ,
"id" : "monSectionInputMaps" ,
"section-class" : "pb-0" ,
"emptyDiv" : true
} ,
2019-03-15 07:32:18 +00:00
"Stream" : {
2019-08-09 06:58:01 +00:00
"name" : lang . Stream ,
2019-09-23 22:58:33 +00:00
2019-03-15 07:32:18 +00:00
"color" : "navy" ,
"id" : "monSectionStream" ,
"isSection" : true ,
"input-mapping" : "stream" ,
"blockquoteClass" : "global_tip" ,
"blockquote" : lang . StreamText ,
"info" : [
{
"name" : "detail=stream_type" ,
"field" : lang [ "Stream Type" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamType" ] ,
2019-03-15 07:32:18 +00:00
"default" : "mp4" ,
"example" : "" ,
"selector" : "h_st" ,
"fieldType" : "select" ,
"attribute" : ` triggerChange="#add_monitor [detail=stream_vcodec]" triggerChangeIgnore="b64,mjpeg,jpeg,gif" ` ,
"possible" : [
{
"name" : lang . Poseidon ,
"value" : "mp4" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextStreamTypePoseidon" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : lang [ 'Base64 over Websocket' ] ,
"value" : "b64" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextStreamTypeBase64OverWebsocket" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : lang [ 'JPEG (Auto Enables JPEG API)' ] ,
"value" : "jpeg"
} ,
{
"name" : lang [ 'MJPEG' ] ,
"value" : "mjpeg" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextStreamTypeMJPEG" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : lang [ 'FLV' ] ,
"value" : "flv" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextStreamTypeFLV" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : lang [ 'HLS (includes Audio)' ] ,
"value" : "hls" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextStreamTypeHLS(includesAudio)" ]
2021-12-06 23:45:25 +00:00
} ,
{
"name" : lang . useSubStreamOnlyWhenWatching ,
"value" : "useSubstream" ,
2019-03-15 07:32:18 +00:00
}
]
} ,
{
hidden : true ,
"name" : "detail=stream_flv_type" ,
"field" : lang [ "Connection Type" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamFlvType" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_input h_st_flv h_st_mp4" ,
2019-03-15 07:32:18 +00:00
"possible" : [
{
"name" : lang . HTTP ,
"value" : "http" ,
} ,
{
"name" : lang . Websocket ,
"value" : "ws" ,
}
]
} ,
{
hidden : true ,
"name" : "detail=stream_flv_maxLatency" ,
"field" : lang [ "Max Latency" ] ,
"description" : "" ,
"default" : "10" ,
"example" : "20000" ,
"form-group-class" : "h_st_lat_input h_st_lat_ws" ,
"form-group-class-pre-layer" : "h_st_input h_st_mjpeg" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=stream_mjpeg_clients" ,
"field" : lang [ "# of Allow MJPEG Clients" ] ,
"description" : "" ,
"default" : "20" ,
"example" : "" ,
"form-group-class" : "h_st_input h_st_mjpeg" ,
"possible" : ""
} ,
{
"name" : "detail=stream_vcodec" ,
"field" : lang [ 'Video Codec' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamVcodec" ] ,
2019-03-15 07:32:18 +00:00
"default" : "copy" ,
"example" : "" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_input h_st_hls h_st_flv h_st_mp4" ,
2019-03-15 07:32:18 +00:00
"fieldType" : "select" ,
"selector" : "h_hls_v" ,
"possible" : [
{
"name" : lang . Auto ,
"value" : "no" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextStreamVcodecAuto" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : "libx264" ,
"value" : "libx264" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextStreamVcodecLibx264" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : "libx265" ,
"value" : "libx265" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextStreamVcodecLibx265" ]
2019-03-15 07:32:18 +00:00
} ,
{
2019-08-19 07:38:08 +00:00
"name" : lang . copy ,
2019-03-15 07:32:18 +00:00
"value" : "copy" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextStreamVcodecCopy" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : lang [ 'Hardware Accelerated' ] ,
"optgroup" : [
{
"name" : "H.264 VA-API (Intel HW Accel)" ,
"value" : "h264_vaapi"
} ,
{
"name" : "H.265 VA-API (Intel HW Accel)" ,
"value" : "hevc_vaapi"
} ,
{
"name" : "H.264 NVENC (NVIDIA HW Accel)" ,
"value" : "h264_nvenc"
} ,
{
"name" : "H.265 NVENC (NVIDIA HW Accel)" ,
"value" : "hevc_nvenc"
} ,
{
"name" : "H.264 (Quick Sync Video)" ,
"value" : "h264_qsv"
} ,
{
"name" : "H.265 (Quick Sync Video)" ,
"value" : "hevc_qsv"
} ,
{
"name" : "MPEG2 (Quick Sync Video)" ,
"value" : "mpeg2_qsv"
} ,
{
"name" : "H.264 (Quick Sync Video)" ,
"value" : "h264_qsv"
} ,
{
"name" : "H.265 (Quick Sync Video)" ,
"value" : "hevc_qsv"
} ,
{
"name" : "MPEG2 (Quick Sync Video)" ,
"value" : "mpeg2_qsv"
} ,
{
"name" : "H.264 openMAX (Raspberry Pi)" ,
"value" : "h264_omx"
}
]
} ,
]
} ,
{
"name" : "detail=stream_acodec" ,
"field" : lang [ "Audio Codec" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamAcodec" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_input h_st_hls h_st_flv h_st_mp4" ,
2019-03-15 07:32:18 +00:00
"possible" : [
{
"name" : lang . Auto ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextStreamAcodecAuto" ] ,
2019-03-15 07:32:18 +00:00
"value" : ""
} ,
{
"name" : lang [ "No Audio" ] ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextStreamAcodecNoAudio" ] ,
2019-03-15 07:32:18 +00:00
"value" : "no"
} ,
{
"name" : "libvorbis" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextStreamAcodecLibvorbis" ] ,
2019-03-15 07:32:18 +00:00
"value" : "libvorbis"
} ,
{
"name" : "libopus" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextStreamAcodecLibopus" ] ,
2019-03-15 07:32:18 +00:00
"value" : "libopus"
} ,
{
"name" : "libmp3lame" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextStreamAcodecLibmp3lame" ] ,
2019-03-15 07:32:18 +00:00
"value" : "libmp3lame"
} ,
{
"name" : "aac" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextStreamAcodecAac" ] ,
2019-03-15 07:32:18 +00:00
"value" : "aac"
} ,
{
"name" : "ac3" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextStreamAcodecAc3" ] ,
2019-03-15 07:32:18 +00:00
"value" : "ac3"
} ,
{
"name" : "copy" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextStreamAcodecCopy" ] ,
2019-03-15 07:32:18 +00:00
"value" : "copy"
}
]
} ,
{
"name" : "detail=hls_time" ,
"field" : "HLS Segment Length" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextHlsTime" ] ,
2019-03-15 07:32:18 +00:00
"default" : "2" ,
"example" : "" ,
"form-group-class" : "h_st_input h_st_hls" ,
"possible" : ""
} ,
{
"name" : "detail=hls_list_size" ,
"field" : "HLS List Size" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextHlsListSize" ] ,
2019-03-15 07:32:18 +00:00
"default" : "2" ,
"example" : "" ,
"form-group-class" : "h_st_input h_st_hls" ,
"possible" : ""
} ,
{
"name" : "detail=preset_stream" ,
"field" : "HLS Preset" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextPresetStream" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "ultrafast" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_input h_st_hls h_st_flv h_st_mp4" ,
2019-03-15 07:32:18 +00:00
"possible" : ""
} ,
{
"name" : "detail=stream_quality" ,
"field" : lang . Quality ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamQuality" ] ,
2019-03-15 07:32:18 +00:00
"default" : "15" ,
"example" : "1" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_input h_st_mjpeg h_st_b64 h_st_hls h_st_gif h_st_flv h_st_mp4 h_hls_v_input h_hls_v_libx264 h_hls_v_libx265 h_hls_v_h264_nvenc h_hls_v_hevc_nvenc h_hls_v_no" ,
2019-03-15 07:32:18 +00:00
"possible" : "1-23"
} ,
{
"name" : "detail=stream_fps" ,
"field" : lang [ 'Frame Rate' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamFps" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "1" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_input h_st_mjpeg h_st_b64 h_st_hls h_st_gif h_st_flv h_st_mp4 h_hls_v_input h_hls_v_libx264 h_hls_v_libx265 h_hls_v_h264_nvenc h_hls_v_hevc_nvenc h_hls_v_no" ,
2019-03-15 07:32:18 +00:00
"possible" : ""
} ,
{
"name" : "detail=stream_scale_x" ,
"field" : lang . Width ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamScaleX" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"fieldType" : "number" ,
"numberMin" : "1" ,
"example" : "640" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_input h_st_mjpeg h_st_b64 h_st_hls h_st_gif h_st_flv h_st_mp4 h_hls_v_input h_hls_v_libx264 h_hls_v_libx265 h_hls_v_h264_nvenc h_hls_v_hevc_nvenc h_hls_v_no" ,
2019-03-15 07:32:18 +00:00
"possible" : ""
} ,
{
"name" : "detail=stream_scale_y" ,
"field" : lang . Height ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamScaleY" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"fieldType" : "number" ,
"numberMin" : "1" ,
"example" : "480" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_input h_st_mjpeg h_st_b64 h_st_hls h_st_gif h_st_flv h_st_mp4 h_hls_v_input h_hls_v_libx264 h_hls_v_libx265 h_hls_v_h264_nvenc h_hls_v_hevc_nvenc h_hls_v_no" ,
2019-03-15 07:32:18 +00:00
"possible" : ""
} ,
{
2020-11-03 05:28:45 +00:00
"name" : "detail=stream_rotate" ,
2019-03-15 07:32:18 +00:00
"field" : lang [ "Rotate" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamRotate" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"fieldType" : "select" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_input h_st_mjpeg h_st_b64 h_st_hls h_st_gif h_st_flv h_st_mp4 h_hls_v_input h_hls_v_libx264 h_hls_v_libx265 h_hls_v_h264_nvenc h_hls_v_hevc_nvenc h_hls_v_no" ,
2019-03-15 07:32:18 +00:00
"possible" : [
{
"name" : lang [ "No Rotation" ] ,
"value" : "no"
} ,
{
"name" : lang [ "180 Degrees" ] ,
"value" : "2,transpose=2"
} ,
{
"name" : lang [ "90 Counter Clockwise and Vertical Flip (default)" ] ,
"value" : "0"
} ,
{
"name" : lang [ "90 Clockwise" ] ,
"value" : "1"
} ,
{
"name" : lang [ "90 Clockwise and Vertical Flip" ] ,
"value" : "2"
} ,
{
"name" : lang [ "90 Clockwise and Vertical Flip" ] ,
"value" : "3"
}
]
} ,
2019-10-04 16:53:54 +00:00
{
"name" : "detail=signal_check" ,
"field" : lang [ "Check Signal Interval" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextSignalCheck" ] ,
2019-10-04 16:53:54 +00:00
"default" : "0" ,
"example" : "" ,
"possible" : ""
} ,
{
"name" : "detail=signal_check_log" ,
"field" : lang [ "Log Signal Event" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextSignalCheckLog" ] ,
2019-10-04 16:53:54 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0" ,
} ,
{
"name" : lang . Yes ,
"value" : "1" ,
}
]
} ,
2019-03-15 07:32:18 +00:00
{
2020-11-03 05:28:45 +00:00
"name" : "detail=stream_vf" ,
2019-03-15 07:32:18 +00:00
"field" : lang [ "Video Filter" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamVf" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_input h_st_mjpeg h_st_b64 h_st_hls h_st_gif h_st_flv h_st_mp4 h_hls_v_input h_hls_v_libx264 h_hls_v_libx265 h_hls_v_h264_nvenc h_hls_v_hevc_nvenc h_hls_v_no" ,
2019-03-15 07:32:18 +00:00
"possible" : ""
2021-06-13 02:36:05 +00:00
} ,
2019-03-15 07:32:18 +00:00
{
"name" : "detail=tv_channel" ,
"field" : lang [ "TV Channel" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextTvChannel" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"selector" : "h_tvc" ,
"fieldType" : "select" ,
"example" : "" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0" ,
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1" ,
}
]
} ,
{
"name" : "detail=tv_channel_id" ,
"field" : lang [ "TV Channel ID" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextTvChannelId" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"form-group-class" : "h_tvc_input h_tvc_1" ,
"possible" : ""
} ,
{
"name" : "detail=tv_channel_group_title" ,
"field" : lang [ "TV Channel Group" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextTvChannelGroupTitle" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"form-group-class" : "h_tvc_input h_tvc_1" ,
"possible" : ""
} ,
]
} ,
"Stream Timestamp" : {
"id" : "monSectionStreamTimestamp" ,
"name" : lang [ "Stream Timestamp" ] ,
"color" : "blue" ,
isAdvanced : true ,
"section-class" : "h_hls_v_input h_hls_v_libx264 h_hls_v_libx265 h_hls_v_h264_nvenc h_hls_v_hevc_nvenc h_hls_v_no" ,
"isSection" : true ,
"info" : [
{
"name" : "detail=stream_timestamp" ,
"selector" : "h_stm" ,
"field" : lang . Enabled ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamTimestamp" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
hidden : true ,
"name" : "detail=stream_timestamp_font" ,
"field" : "Font Path" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamTimestampFont" ] ,
2019-03-15 07:32:18 +00:00
"default" : "/usr/share/fonts/truetype/freefont/FreeSans.ttf" ,
"example" : "" ,
"form-group-class" : "h_stm_input h_stm_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=stream_timestamp_font_size" ,
"field" : "Font Size" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamTimestampFontSize" ] ,
2019-03-15 07:32:18 +00:00
"default" : "10" ,
"example" : "" ,
"form-group-class" : "h_stm_input h_stm_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=stream_timestamp_color" ,
"field" : "Text Color" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamTimestampColor" ] ,
2019-03-15 07:32:18 +00:00
"default" : "white" ,
"example" : "" ,
"form-group-class" : "h_stm_input h_stm_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=stream_timestamp_box_color" ,
"field" : "Text Box Color" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamTimestampBoxColor" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0x00000000@1" ,
"example" : "" ,
"form-group-class" : "h_stm_input h_stm_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=stream_timestamp_x" ,
"field" : "Position X" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamTimestampX" ] ,
2019-03-15 07:32:18 +00:00
"default" : "(w-tw)/2" ,
"example" : "" ,
"form-group-class" : "h_stm_input h_stm_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=stream_timestamp_y" ,
"field" : "Position Y" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamTimestampY" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"form-group-class" : "h_stm_input h_stm_1" ,
"possible" : ""
}
]
} ,
"Stream Watermark" : {
"id" : "monSectionStreamWatermark" ,
"name" : lang [ 'Stream Watermark' ] ,
"color" : "blue" ,
isAdvanced : true ,
"section-class" : "h_hls_v_input h_hls_v_libx264 h_hls_v_libx265 h_hls_v_h264_nvenc h_hls_v_hevc_nvenc h_hls_v_no" ,
"isSection" : true ,
"info" : [
{
"name" : "detail=stream_watermark" ,
"field" : lang . Enabled ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamWatermark" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"selector" : "h_wat" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
hidden : true ,
"name" : "detail=stream_watermark_location" ,
"field" : lang [ 'Image Location' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamWatermarkLocation" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "/usr/share/watermark.logo" ,
"form-group-class" : "h_wat_input h_wat_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=stream_watermark_position" ,
"field" : lang [ 'Image Position' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextStreamWatermarkPosition" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"form-group-class" : "h_wat_input h_wat_1" ,
"possible" : [
{
"name" : lang [ "Top Right" ] ,
"value" : "tr"
} ,
{
"name" : lang [ "Top Left" ] ,
"value" : "tl"
} ,
{
"name" : lang [ "Bottom Right" ] ,
"value" : "br"
} ,
{
"name" : lang [ "Bottom Left" ] ,
"value" : "bl"
}
]
} ,
]
} ,
"Stream Channels" : {
"name" : "Stream Channels" ,
"color" : "blue" ,
"id" : "monSectionStreamChannels" ,
2021-06-13 02:36:05 +00:00
"section-class" : "pb-0" ,
2019-03-15 07:32:18 +00:00
"emptyDiv" : true
} ,
2021-09-24 07:06:48 +00:00
"Substream" : {
"name" : lang [ 'Substream' ] ,
"color" : "blue" ,
isAdvanced : true ,
"isSection" : true ,
"id" : "monSectionSubstream" ,
2021-12-06 23:45:25 +00:00
"blockquote" : lang . substreamText ,
"blockquoteClass" : 'global_tip' ,
2021-09-24 07:06:48 +00:00
"info" : [
{
"name" : lang [ 'Connection' ] ,
"color" : "orange" ,
id : "monSectionSubstreamInput" ,
2021-12-06 23:45:25 +00:00
"blockquote" : lang . substreamConnectionText ,
"blockquoteClass" : 'global_tip' ,
2021-09-24 07:06:48 +00:00
isSection : true ,
isFormGroupGroup : true ,
"info" : [
{
2021-12-04 16:42:34 +00:00
name : 'detail-substream-input=type' ,
2021-09-24 07:06:48 +00:00
field : lang [ 'Input Type' ] ,
default : 'h264' ,
attribute : 'selector="h_i_SUBSTREAM_FIELDS"' ,
"fieldType" : "select" ,
type : 'selector' ,
possible : [
{
"name" : "H.264 / H.265 / H.265+" ,
2021-12-05 05:59:26 +00:00
"value" : "h264" ,
selected : true ,
2021-09-24 07:06:48 +00:00
} ,
{
"name" : "JPEG" ,
"value" : "jpeg"
} ,
{
"name" : "MJPEG" ,
"value" : "mjpeg"
} ,
{
"name" : "HLS (.m3u8)" ,
"value" : "hls"
} ,
{
"name" : "MPEG-4 (.mp4 / .ts)" ,
"value" : "mp4"
} ,
{
"name" : "Local" ,
"value" : "local"
} ,
{
"name" : "Raw" ,
"value" : "raw"
}
]
} ,
2022-02-21 03:44:03 +00:00
{
name : 'detail-substream-input=stream_flv_type' ,
field : lang [ 'Loop Stream' ] ,
class : 'h_i_SUBSTREAM_FIELDS_input h_i_SUBSTREAM_FIELDS_mp4' ,
hidden : true ,
default : '0' ,
"fieldType" : "select" ,
type : 'selector' ,
possible : [
{
"name" : lang . HTTP ,
"value" : "http" ,
} ,
{
"name" : lang . Websocket ,
"value" : "ws" ,
}
]
} ,
2021-09-24 07:06:48 +00:00
{
name : 'detail-substream-input=fulladdress' ,
field : lang [ 'Full URL Path' ] ,
placeholder : 'Example : rtsp://admin:password@123.123.123.123/stream/1' ,
type : 'text' ,
} ,
{
name : 'detail-substream-input=sfps' ,
field : lang [ 'Monitor Capture Rate' ] ,
placeholder : '' ,
type : 'text' ,
} ,
{
name : 'detail-substream-input=aduration' ,
field : lang [ 'Analyzation Duration' ] ,
placeholder : 'Example : 1000000' ,
type : 'text' ,
} ,
{
name : 'detail-substream-input=probesize' ,
field : lang [ 'Probe Size' ] ,
placeholder : 'Example : 1000000' ,
type : 'text' ,
} ,
{
name : 'detail-substream-input=stream_loop' ,
field : lang [ 'Loop Stream' ] ,
class : 'h_i_SUBSTREAM_FIELDS_input h_i_SUBSTREAM_FIELDS_mp4 h_i_SUBSTREAM_FIELDS_raw' ,
hidden : true ,
default : '0' ,
"fieldType" : "select" ,
type : 'selector' ,
possible : [
{
"name" : lang . No ,
"value" : "0" ,
} ,
{
"name" : lang . Yes ,
"value" : "1" ,
2021-12-05 05:59:26 +00:00
selected : true ,
2021-09-24 07:06:48 +00:00
}
]
} ,
{
name : 'detail-substream-input=rtsp_transport' ,
field : lang [ 'RTSP Transport' ] ,
class : 'h_i_SUBSTREAM_FIELDS_input h_i_SUBSTREAM_FIELDS_h264' ,
default : '' ,
"fieldType" : "select" ,
type : 'selector' ,
possible : [
{
"name" : lang . Auto ,
"value" : "" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextDetailSubstreamInputRtspTransportAuto" ] ,
2021-12-05 05:59:26 +00:00
selected : true ,
2021-09-24 07:06:48 +00:00
} ,
{
"name" : "TCP" ,
"value" : "tcp" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextDetailSubstreamInputRtspTransportTCP" ]
2021-09-24 07:06:48 +00:00
} ,
{
"name" : "UDP" ,
"value" : "udp" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextDetailSubstreamInputRtspTransportUDP" ]
2021-09-24 07:06:48 +00:00
}
]
} ,
{
name : 'detail-substream-input=accelerator' ,
field : lang [ 'Accelerator' ] ,
attribute : 'selector="h_accel_SUBSTREAM_FIELDS"' ,
default : '0' ,
"fieldType" : "select" ,
type : 'selector' ,
possible : [
{
"name" : lang . No ,
"value" : "0" ,
2021-12-05 05:59:26 +00:00
selected : true ,
2021-09-24 07:06:48 +00:00
} ,
{
"name" : lang . Yes ,
"value" : "1" ,
}
]
} ,
{
name : 'detail-substream-input=hwaccel' ,
field : lang [ 'hwaccel' ] ,
class : 'h_accel_SUBSTREAM_FIELDS_input h_accel_SUBSTREAM_FIELDS_1' ,
hidden : true ,
default : '' ,
"fieldType" : "select" ,
type : 'selector' ,
possible : s . listOfHwAccels
} ,
{
name : 'detail-substream-input=hwaccel_vcodec' ,
field : lang [ 'hwaccel_vcodec' ] ,
class : 'h_accel_SUBSTREAM_FIELDS_input h_accel_SUBSTREAM_FIELDS_1' ,
hidden : true ,
default : 'auto' ,
"fieldType" : "select" ,
type : 'selector' ,
possible : [
{
"name" : lang . Auto + '(' + lang . Recommended + ')' ,
2021-12-05 05:59:26 +00:00
"value" : "" ,
selected : true ,
2021-09-24 07:06:48 +00:00
} ,
{
"name" : lang . NVIDIA ,
"optgroup" : [
{
"name" : lang . h264 _cuvid ,
"value" : "h264_cuvid"
} ,
{
"name" : lang . hevc _cuvid ,
"value" : "hevc_cuvid"
} ,
{
"name" : lang . mjpeg _cuvid ,
"value" : "mjpeg_cuvid"
} ,
{
"name" : lang . mpeg4 _cuvid ,
"value" : "mpeg4_cuvid"
} ,
]
} ,
{
"name" : lang [ "Quick Sync Video" ] ,
"optgroup" : [
{
"name" : lang . h264 _qsv ,
"value" : "h264_qsv"
} ,
{
"name" : lang . hevc _qsv ,
"value" : "hevc_qsv"
} ,
{
"name" : lang . mpeg2 _qsv ,
"value" : "mpeg2_qsv"
} ,
]
} ,
{
"name" : lang [ 'Raspberry Pi' ] ,
"optgroup" : [
{
"name" : lang . h264 _mmal ,
"value" : "h264_mmal"
} ,
{
"name" : lang . mpeg2 _mmal ,
"value" : "mpeg2_mmal"
} ,
{
"name" : lang [ "MPEG-4 (Raspberry Pi)" ] ,
"value" : "mpeg4_mmal"
}
]
} ,
]
} ,
{
name : 'detail-substream-input=hwaccel_device' ,
field : lang [ 'hwaccel_device' ] ,
class : 'h_accel_SUBSTREAM_FIELDS_input h_accel_SUBSTREAM_FIELDS_1' ,
hidden : true ,
placeholder : 'Example : /dev/dri/video0' ,
type : 'text' ,
} ,
{
name : 'detail-substream-input=cust_input' ,
field : lang [ 'Input Flags' ] ,
type : 'text' ,
} ,
]
} ,
{
"name" : lang [ 'Output' ] ,
"color" : "blue" ,
id : "monSectionSubstreamOutput" ,
2021-12-06 23:45:25 +00:00
"blockquote" : lang . substreamOutputText ,
"blockquoteClass" : 'global_tip' ,
2021-09-24 07:06:48 +00:00
isSection : true ,
isFormGroupGroup : true ,
"info" : [
{
"field" : lang [ "Stream Type" ] ,
"name" : ` detail-substream-output="stream_type" ` ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetailSubstreamOutputStreamType" ] ,
2021-09-24 07:06:48 +00:00
"default" : "hls" ,
"selector" : "h_st_channel_SUBSTREAM_FIELDS" ,
"fieldType" : "select" ,
"attribute" : ` triggerChange="#monSectionChannelSUBSTREAM_FIELDS [detail-substream-output=stream_vcodec]" triggerChangeIgnore="b64,mjpeg" ` ,
"possible" : [
{
"name" : lang . Poseidon ,
"value" : "mp4" ,
} ,
{
"name" : lang [ 'MJPEG' ] ,
"value" : "mjpeg" ,
} ,
{
"name" : lang [ 'FLV' ] ,
"value" : "flv" ,
} ,
{
"name" : lang [ 'HLS (includes Audio)' ] ,
"value" : "hls" ,
2021-12-05 05:59:26 +00:00
selected : true ,
2021-09-24 07:06:48 +00:00
}
]
} ,
{
"field" : lang [ '# of Allow MJPEG Clients' ] ,
"name" : ` detail-substream-output="stream_mjpeg_clients" ` ,
"form-group-class" : "h_st_channel_SUBSTREAM_FIELDS_input h_st_channel_SUBSTREAM_FIELDS_mjpeg" ,
"placeholder" : "20" ,
} ,
{
"field" : lang [ 'Video Codec' ] ,
"name" : ` detail-substream-output="stream_vcodec" ` ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetailSubstreamOutputStreamVcodec" ] ,
2021-09-24 07:06:48 +00:00
"default" : "copy" ,
2021-12-06 23:45:25 +00:00
"form-group-class" : "h_st_channel_SUBSTREAM_FIELDS_input h_st_channel_SUBSTREAM_FIELDS_hls h_st_channel_SUBSTREAM_FIELDS_rtmp h_st_channel_SUBSTREAM_FIELDS_flv h_st_channel_SUBSTREAM_FIELDS_mp4 h_st_channel_SUBSTREAM_FIELDS_h264" ,
2021-09-24 07:06:48 +00:00
"fieldType" : "select" ,
"selector" : "h_hls_v_channel_SUBSTREAM_FIELDS" ,
"possible" : [
{
"name" : lang . Auto ,
"value" : "no" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextDetailSubstreamOutputStreamVcodecAuto" ] ,
2021-12-04 19:10:35 +00:00
selected : true ,
2021-09-24 07:06:48 +00:00
} ,
{
"name" : "libx264" ,
"value" : "libx264" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextDetailSubstreamOutputStreamVcodecLibx264" ]
2021-09-24 07:06:48 +00:00
} ,
{
"name" : "libx265" ,
"value" : "libx265" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextDetailSubstreamOutputStreamVcodecLibx265" ]
2021-09-24 07:06:48 +00:00
} ,
{
"name" : lang . copy ,
"value" : "copy" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextDetailSubstreamOutputStreamVcodecCopy" ]
2021-09-24 07:06:48 +00:00
} ,
{
"name" : lang [ 'Hardware Accelerated' ] ,
"optgroup" : [
{
"name" : "H.264 VA-API (Intel HW Accel)" ,
"value" : "h264_vaapi"
} ,
{
"name" : "H.265 VA-API (Intel HW Accel)" ,
"value" : "hevc_vaapi"
} ,
{
"name" : "H.264 NVENC (NVIDIA HW Accel)" ,
"value" : "h264_nvenc"
} ,
{
"name" : "H.265 NVENC (NVIDIA HW Accel)" ,
"value" : "hevc_nvenc"
} ,
{
"name" : "H.264 (Quick Sync Video)" ,
"value" : "h264_qsv"
} ,
{
"name" : "H.265 (Quick Sync Video)" ,
"value" : "hevc_qsv"
} ,
{
"name" : "MPEG2 (Quick Sync Video)" ,
"value" : "mpeg2_qsv"
} ,
{
"name" : "H.264 (Quick Sync Video)" ,
"value" : "h264_qsv"
} ,
{
"name" : "H.265 (Quick Sync Video)" ,
"value" : "hevc_qsv"
} ,
{
"name" : "MPEG2 (Quick Sync Video)" ,
"value" : "mpeg2_qsv"
} ,
{
"name" : "H.264 openMAX (Raspberry Pi)" ,
"value" : "h264_omx"
}
]
} ,
]
} ,
{
"field" : lang [ "Audio Codec" ] ,
"name" : ` detail-substream-output="stream_acodec" ` ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetailSubstreamOutputStreamAcodec" ] ,
2021-09-24 07:06:48 +00:00
"default" : "" ,
"example" : "" ,
"fieldType" : "select" ,
2021-12-06 23:45:25 +00:00
"form-group-class" : "h_st_channel_SUBSTREAM_FIELDS_input h_st_channel_SUBSTREAM_FIELDS_hls h_st_channel_SUBSTREAM_FIELDS_rtmp h_st_channel_SUBSTREAM_FIELDS_flv h_st_channel_SUBSTREAM_FIELDS_mp4 h_st_channel_SUBSTREAM_FIELDS_h264" ,
2021-09-24 07:06:48 +00:00
"possible" : [
{
"name" : lang . Auto ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextDetailSubstreamOutputStreamAcodecAuto" ] ,
2021-12-04 19:10:35 +00:00
"value" : "" ,
selected : true ,
2021-09-24 07:06:48 +00:00
} ,
{
"name" : lang [ "No Audio" ] ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextDetailSubstreamOutputStreamAcodecNoAudio" ] ,
2021-09-24 07:06:48 +00:00
"value" : "no"
} ,
{
"name" : "libvorbis" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextDetailSubstreamOutputStreamAcodecLibvorbis" ] ,
2021-09-24 07:06:48 +00:00
"value" : "libvorbis"
} ,
{
"name" : "libopus" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextDetailSubstreamOutputStreamAcodecLibopus" ] ,
2021-09-24 07:06:48 +00:00
"value" : "libopus"
} ,
{
"name" : "libmp3lame" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextDetailSubstreamOutputStreamAcodecLibmp3lame" ] ,
2021-09-24 07:06:48 +00:00
"value" : "libmp3lame"
} ,
{
"name" : "aac" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextDetailSubstreamOutputStreamAcodecAac" ] ,
2021-09-24 07:06:48 +00:00
"value" : "aac"
} ,
{
"name" : "ac3" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextDetailSubstreamOutputStreamAcodecAc3" ] ,
2021-09-24 07:06:48 +00:00
"value" : "ac3"
} ,
{
"name" : "copy" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextDetailSubstreamOutputStreamAcodecCopy" ] ,
2021-09-24 07:06:48 +00:00
"value" : "copy"
}
]
} ,
{
"name" : "detail-substream-output=hls_time" ,
"field" : lang [ "HLS Segment Length" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetailSubstreamOutputHlsTime" ] ,
2021-09-24 07:06:48 +00:00
"default" : "2" ,
"form-group-class" : "h_st_channel_SUBSTREAM_FIELDS_input h_st_channel_SUBSTREAM_FIELDS_hls" ,
} ,
{
"name" : "detail-substream-output=hls_list_size" ,
"field" : lang [ "HLS List Size" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetailSubstreamOutputHlsListSize" ] ,
2021-09-24 07:06:48 +00:00
"default" : "2" ,
"form-group-class" : "h_st_channel_SUBSTREAM_FIELDS_input h_st_channel_SUBSTREAM_FIELDS_hls" ,
} ,
{
"name" : "detail-substream-output=preset_stream" ,
"field" : lang [ "HLS Preset" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetailSubstreamOutputPresetStream" ] ,
2021-09-24 07:06:48 +00:00
"example" : "ultrafast" ,
"form-group-class" : "h_st_channel_SUBSTREAM_FIELDS_input h_st_channel_SUBSTREAM_FIELDS_hls" ,
} ,
{
"name" : "detail-substream-output=stream_quality" ,
"field" : lang . Quality ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetailSubstreamOutputStreamQuality" ] ,
2021-09-24 07:06:48 +00:00
"default" : "15" ,
"example" : "1" ,
2021-12-06 23:45:25 +00:00
// "form-group-class-pre-layer": "h_hls_v_channel_SUBSTREAM_FIELDS_input h_hls_v_channel_SUBSTREAM_FIELDS_libx264 h_hls_v_channel_SUBSTREAM_FIELDS_libx265 h_hls_v_channel_SUBSTREAM_FIELDS_h264_nvenc h_hls_v_channel_SUBSTREAM_FIELDS_hevc_nvenc h_hls_v_channel_SUBSTREAM_FIELDS_no",
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_channel_SUBSTREAM_FIELDS_input h_st_channel_SUBSTREAM_FIELDS_mjpeg h_st_channel_SUBSTREAM_FIELDS_hls h_st_channel_SUBSTREAM_FIELDS_rtmp h_st_channel_SUBSTREAM_FIELDS_jsmpeg h_st_channel_SUBSTREAM_FIELDS_flv h_st_channel_SUBSTREAM_FIELDS_mp4 h_st_channel_SUBSTREAM_FIELDS_h264" ,
2021-09-24 07:06:48 +00:00
"possible" : "1-23"
} ,
{
"name" : "detail-substream-output=stream_v_br" ,
"field" : lang [ "Video Bit Rate" ] ,
"placeholder" : "" ,
"form-group-class-pre-layer" : "h_hls_v_channel_SUBSTREAM_FIELDS_input h_hls_v_channel_SUBSTREAM_FIELDS_libx264 h_hls_v_channel_SUBSTREAM_FIELDS_libx265 h_hls_v_channel_SUBSTREAM_FIELDS_h264_nvenc h_hls_v_channel_SUBSTREAM_FIELDS_hevc_nvenc h_hls_v_channel_SUBSTREAM_FIELDS_no" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_channel_SUBSTREAM_FIELDS_input h_st_channel_SUBSTREAM_FIELDS_mjpeg h_st_channel_SUBSTREAM_FIELDS_hls h_st_channel_SUBSTREAM_FIELDS_rtmp h_st_channel_SUBSTREAM_FIELDS_jsmpeg h_st_channel_SUBSTREAM_FIELDS_flv h_st_channel_SUBSTREAM_FIELDS_mp4 h_st_channel_SUBSTREAM_FIELDS_h264" ,
2021-09-24 07:06:48 +00:00
} ,
{
"name" : "detail-substream-output=stream_a_br" ,
"field" : lang [ "Audio Bit Rate" ] ,
"placeholder" : "128k" ,
"form-group-class-pre-layer" : "h_hls_v_channel_SUBSTREAM_FIELDS_input h_hls_v_channel_SUBSTREAM_FIELDS_libx264 h_hls_v_channel_SUBSTREAM_FIELDS_libx265 h_hls_v_channel_SUBSTREAM_FIELDS_h264_nvenc h_hls_v_channel_SUBSTREAM_FIELDS_hevc_nvenc h_hls_v_channel_SUBSTREAM_FIELDS_no" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_channel_SUBSTREAM_FIELDS_input h_st_channel_SUBSTREAM_FIELDS_mjpeg h_st_channel_SUBSTREAM_FIELDS_hls h_st_channel_SUBSTREAM_FIELDS_rtmp h_st_channel_SUBSTREAM_FIELDS_jsmpeg h_st_channel_SUBSTREAM_FIELDS_flv h_st_channel_SUBSTREAM_FIELDS_mp4 h_st_channel_SUBSTREAM_FIELDS_h264" ,
2021-09-24 07:06:48 +00:00
} ,
{
"name" : "detail-substream-output=stream_fps" ,
"field" : lang [ 'Frame Rate' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetailSubstreamOutputStreamFps" ] ,
2021-12-06 23:45:25 +00:00
// "form-group-class-pre-layer": "h_hls_v_channel_SUBSTREAM_FIELDS_input h_hls_v_channel_SUBSTREAM_FIELDS_libx264 h_hls_v_channel_SUBSTREAM_FIELDS_libx265 h_hls_v_channel_SUBSTREAM_FIELDS_h264_nvenc h_hls_v_channel_SUBSTREAM_FIELDS_hevc_nvenc h_hls_v_channel_SUBSTREAM_FIELDS_no",
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_channel_SUBSTREAM_FIELDS_input h_st_channel_SUBSTREAM_FIELDS_mjpeg h_st_channel_SUBSTREAM_FIELDS_hls h_st_channel_SUBSTREAM_FIELDS_rtmp h_st_channel_SUBSTREAM_FIELDS_jsmpeg h_st_channel_SUBSTREAM_FIELDS_flv h_st_channel_SUBSTREAM_FIELDS_mp4 h_st_channel_SUBSTREAM_FIELDS_h264" ,
2021-09-24 07:06:48 +00:00
} ,
{
"name" : "detail-substream-output=stream_scale_x" ,
"field" : lang . Width ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetailSubstreamOutputStreamScaleX" ] ,
2021-09-24 07:06:48 +00:00
"fieldType" : "number" ,
"numberMin" : "1" ,
"example" : "640" ,
2021-12-06 23:45:25 +00:00
// "form-group-class-pre-layer": "h_hls_v_channel_SUBSTREAM_FIELDS_input h_hls_v_channel_SUBSTREAM_FIELDS_libx264 h_hls_v_channel_SUBSTREAM_FIELDS_libx265 h_hls_v_channel_SUBSTREAM_FIELDS_h264_nvenc h_hls_v_channel_SUBSTREAM_FIELDS_hevc_nvenc h_hls_v_channel_SUBSTREAM_FIELDS_no",
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_channel_SUBSTREAM_FIELDS_input h_st_channel_SUBSTREAM_FIELDS_mjpeg h_st_channel_SUBSTREAM_FIELDS_hls h_st_channel_SUBSTREAM_FIELDS_rtmp h_st_channel_SUBSTREAM_FIELDS_jsmpeg h_st_channel_SUBSTREAM_FIELDS_flv h_st_channel_SUBSTREAM_FIELDS_mp4 h_st_channel_SUBSTREAM_FIELDS_h264" ,
2021-09-24 07:06:48 +00:00
} ,
{
"name" : "detail-substream-output=stream_scale_y" ,
"field" : lang . Height ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetailSubstreamOutputStreamScaleY" ] ,
2021-09-24 07:06:48 +00:00
"fieldType" : "number" ,
"numberMin" : "1" ,
"example" : "480" ,
2021-12-06 23:45:25 +00:00
// "form-group-class-pre-layer": "h_hls_v_channel_SUBSTREAM_FIELDS_input h_hls_v_channel_SUBSTREAM_FIELDS_libx264 h_hls_v_channel_SUBSTREAM_FIELDS_libx265 h_hls_v_channel_SUBSTREAM_FIELDS_h264_nvenc h_hls_v_channel_SUBSTREAM_FIELDS_hevc_nvenc h_hls_v_channel_SUBSTREAM_FIELDS_no",
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_channel_SUBSTREAM_FIELDS_input h_st_channel_SUBSTREAM_FIELDS_mjpeg h_st_channel_SUBSTREAM_FIELDS_hls h_st_channel_SUBSTREAM_FIELDS_rtmp h_st_channel_SUBSTREAM_FIELDS_jsmpeg h_st_channel_SUBSTREAM_FIELDS_flv h_st_channel_SUBSTREAM_FIELDS_mp4 h_st_channel_SUBSTREAM_FIELDS_h264" ,
2021-09-24 07:06:48 +00:00
} ,
{
"name" : "detail-substream-output=stream_rotate" ,
"field" : lang [ "Rotate" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetailSubstreamOutputStreamRotate" ] ,
2021-09-24 07:06:48 +00:00
"fieldType" : "select" ,
2021-12-06 23:45:25 +00:00
// "form-group-class-pre-layer": "h_hls_v_channel_SUBSTREAM_FIELDS_input h_hls_v_channel_SUBSTREAM_FIELDS_libx264 h_hls_v_channel_SUBSTREAM_FIELDS_libx265 h_hls_v_channel_SUBSTREAM_FIELDS_h264_nvenc h_hls_v_channel_SUBSTREAM_FIELDS_hevc_nvenc h_hls_v_channel_SUBSTREAM_FIELDS_no",
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_channel_SUBSTREAM_FIELDS_input h_st_channel_SUBSTREAM_FIELDS_mjpeg h_st_channel_SUBSTREAM_FIELDS_hls h_st_channel_SUBSTREAM_FIELDS_rtmp h_st_channel_SUBSTREAM_FIELDS_jsmpeg h_st_channel_SUBSTREAM_FIELDS_flv h_st_channel_SUBSTREAM_FIELDS_mp4 h_st_channel_SUBSTREAM_FIELDS_h264" ,
2021-09-24 07:06:48 +00:00
"possible" : [
{
"name" : lang [ "No Rotation" ] ,
"value" : "no"
} ,
{
"name" : lang [ "180 Degrees" ] ,
"value" : "2,transpose=2"
} ,
{
"name" : lang [ "90 Counter Clockwise and Vertical Flip (default)" ] ,
"value" : "0"
} ,
{
"name" : lang [ "90 Clockwise" ] ,
"value" : "1"
} ,
{
"name" : lang [ "90 Clockwise and Vertical Flip" ] ,
"value" : "2"
} ,
{
"name" : lang [ "90 Clockwise and Vertical Flip" ] ,
"value" : "3"
}
]
} ,
{
"name" : "detail-substream-output=svf" ,
"field" : lang [ "Video Filter" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetailSubstreamOutputSvf" ] ,
2021-12-06 23:45:25 +00:00
// "form-group-class-pre-layer": "h_hls_v_channel_SUBSTREAM_FIELDS_input h_hls_v_channel_SUBSTREAM_FIELDS_libx264 h_hls_v_channel_SUBSTREAM_FIELDS_libx265 h_hls_v_channel_SUBSTREAM_FIELDS_h264_nvenc h_hls_v_channel_SUBSTREAM_FIELDS_hevc_nvenc h_hls_v_channel_SUBSTREAM_FIELDS_no",
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_channel_SUBSTREAM_FIELDS_input h_st_channel_SUBSTREAM_FIELDS_mjpeg h_st_channel_SUBSTREAM_FIELDS_hls h_st_channel_SUBSTREAM_FIELDS_rtmp h_st_channel_SUBSTREAM_FIELDS_jsmpeg h_st_channel_SUBSTREAM_FIELDS_flv h_st_channel_SUBSTREAM_FIELDS_mp4 h_st_channel_SUBSTREAM_FIELDS_h264" ,
2021-09-24 07:06:48 +00:00
} ,
{
"name" : "detail-substream-output=cust_stream" ,
"field" : lang [ "Stream Flags" ] ,
} ,
]
} ,
]
} ,
2019-03-15 07:32:18 +00:00
"JPEG API" : {
"name" : lang [ 'JPEG API' ] ,
"headerTitle" : ` ${ lang [ 'JPEG API' ] } <small> ${ lang . Snapshot } (cgi-bin)</small> ` ,
"id" : "monSectionJPEGAPI" ,
"color" : "forestgreen" ,
"isSection" : true ,
"input-mapping" : "snap" ,
"info" : [
{
"name" : "detail=snap" ,
"field" : lang . Enabled ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextSnap" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"selector" : "h_sn" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
hidden : true ,
"name" : "detail=snap_fps" ,
"field" : lang [ 'Frame Rate' ] ,
"description" : "" ,
"default" : "1" ,
"example" : "" ,
"form-group-class" : "h_sn_input h_sn_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=snap_scale_x" ,
"field" : lang [ 'Image Width' ] ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "h_sn_input h_sn_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=snap_scale_y" ,
"field" : lang [ 'Image Height' ] ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "h_sn_input h_sn_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=snap_vf" ,
"field" : lang [ 'Video Filter' ] ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "h_sn_input h_sn_1" ,
"possible" : ""
} ,
]
2019-03-21 21:30:50 +00:00
} ,
2019-03-15 07:32:18 +00:00
"Recording" : {
"id" : "monSectionRecording" ,
"name" : lang . Recording ,
"color" : "red" ,
"isSection" : true ,
"input-mapping" : "record" ,
"blockquote" : lang . RecordingText ,
"blockquoteClass" : 'global_tip' ,
2019-03-21 21:30:50 +00:00
"section-class" : 'h_m_input h_m_record h_m_idle' ,
2019-03-15 07:32:18 +00:00
"info" : [
// {
// "name": "height",
// "field": lang.Height,
2022-03-21 07:27:45 +00:00
// "description": lang["fieldTextRecordScaleY"],
2019-03-15 07:32:18 +00:00
// "default": "640",
// "example": "1280",
// "possible": ""
// },
// {
// "name": "width",
// "field": lang.Width,
2022-03-21 07:27:45 +00:00
// "description": lang["fieldTextRecordScaleX"],
2019-03-15 07:32:18 +00:00
// "default": "480",
// "example": "720",
// "possible": ""
// },
{
"name" : "ext" ,
"field" : lang [ "Record File Type" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextExt" ] ,
2019-03-15 07:32:18 +00:00
"default" : "MP4" ,
"example" : "" ,
"selector" : "h_f" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : "MP4" ,
"value" : "mp4" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextExtMP4" ]
2019-03-15 07:32:18 +00:00
} ,
{
"name" : "WebM" ,
"value" : "webm" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextExtWebM" ]
2019-03-15 07:32:18 +00:00
}
]
} ,
{
"name" : "detail=vcodec" ,
"field" : lang [ "Video Codec" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextVcodec" ] ,
2019-03-15 07:32:18 +00:00
"default" : "copy" ,
"example" : "" ,
"selector" : "h_vc" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . Default ,
"value" : "default"
} ,
{
"name" : lang . Auto ,
"value" : "none"
} ,
{
"name" : "WebM" ,
"optgroup" : [
{
"name" : "libvpx (Default)" ,
"value" : "libvpx"
} ,
{
"name" : "libvpx-vp9" ,
"value" : "libvpx-vp9"
}
]
} ,
{
"name" : "MP4" ,
"optgroup" : [
{
"name" : "libx265" ,
"value" : "libx265"
} ,
{
"name" : "libx264 (Default)" ,
"value" : "libx264"
} ,
{
"name" : "copy" ,
"value" : "copy"
}
]
} ,
{
"name" : "MP4 Hardware Accelerated" ,
"optgroup" : [
{
"name" : "H.264 VA-API (Intel HW Accel)" ,
"value" : "h264_vaapi"
} ,
{
"name" : "H.265 VA-API (Intel HW Accel)" ,
"value" : "hevc_vaapi"
} ,
{
"name" : "H.264 NVENC (NVIDIA HW Accel)" ,
"value" : "h264_nvenc"
} ,
{
"name" : "H.265 NVENC (NVIDIA HW Accel)" ,
"value" : "hevc_nvenc"
} ,
{
"name" : "H.264 (Quick Sync Video)" ,
"value" : "h264_qsv"
} ,
{
"name" : "H.265 (Quick Sync Video)" ,
"value" : "hevc_qsv"
} ,
{
"name" : "MPEG2 (Quick Sync Video)" ,
"value" : "mpeg2_qsv"
} ,
{
"name" : "H.264 openMAX (Raspberry Pi)" ,
"value" : "h264_omx"
}
]
} ,
{
"name" : "WebM Hardware Accelerated" ,
"optgroup" : [
{
"name" : "VP8 NVENC (NVIDIA HW Accel)" ,
"value" : "vp8_cuvid"
} ,
{
"name" : "VP9 NVENC (NVIDIA HW Accel)" ,
"value" : "vp9_cuvid"
} ,
{
"name" : "VP8 (Quick Sync Video)" ,
"value" : "vp8_qsv"
}
]
}
]
} ,
{
2019-06-04 16:39:36 +00:00
"name" : "detail=crf" ,
2019-03-15 07:32:18 +00:00
"field" : lang . Quality ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextCrf" ] ,
2019-03-15 07:32:18 +00:00
"default" : "15" ,
"example" : "1" ,
"form-group-class" : "h_vc_input h_vc_libvpx h_vc_libvpx-vp9 h_vc_libx264 h_vc_libx265 h_vc_hevc_nvenc h_vc_h264_nvenc h_vc_h264_vaapi h_vc_hevc_vaapi h_vc_h264_qsv h_vc_hevc_qsv h_vc_mpeg2_qsv h_vc_default h_vc_none" ,
"possible" : "1-23"
} ,
{
2020-05-26 23:30:24 +00:00
"name" : "detail=preset_record" ,
2019-03-15 07:32:18 +00:00
"field" : lang . Preset ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextPresetRecord" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "ultrafast" ,
"form-group-class" : "h_vc_input h_vc_libvpx h_vc_libvpx-vp9 h_vc_libx264 h_vc_libx265 h_vc_hevc_nvenc h_vc_h264_nvenc h_vc_h264_vaapi h_vc_hevc_vaapi h_vc_h264_qsv h_vc_hevc_qsv h_vc_mpeg2_qsv h_vc_default h_vc_none" ,
"possible" : ""
} ,
{
"name" : "detail=acodec" ,
"field" : lang [ 'Audio Codec' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextAcodec" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . Default ,
"value" : "default"
} ,
{
"name" : lang . Auto ,
"value" : "none"
} ,
{
"name" : lang [ "No Audio" ] ,
"value" : "no"
} ,
{
"name" : "WebM" ,
"optgroup" : [
{
"name" : ` libvorbis ( ${ lang . Default } ) ` ,
"value" : "libvorbis"
} ,
{
"name" : "libopus" ,
"value" : "libopus"
}
]
} ,
{
"name" : "MP4" ,
"optgroup" : [
{
"name" : "libmp3lame" ,
"value" : "libmp3lame"
} ,
{
"name" : ` aac ( ${ lang . Default } ) ` ,
"value" : "aac"
} ,
{
"name" : "ac3" ,
"value" : "ac3"
} ,
{
"name" : "copy" ,
"value" : "copy"
}
]
}
]
} ,
{
"name" : "fps" ,
2020-05-25 21:28:56 +00:00
"field" : lang [ "Video Record Rate" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextFps" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "2" ,
"form-group-class" : "h_vc_input h_vc_libvpx h_vc_libvpx-vp9 h_vc_libx264 h_vc_libx265 h_vc_hevc_nvenc h_vc_h264_nvenc h_vc_h264_vaapi h_vc_hevc_vaapi h_vc_h264_qsv h_vc_hevc_qsv h_vc_mpeg2_qsv h_vc_default h_vc_none" ,
"possible" : ""
} ,
{
2019-04-03 06:21:19 +00:00
"name" : "detail=record_scale_y" ,
2019-03-15 07:32:18 +00:00
"field" : lang [ "Record Height" ] ,
"description" : "Height of the stream image." ,
2019-04-03 03:47:03 +00:00
"default" : "" ,
2019-03-15 07:32:18 +00:00
"example" : "720" ,
"form-group-class" : "h_vc_input h_vc_libvpx h_vc_libvpx-vp9 h_vc_libx264 h_vc_libx265 h_vc_hevc_nvenc h_vc_h264_nvenc h_vc_h264_vaapi h_vc_hevc_vaapi h_vc_h264_qsv h_vc_hevc_qsv h_vc_mpeg2_qsv h_vc_default h_vc_none" ,
"possible" : ""
} ,
{
2019-04-03 06:21:19 +00:00
"name" : "detail=record_scale_x" ,
2019-03-15 07:32:18 +00:00
"field" : lang [ "Record Width" ] ,
"description" : "Width of the stream image." ,
2019-04-03 03:47:03 +00:00
"default" : "" ,
2019-03-15 07:32:18 +00:00
"example" : "1280" ,
"form-group-class" : "h_vc_input h_vc_libvpx h_vc_libvpx-vp9 h_vc_libx264 h_vc_libx265 h_vc_hevc_nvenc h_vc_h264_nvenc h_vc_h264_vaapi h_vc_hevc_vaapi h_vc_h264_qsv h_vc_hevc_qsv h_vc_mpeg2_qsv h_vc_default h_vc_none" ,
"possible" : ""
} ,
{
"name" : "detail=cutoff" ,
"field" : lang [ 'Recording Segment Interval' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextCutoff" ] ,
2019-03-15 07:32:18 +00:00
"default" : "15" ,
"example" : "60" ,
"attribute" : ` triggerChange="#add_monitor [detail=vcodec]" ` ,
"possible" : ""
} ,
{
2020-11-03 05:28:45 +00:00
"name" : "detail=rotate" ,
2019-03-15 07:32:18 +00:00
"field" : lang [ "Rotate" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextRotate" ] ,
2019-03-15 07:32:18 +00:00
"default" : "copy" ,
"example" : "" ,
"selector" : "h_vc" ,
"fieldType" : "select" ,
"form-group-class" : "h_vc_input h_vc_libvpx h_vc_libvpx-vp9 h_vc_libx264 h_vc_libx265 h_vc_hevc_nvenc h_vc_h264_nvenc h_vc_h264_vaapi h_vc_hevc_vaapi h_vc_h264_qsv h_vc_hevc_qsv h_vc_mpeg2_qsv h_vc_default h_vc_none" ,
"possible" : [
{
"name" : lang [ "No Rotation" ] ,
"value" : "no"
} ,
{
"name" : lang [ "180 Degrees" ] ,
"value" : "2,transpose=2"
} ,
{
"name" : lang [ "90 Counter Clockwise and Vertical Flip (default)" ] ,
"value" : "0"
} ,
{
"name" : lang [ "90 Clockwise" ] ,
"value" : "1"
} ,
{
"name" : lang [ "90 Clockwise and Vertical Flip" ] ,
"value" : "2"
} ,
{
"name" : lang [ "90 Clockwise and Vertical Flip" ] ,
"value" : "3"
}
]
} ,
{
"name" : "detail=vf" ,
"field" : lang [ 'Record Video Filter' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextVf" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"form-group-class" : "h_vc_input h_vc_libvpx h_vc_libvpx-vp9 h_vc_libx264 h_vc_libx265 h_vc_hevc_nvenc h_vc_h264_nvenc h_vc_h264_vaapi h_vc_hevc_vaapi h_vc_h264_qsv h_vc_hevc_qsv h_vc_mpeg2_qsv h_vc_default h_vc_none" ,
"possible" : ""
}
]
} ,
"Recording Timestamp" : {
"id" : "monSectionRecordingTimestamp" ,
2019-08-09 06:58:01 +00:00
"name" : lang [ 'Recording Timestamp' ] ,
2019-03-15 07:32:18 +00:00
"color" : "red" ,
isAdvanced : true ,
"section-pre-class" : "h_vc_input h_vc_libvpx h_vc_libvpx-vp9 h_vc_libx264 h_vc_libx265 h_vc_hevc_nvenc h_vc_h264_nvenc h_vc_h264_vaapi h_vc_hevc_vaapi h_vc_h264_qsv h_vc_hevc_qsv h_vc_mpeg2_qsv h_vc_default h_vc_none" ,
"section-class" : "h_m_input h_m_record h_m_idle" ,
"isSection" : true ,
"info" : [
{
"name" : "detail=timestamp" ,
"selector" : "h_rtm" ,
"field" : lang . Enabled ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextTimestamp" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
hidden : true ,
"name" : "detail=timestamp_font" ,
"field" : "Font Path" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextTimestampFont" ] ,
2019-03-15 07:32:18 +00:00
"default" : "/usr/share/fonts/truetype/freefont/FreeSans.ttf" ,
"example" : "" ,
"form-group-class" : "h_rtm_input h_rtm_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=timestamp_font_size" ,
"field" : "Font Size" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextTimestampFontSize" ] ,
2019-03-15 07:32:18 +00:00
"default" : "10" ,
"example" : "" ,
"form-group-class" : "h_rtm_input h_rtm_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=timestamp_color" ,
"field" : "Text Color" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextTimestampColor" ] ,
2019-03-15 07:32:18 +00:00
"default" : "white" ,
"example" : "" ,
"form-group-class" : "h_rtm_input h_rtm_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=timestamp_box_color" ,
"field" : "Text Box Color" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextTimestampBoxColor" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0x00000000@1" ,
"example" : "" ,
"form-group-class" : "h_rtm_input h_rtm_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=timestamp_x" ,
"field" : "Position X" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextTimestampX" ] ,
2019-03-15 07:32:18 +00:00
"default" : "(w-tw)/2" ,
"example" : "" ,
"form-group-class" : "h_rtm_input h_rtm_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=timestamp_y" ,
"field" : "Position Y" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextTimestampY" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"form-group-class" : "h_rtm_input h_rtm_1" ,
"possible" : ""
}
]
} ,
"Recording Watermark" : {
"id" : "monSectionRecordingWatermark" ,
"name" : lang [ 'Recording Watermark' ] ,
"color" : "red" ,
isAdvanced : true ,
"section-pre-class" : "h_vc_input h_vc_libvpx h_vc_libvpx-vp9 h_vc_libx264 h_vc_libx265 h_vc_hevc_nvenc h_vc_h264_nvenc h_vc_h264_vaapi h_vc_hevc_vaapi h_vc_h264_qsv h_vc_hevc_qsv h_vc_mpeg2_qsv h_vc_default h_vc_none" ,
"section-class" : "h_m_input h_m_record h_m_idle" ,
"isSection" : true ,
"info" : [
{
"name" : "detail=watermark" ,
"field" : lang . Enabled ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextWatermark" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"selector" : "h_wat" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
hidden : true ,
"name" : "detail=watermark_location" ,
"field" : lang [ 'Image Location' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextWatermarkLocation" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "/usr/share/watermark.logo" ,
"form-group-class" : "h_wat_input h_wat_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=watermark_position" ,
"field" : lang [ 'Image Position' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextWatermarkPosition" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"form-group-class" : "h_wat_input h_wat_1" ,
"possible" : [
{
"name" : lang [ "Top Right" ] ,
"value" : "tr"
} ,
{
"name" : lang [ "Top Left" ] ,
"value" : "tl"
} ,
{
"name" : lang [ "Bottom Right" ] ,
"value" : "br"
} ,
{
"name" : lang [ "Bottom Left" ] ,
"value" : "bl"
}
]
} ,
]
} ,
2019-03-21 21:30:50 +00:00
"Timelapse" : {
"name" : lang [ 'Timelapse' ] ,
"id" : "monSectionTimelapse" ,
"color" : "red" ,
"isSection" : true ,
"input-mapping" : "record_timelapse" ,
"info" : [
{
"name" : "detail=record_timelapse" ,
"field" : lang . Enabled ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextRecordTimelapse" ] ,
2019-03-21 21:30:50 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"selector" : "h_rec_ti" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-21 21:30:50 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-21 21:30:50 +00:00
"value" : "1"
}
]
} ,
{
hidden : true ,
"name" : "detail=record_timelapse_mp4" ,
"field" : lang . Enabled ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextRecordTimelapseMp4" ] ,
2019-03-21 21:30:50 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-21 21:30:50 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-21 21:30:50 +00:00
"value" : "1"
}
]
} ,
{
hidden : true ,
"name" : "detail=record_timelapse_fps" ,
"field" : lang [ 'Creation Interval' ] ,
"description" : "" ,
"default" : "900" ,
"example" : "" ,
"form-group-class" : "h_rec_ti_input h_rec_ti_1" ,
"fieldType" : "select" ,
"possible" : [
2020-04-01 01:27:47 +00:00
{
"name" : ` .1 ${ lang . minutes } ` ,
"value" : "6"
} ,
{
"name" : ` .25 ${ lang . minutes } ` ,
"value" : "15"
} ,
{
"name" : ` .5 ${ lang . minutes } ` ,
"value" : "30"
} ,
2021-12-17 18:35:57 +00:00
{
"name" : ` 1 ${ lang . minute } ` ,
"value" : "60"
} ,
2020-04-01 01:27:47 +00:00
{
"name" : ` 5 ${ lang . minutes } ` ,
"value" : "300"
2020-04-01 03:05:27 +00:00
} ,
2019-04-03 03:47:03 +00:00
{
"name" : ` 10 ${ lang . minutes } ` ,
"value" : "600"
} ,
2019-03-21 21:30:50 +00:00
{
"name" : ` 15 ${ lang . minutes } ` ,
"value" : "900"
} ,
{
"name" : ` 30 ${ lang . minutes } ` ,
"value" : "1800"
} ,
{
"name" : ` 45 ${ lang . minutes } ` ,
"value" : "2700"
} ,
{
"name" : ` 60 ${ lang . minutes } ` ,
"value" : "3600"
}
]
} ,
{
hidden : true ,
"name" : "detail=record_timelapse_scale_x" ,
"field" : lang [ 'Image Width' ] ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "h_rec_ti_input h_rec_ti_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=record_timelapse_scale_y" ,
"field" : lang [ 'Image Height' ] ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "h_rec_ti_input h_rec_ti_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=record_timelapse_vf" ,
"field" : lang [ 'Video Filter' ] ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "h_rec_ti_input h_rec_ti_1" ,
"possible" : ""
} ,
]
} ,
2019-07-15 01:02:15 +00:00
"Timelapse Watermark" : {
"id" : "monSectionRecordingWatermark" ,
2020-05-14 01:12:31 +00:00
"name" : lang [ 'Timelapse Watermark' ] ,
2019-09-23 22:58:33 +00:00
2019-07-15 01:02:15 +00:00
"color" : "red" ,
isAdvanced : true ,
"section-class" : "h_rec_ti_input h_rec_ti_1" ,
"isSection" : true ,
"info" : [
{
"name" : "detail=record_timelapse_watermark" ,
"field" : lang . Enabled ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextRecordTimelapseWatermark" ] ,
2019-07-15 01:02:15 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"selector" : "h_wat_timelapse" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-07-15 01:02:15 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-07-15 01:02:15 +00:00
"value" : "1"
}
]
} ,
{
hidden : true ,
"name" : "detail=record_timelapse_watermark_location" ,
"field" : lang [ 'Image Location' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextRecordTimelapseWatermarkLocation" ] ,
2019-07-15 01:02:15 +00:00
"default" : "0" ,
"example" : "/usr/share/watermark.logo" ,
"form-group-class" : "h_wat_timelapse_input h_wat_timelapse_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=record_timelapse_watermark_position" ,
"field" : lang [ 'Image Position' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextRecordTimelapseWatermarkPosition" ] ,
2019-07-15 01:02:15 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"form-group-class" : "h_wat_timelapse_input h_wat_timelapse_1" ,
"possible" : [
{
"name" : lang [ "Top Right" ] ,
"value" : "tr"
} ,
{
"name" : lang [ "Top Left" ] ,
"value" : "tl"
} ,
{
"name" : lang [ "Bottom Right" ] ,
"value" : "br"
} ,
{
"name" : lang [ "Bottom Left" ] ,
"value" : "bl"
}
]
} ,
]
} ,
2019-03-15 07:32:18 +00:00
"Custom" : {
2019-08-09 06:58:01 +00:00
"name" : lang . Custom ,
2019-03-15 07:32:18 +00:00
"color" : "navy" ,
"isSection" : true ,
isAdvanced : true ,
"id" : "monSectionCustom" ,
"info" : [
{
"name" : "detail=cust_input" ,
2019-08-19 07:38:08 +00:00
"field" : lang [ 'Input Flags' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextCustInput" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
// {
// hidden: true,
// "name": "detail=cust_rtmp",
// "field": lang['RTMP Stream Flags'],
// "description": "Custom Flags that bind to the RTMP stream.",
// "default": "",
// "example": "",
// "form-group-class": "h_rtmp_input h_rtmp_1",
// "possible": ""
// },
{
"name" : "detail=cust_stream" ,
"field" : lang [ "Stream Flags" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextCustStream" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"form-group-class" : "" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=cust_snap" ,
"field" : "Snapshot Flags" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextCustSnap" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"form-group-class" : "h_sn_input h_sn_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=cust_record" ,
"field" : lang [ "Recording Flags" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextCustRecord" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"form-group-class" : "h_m_input h_m_record" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=cust_detect" ,
"field" : lang [ "Detector Flags" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextCustDetect" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"form-group-class" : "shinobi-detector" ,
"possible" : ""
} ,
2020-05-14 00:36:56 +00:00
{
hidden : true ,
"name" : "detail=cust_detect_object" ,
"field" : lang [ "Object Detector Flags" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextCustDetectObject" ] ,
2020-05-14 00:36:56 +00:00
"default" : "" ,
"example" : "" ,
"form-group-class" : "shinobi-detector" ,
"possible" : ""
} ,
2019-03-15 07:32:18 +00:00
{
hidden : true ,
"name" : "detail=cust_sip_record" ,
"field" : lang [ 'Traditional Recording Flags' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextCustSipRecord" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"form-group-class" : "h_rec_mtd_input h_rec_mtd_sip" ,
"possible" : ""
} ,
{
"name" : "detail=custom_output" ,
"field" : "Output Method" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextCustomOutput" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"form-group-class" : "" ,
"possible" : ""
}
]
} ,
"Detector" : {
"name" : lang [ 'Global Detector Settings' ] ,
"headerTitle" : ` ${ lang [ 'Global Detector Settings' ] } <small> ${ lang [ 'Primary Engine' ] } : <b class="h_det_pam_input h_det_pam_1">Pixel Array</b><span class="h_det_pam_input h_det_pam_0"><b class="shinobi-detector_name"></b> <b class="shinobi-detector-invert"> ${ lang [ 'Not Connected' ] } </b><b class="shinobi-detector" style="display:none"> ${ lang [ 'Connected' ] } </b></span></small></h4> ` ,
"color" : "orange" ,
isAdvanced : true ,
"isSection" : true ,
"input-mapping" : "detector" ,
"id" : "monSectionDetector" ,
"selector" : "h_det" ,
"attribute" : ` triggerChange="#add_monitor [detail=detector_record_method]" ` ,
"blockquote" : ` ${ lang . DetectorText } \n <p class="shinobi-detector-msg"></p> ` ,
"info" : [
{
"name" : "detail=detector" ,
"field" : lang . Enabled ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetector" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"selector" : "h_det" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
2019-07-15 01:02:15 +00:00
{
"name" : "detail=detector_http_api" ,
"field" : lang [ "Allow API Trigger" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorHttpApi" ] ,
2019-07-15 01:02:15 +00:00
"default" : "1" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : ` ${ lang . Always } ( ${ lang . Default } ) ` ,
"value" : "1"
} ,
{
"name" : lang [ ` When Detector is On ` ] ,
"value" : "2"
2019-07-26 06:24:55 +00:00
} ,
2019-07-15 01:02:15 +00:00
{
"name" : lang [ ` When Detector is Off ` ] ,
"value" : "3"
2019-07-26 06:24:55 +00:00
} ,
{
2019-07-15 01:02:15 +00:00
"name" : lang . Never ,
"value" : "0"
2019-07-26 06:24:55 +00:00
}
2019-07-15 01:02:15 +00:00
]
} ,
2019-03-15 07:32:18 +00:00
{
hidden : true ,
"name" : "detail=detector_send_frames" ,
"field" : lang [ "Send Frames" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorSendFrames" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"selector" : "h_det_fra" ,
"form-group-class" : "h_det_input h_det_1" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
2020-05-13 22:32:53 +00:00
{
hidden : true ,
"form-group-class" : "h_det_input h_det_1" ,
"name" : "detail=detector_fps" ,
"field" : lang [ "Detector Rate" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorFps" ] ,
2020-05-13 22:32:53 +00:00
"default" : "2" ,
"example" : "" ,
"possible" : ""
} ,
{
hidden : true ,
"form-group-class" : "h_det_input h_det_1" ,
"name" : "detail=detector_scale_x" ,
"field" : lang [ "Feed-in Image Width" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorScaleX" ] ,
2020-05-13 22:32:53 +00:00
"default" : "" ,
"example" : "640" ,
"possible" : ""
} ,
{
hidden : true ,
"form-group-class" : "h_det_input h_det_1" ,
"name" : "detail=detector_scale_y" ,
"field" : lang [ "Feed-in Image Height" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorScaleY" ] ,
2020-05-13 22:32:53 +00:00
"default" : "" ,
"example" : "480" ,
"possible" : ""
} ,
2019-03-15 07:32:18 +00:00
{
hidden : true ,
"name" : "detail=detector_lock_timeout" ,
"field" : lang [ 'Allow Next Trigger' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorLockTimeout" ] ,
2019-03-15 07:32:18 +00:00
"default" : "2000" ,
"example" : "" ,
"form-group-class" : "h_det_input h_det_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=detector_save" ,
2021-10-29 04:00:52 +00:00
"field" : lang [ "Save Events" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorSave" ] ,
2019-03-15 07:32:18 +00:00
"default" : "1" ,
"example" : "" ,
"form-group-class" : "h_det_input h_det_1" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
hidden : true ,
"name" : "detail=detector_record_method" ,
"field" : lang [ 'How to Record' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorRecordMethod" ] ,
2019-03-15 07:32:18 +00:00
"selector" : "h_rec_mtd" ,
"default" : "sip" ,
"example" : "" ,
"form-group-class" : "h_det_input h_det_1" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang [ 'Traditional (Watch-Only, Includes Buffer)' ] ,
"value" : "sip"
} ,
{
"name" : lang [ 'Delete Motionless Videos (Record)' ] ,
"value" : "del"
}
]
} ,
{
hidden : true ,
"name" : "detail=detector_trigger" ,
2019-08-19 07:38:08 +00:00
"field" : lang [ 'Trigger Record' ] ,
2021-06-17 20:27:23 +00:00
"description" : "This will order the camera to record if it is set to \"Watch-Only\" when an Event is detected." ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"form-group-class" : "h_det_input h_det_1" ,
"form-group-class-pre-layer" : "h_rec_mtd_input h_rec_mtd_hot h_rec_mtd_sip" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
hidden : true ,
"name" : "detail=detector_trigger_record_fps" ,
"field" : lang [ 'Recording FPS Change on Start' ] ,
"description" : "" ,
"placeholder" : lang [ 'Blank for No Change' ] ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "h_det_input h_det_1" ,
"form-group-class-pre-layer" : "h_rec_mtd_input h_rec_mtd_hot h_rec_mtd_sip" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=detector_timeout" ,
"field" : lang [ "Recording Timeout" ] ,
"description" : "The length of time \"Trigger Record\" will run for. This is read in minutes." ,
"default" : "10" ,
"example" : "" ,
"form-group-class" : "h_det_input h_det_1" ,
"form-group-class-pre-layer" : "h_rec_mtd_input h_rec_mtd_hot h_rec_mtd_sip" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=watchdog_reset" ,
"field" : lang [ "Timeout Reset on Next Event" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextWatchdogReset" ] ,
2019-03-15 07:32:18 +00:00
"default" : "1" ,
2019-03-27 19:41:11 +00:00
"fieldType" : "select" ,
"form-group-class" : "h_det_input h_det_1" ,
"form-group-class-pre-layer" : "h_rec_mtd_input h_rec_mtd_hot h_rec_mtd_sip" ,
2019-03-15 07:32:18 +00:00
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
hidden : true ,
"name" : "detail=detector_delete_motionless_videos" ,
"field" : lang [ 'Delete Motionless Video' ] ,
"default" : "0" ,
"form-group-class" : "h_det_input h_det_1" ,
"form-group-class-pre-layer" : "h_rec_mtd_input h_rec_mtd_del" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
hidden : true ,
"name" : "detail=det_multi_trig" ,
"field" : lang [ 'Trigger Camera Groups' ] ,
"description" : "" ,
"default" : "1" ,
"example" : "" ,
"selector" : "det_multi_trig" ,
"form-group-class" : "h_det_input h_det_1" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
hidden : true ,
id : "monSectionDetectorGroupMulti" ,
"name" : lang [ 'Trigger Camera Groups' ] ,
"color" : "forestgreen" ,
isFormGroupGroup : true ,
"section-class" : "det_multi_trig_input det_multi_trig_1" ,
"section-pre-class" : "h_det_input h_det_1" ,
"info" : [
{
"fieldType" : 'ul' ,
"id" : "monitor_group_detector_multi" ,
"class" : "mdl-list"
} ,
{
2020-05-25 21:28:56 +00:00
hidden : true ,
2019-03-15 07:32:18 +00:00
"name" : "detail=group_detector_multi" ,
"field" : "" ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"possible" : ""
} ,
] ,
} ,
{
hidden : true ,
2021-01-02 06:17:37 +00:00
"name" : lang [ 'Webhook' ] ,
"color" : "orange" ,
id : "monSectionDetectorWebhook" ,
isSection : true ,
isAdvanced : true ,
isFormGroupGroup : true ,
"section-class" : "h_det_input h_det_1" ,
"info" : [
{
"name" : "detail=detector_webhook" ,
"field" : "Webhook" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorWebhook" ] ,
2021-01-02 06:17:37 +00:00
"default" : "0" ,
"example" : "" ,
"selector" : "h_det_web" ,
"fieldType" : "select" ,
"form-group-class-pre-layer" : "h_det_input h_det_1" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
}
]
} ,
{
"name" : "detail=detector_webhook_timeout" ,
"field" : lang [ 'Allow Next Webhook' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorWebhookTimeout" ] ,
2021-01-02 06:17:37 +00:00
"default" : "10" ,
"example" : "" ,
"form-group-class" : "h_det_web_input h_det_web_1" ,
"form-group-class-pre-layer" : "h_det_input h_det_1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=detector_webhook_url" ,
"field" : lang [ 'Webhook URL' ] ,
"description" : "" ,
"default" : "" ,
"example" : "http://111.111.111.111?mid={{MONITOR_ID}}&group={{GROUP_KEY}}&confidence={{CONFIDENCE}}" ,
"form-group-class" : "h_det_web_input h_det_web_1" ,
"form-group-class-pre-layer" : "h_det_input h_det_1" ,
"possible" : ""
} ,
{
"name" : "detail=detector_webhook_method" ,
"field" : lang [ 'Call Method' ] ,
"description" : "" ,
"default" : "GET" ,
"example" : "" ,
"form-group-class" : "h_det_web_input h_det_web_1" ,
"form-group-class-pre-layer" : "h_det_input h_det_1" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : ` GET ( ${ lang . Default } ) ` ,
"value" : "GET"
} ,
{
"name" : "PUT" ,
"value" : "PUT"
} ,
{
"name" : "POST" ,
"value" : "POST"
}
]
} ,
2019-07-29 06:46:15 +00:00
]
} ,
2019-03-15 07:32:18 +00:00
{
2021-01-02 06:17:37 +00:00
hidden : true ,
"name" : lang [ 'Command' ] ,
"color" : "orange" ,
id : "monSectionDetectorCommand" ,
isSection : true ,
isAdvanced : true ,
isFormGroupGroup : true ,
"section-class" : "h_det_input h_det_1" ,
"info" : [
{
"name" : "detail=detector_command_enable" ,
"field" : lang [ 'Command on Trigger' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"selector" : "h_det_com" ,
"fieldType" : "select" ,
"form-group-class-pre-layer" : "h_det_input h_det_1" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
}
]
} ,
{
"name" : "detail=detector_command" ,
"field" : lang [ 'Command' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorCommand" ] ,
2021-01-02 06:17:37 +00:00
"default" : "" ,
"form-group-class" : "h_det_com_input h_det_com_1" ,
"example" : "/home/script.sh {{MONITOR_ID}} {{GROUP_KEY}} {{CONFIDENCE}}" ,
"form-group-class-pre-layer" : "h_det_input h_det_1" ,
"possible" : ""
} ,
{
"name" : "detail=detector_command_timeout" ,
"field" : lang [ 'Allow Next Command' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorCommandTimeout" ] ,
2021-01-02 06:17:37 +00:00
"default" : "10" ,
"example" : "" ,
"form-group-class" : "h_det_com_input h_det_com_1" ,
"form-group-class-pre-layer" : "h_det_input h_det_1" ,
"possible" : ""
} ,
]
2019-03-15 07:32:18 +00:00
} ,
2019-10-03 02:25:43 +00:00
{
"name" : "detail=snap_seconds_inward" ,
"field" : lang [ 'Delay for Snapshot' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ lang [ "fieldTextSnapSecondsInward" ] ] ,
2020-05-13 22:32:53 +00:00
"form-group-class" : "h_det_input h_det_1" ,
2019-10-03 02:25:43 +00:00
"default" : "0" ,
} ,
2019-03-15 07:32:18 +00:00
{
"name" : "detail=use_detector_filters" ,
2020-10-26 05:26:01 +00:00
"field" : lang [ 'Event Filters' ] ,
2019-03-15 07:32:18 +00:00
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"selector" : "h_det_fil" ,
"fieldType" : "select" ,
"form-group-class-pre-layer" : "h_det_input h_det_1" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"name" : "detail=use_detector_filters_object" ,
"field" : lang [ 'Filter for Objects only' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"form-group-class" : "h_det_fil_input h_det_fil_1" ,
"form-group-class-pre-layer" : "h_det_input h_det_1" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
hidden : true ,
"name" : "detail=cords" ,
} ,
{
hidden : true ,
"name" : "detail=detector_filters" ,
} ,
{
"fieldType" : "btn" ,
2021-05-04 20:17:43 +00:00
"class" : ` btn-danger open-region-editor ` ,
2019-03-15 07:32:18 +00:00
"btnContent" : ` <i class="fa fa-grav"></i> ${ lang [ 'Region Editor' ] } ` ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class-pre-pre-layer" : "h_det_input h_det_1" ,
"form-group-class-pre-layer" : "form-group" ,
"possible" : ""
} ,
{
hidden : true ,
2019-08-09 06:58:01 +00:00
"name" : lang [ 'Motion Detection' ] ,
2019-03-15 07:32:18 +00:00
"headerTitle" : ` ${ lang [ 'Motion Detection' ] } <small> ${ lang [ 'Primary Engine' ] } : <b class="h_det_pam_input h_det_pam_1">Pixel Array</b><span class="h_det_pam_input h_det_pam_0"><b class="shinobi-detector_name"></b> <b class="shinobi-detector-invert"> ${ lang [ 'Not Connected' ] } </b><b class="shinobi-detector" style="display:none"> ${ lang [ 'Connected' ] } </b></span></small> ` ,
"color" : "orange" ,
id : "monSectionDetectorMotion" ,
isSection : true ,
isAdvanced : true ,
isFormGroupGroup : true ,
"section-class" : "h_det_input h_det_1" ,
"info" : [
{
"name" : "detail=detector_pam" ,
"field" : lang [ "Use Built-In" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorPam" ] ,
2019-03-15 07:32:18 +00:00
"selector" : "h_det_pam" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
2019-11-14 16:34:59 +00:00
// {
// "name": "detail=detector_show_matrix",
// "field": lang["Show Matrices"],
// "description": "Outline which pixels are detected as changed in one matrix.",
// "default": "0",
// "example": "",
// "fieldType": "select",
// "form-group-class": "h_det_pam_input h_det_pam_1",
// "possible": [
// {
// "name": lang.No,
// "value": "0"
// },
// {
// "name": lang.Yes,
// "value": "1"
// }
// ]
// },
2019-03-15 07:32:18 +00:00
{
"name" : "detail=detector_sensitivity" ,
2020-06-05 21:09:00 +00:00
"field" : lang [ 'Minimum Change' ] ,
2020-06-05 22:18:53 +00:00
"description" : "The motion confidence rating must exceed this value to be seen as a trigger. This number correlates directly to the confidence rating returned by the motion detector. This option was previously named \"Indifference\"." ,
2020-02-25 16:52:42 +00:00
"default" : "10" ,
2019-03-15 07:32:18 +00:00
"example" : "10" ,
"possible" : ""
} ,
{
"name" : "detail=detector_max_sensitivity" ,
2020-06-05 21:13:18 +00:00
"field" : lang [ "Maximum Change" ] ,
2020-06-05 21:09:00 +00:00
"description" : "The motion confidence rating must be lower than this value to be seen as a trigger. Leave blank for no maximum. This option was previously named \"Max Indifference\"." ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "75" ,
"possible" : ""
} ,
{
"name" : "detail=detector_threshold" ,
"field" : lang [ "Trigger Threshold" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorThreshold" ] ,
2019-03-15 07:32:18 +00:00
"default" : "1" ,
"example" : "3" ,
"possible" : "Any non-negative integer."
} ,
{
"name" : "detail=detector_color_threshold" ,
"field" : lang [ "Color Threshold" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorColorThreshold" ] ,
2019-03-15 07:32:18 +00:00
"default" : "9" ,
"example" : "9" ,
"possible" : "Any non-negative integer."
} ,
2021-01-26 00:11:37 +00:00
{
"name" : "detail=inverse_trigger" ,
"field" : lang [ "Inverse Trigger" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextInverseTrigger" ] ,
2021-01-26 00:11:37 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
}
]
} ,
2019-03-15 07:32:18 +00:00
{
"name" : "detail=detector_frame" ,
"field" : lang [ "Full Frame Detection" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorFrame" ] ,
2019-03-15 07:32:18 +00:00
"default" : "1" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"name" : "detail=detector_noise_filter" ,
"field" : lang [ 'Noise Filter' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorNoiseFilter" ] ,
2019-03-15 07:32:18 +00:00
"default" : "1" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"name" : "detail=detector_noise_filter_range" ,
"field" : lang [ "Noise Filter Range" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorNoiseFilterRange" ] ,
2019-03-15 07:32:18 +00:00
"default" : "6" ,
"example" : "9" ,
"possible" : "Any non-negative integer."
} ,
]
} ,
{
hidden : true ,
2019-08-09 06:58:01 +00:00
"name" : lang [ '\"No Motion"\ Detector' ] ,
2019-03-15 07:32:18 +00:00
"color" : "orange" ,
id : "monSectionNoMotionDetector" ,
isSection : true ,
isAdvanced : true ,
isFormGroupGroup : true ,
"section-class" : "h_det_input h_det_1" ,
"info" : [
{
"name" : "detail=detector_notrigger" ,
"field" : lang . Enabled ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorNotrigger" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
2022-02-07 19:15:11 +00:00
"name" : "detail=detector_notrigger_timeout" ,
"field" : lang . Timeout ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorNotriggerTimeout" ] ,
2022-02-07 19:15:11 +00:00
"default" : "10" ,
2019-03-15 07:32:18 +00:00
"example" : "" ,
2022-02-07 19:15:11 +00:00
"possible" : ""
2019-11-01 00:26:52 +00:00
} ,
{
"name" : "detail=detector_notrigger_discord" ,
2021-04-27 18:37:19 +00:00
"field" : lang [ 'No Trigger' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorNotriggerDiscord" ] ,
2019-11-01 00:26:52 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
2019-03-15 07:32:18 +00:00
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
2019-11-01 05:02:14 +00:00
{
"name" : "detail=detector_notrigger_webhook" ,
"field" : "Webhook" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorNotriggerWebhook" ] ,
2019-11-01 05:02:14 +00:00
"default" : "0" ,
"example" : "" ,
"selector" : "h_det_web_notrig" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
}
]
} ,
{
hidden : true ,
"name" : "detail=detector_notrigger_webhook_url" ,
"field" : lang [ 'Webhook URL' ] ,
"description" : "" ,
"default" : "" ,
"example" : "http://111.111.111.111?mid={{MONITOR_ID}}&group={{GROUP_KEY}}&confidence={{CONFIDENCE}}" ,
"form-group-class" : "h_det_web_notrig_input h_det_web_notrig_1" ,
"possible" : ""
} ,
{
"name" : "detail=detector_notrigger_webhook_method" ,
"field" : lang [ 'Call Method' ] ,
"description" : "" ,
"default" : "GET" ,
"example" : "" ,
"form-group-class" : "h_det_web_notrig_input h_det_web_notrig_1" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : ` GET ( ${ lang . Default } ) ` ,
"value" : "GET"
} ,
{
"name" : "PUT" ,
"value" : "PUT"
} ,
{
"name" : "POST" ,
"value" : "POST"
}
]
} ,
{
"name" : "detail=detector_notrigger_command_enable" ,
"field" : lang [ 'Command on Trigger' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"selector" : "h_det_com_notrig" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
}
]
} ,
{
"name" : "detail=detector_notrigger_command" ,
"field" : lang [ 'Command' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorNotriggerCommand" ] ,
2019-11-01 05:02:14 +00:00
"default" : "" ,
"form-group-class" : "h_det_com_notrig_input h_det_com_notrig_1" ,
"example" : "/home/script.sh {{MONITOR_ID}} {{GROUP_KEY}} {{CONFIDENCE}}" ,
"possible" : ""
} ,
{
"name" : "detail=detector_notrigger_command_timeout" ,
"field" : lang [ 'Allow Next Command' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorNotriggerCommandTimeout" ] ,
2019-11-01 05:02:14 +00:00
"default" : "10" ,
"example" : "" ,
"form-group-class" : "h_det_com_notrig_input h_det_com_notrig_1" ,
"possible" : ""
} ,
2019-03-15 07:32:18 +00:00
]
} ,
{
hidden : true ,
"name" : lang [ 'Audio Detector' ] ,
"color" : "orange" ,
id : "monSectionAudioDetector" ,
isSection : true ,
isAdvanced : true ,
isFormGroupGroup : true ,
"section-class" : "h_det_input h_det_1" ,
"info" : [
{
2019-03-25 18:07:21 +00:00
"name" : "detail=detector_audio" ,
2019-03-15 07:32:18 +00:00
"field" : lang . Enabled ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorAudio" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"name" : "detail=detector_audio_min_db" ,
"field" : lang [ 'Minimum dB' ] ,
"description" : "" ,
"default" : "5" ,
"example" : "" ,
"possible" : ""
} ,
{
"name" : "detail=detector_audio_max_db" ,
"field" : lang [ 'Maximum dB' ] ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
}
]
} ,
{
"name" : lang [ 'Object Detection' ] ,
"color" : "orange" ,
id : "monSectionDetectorObject" ,
2019-03-21 21:30:50 +00:00
headerTitle : ` ${ lang [ 'Object Detection' ] } <small><b class="shinobi-detector_name"></b> <b class="shinobi-detector-invert"> ${ lang [ 'Not Connected' ] } </b><b class="shinobi-detector" style="display:none"> ${ lang [ 'Connected' ] } </b></small> ` ,
2019-03-15 07:32:18 +00:00
isFormGroupGroup : true ,
isSection : true ,
2020-10-18 03:35:35 +00:00
"input-mapping" : "detector_object" ,
2019-03-21 21:30:50 +00:00
"section-class" : "h_det_input h_det_1" ,
2019-03-15 07:32:18 +00:00
"info" : [
{
"name" : "detail=detector_use_detect_object" ,
"field" : lang . Enabled ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorUseDetectObject" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"selector" : "h_casc" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"name" : "detail=detector_send_frames_object" ,
"field" : lang [ "Send Frames" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorSendFramesObject" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
2020-05-05 15:02:23 +00:00
}
]
} ,
{
hidden : true ,
"name" : "detail=detector_obj_count_in_region" ,
"field" : lang [ "Count Objects only inside Regions" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorObjCountInRegion" ] ,
2020-05-05 15:02:23 +00:00
"default" : "0" ,
"example" : "" ,
"form-group-class" : "h_det_count_input h_det_count_1" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
2019-03-15 07:32:18 +00:00
}
]
} ,
{
"name" : "detail=detector_obj_region" ,
"field" : lang [ 'Require Object to be in Region' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"name" : "detail=detector_use_motion" ,
"field" : lang [ 'Check for Motion First' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"selector" : "h_det_mot_fir" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
hidden : true ,
"name" : "detail=detector_fps_object" ,
"field" : lang [ 'Frame Rate' ] ,
"description" : "" ,
2020-05-13 22:32:53 +00:00
"default" : "2" ,
2019-03-15 07:32:18 +00:00
"example" : "" ,
2020-05-13 22:32:53 +00:00
"form-group-class" : "h_casc_input h_casc_1" ,
2019-03-15 07:32:18 +00:00
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=detector_scale_x_object" ,
"field" : lang [ 'Image Width' ] ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
2020-05-13 22:32:53 +00:00
"form-group-class" : "h_casc_input h_casc_1" ,
2019-03-15 07:32:18 +00:00
"fieldType" : "number" ,
"numberMin" : "1" ,
"possible" : ""
} ,
{
hidden : true ,
"name" : "detail=detector_scale_y_object" ,
"field" : lang [ 'Image Height' ] ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
2020-05-13 22:32:53 +00:00
"form-group-class" : "h_casc_input h_casc_1" ,
2019-03-15 07:32:18 +00:00
"fieldType" : "number" ,
"numberMin" : "1" ,
"possible" : ""
} ,
]
} ,
{
hidden : true ,
"name" : lang [ 'License Plate Detector' ] ,
"color" : "orange" ,
id : "monSectionLisencePlateDetector" ,
headerTitle : ` ${ lang [ 'Object Detection' ] } <small> ${ lang [ 'Plugin' ] } : <b class="shinobi-detector_name"></b> <b class="shinobi-detector-invert"> ${ lang [ 'Not Connected' ] } </b><b class="shinobi-detector" style="display:none"> ${ lang [ 'Connected' ] } </b></small> ` ,
isSection : true ,
isAdvanced : true ,
isFormGroupGroup : true ,
"section-pre-pre-class" : "h_det_input h_det_1" ,
"section-pre-class" : "h_casc_input h_casc_1" ,
"section-class" : "shinobi-detector-opencv shinobi-detector-openalpr shinobi-detector_plug" ,
"info" : [
{
"name" : "detail=detector_lisence_plate" ,
"field" : lang . Enabled ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorLisencePlate" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
2019-06-05 04:18:30 +00:00
"name" : "detail=detector_lisence_plate_country" ,
2019-03-15 07:32:18 +00:00
"field" : lang [ 'Country of Plates' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorLisencePlateCountry" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : "US" ,
"value" : "us"
} ,
{
"name" : "EU" ,
"value" : "eu"
}
]
} ,
]
} ,
{
hidden : true ,
"name" : lang [ 'Traditional Recording' ] ,
2020-10-18 03:35:35 +00:00
"input-mapping" : "detector_sip_buffer" ,
2019-03-15 07:32:18 +00:00
"color" : "orange" ,
2019-03-21 21:30:50 +00:00
id : "monSectionDetectorTraditionalRecording" ,
2019-03-15 07:32:18 +00:00
isSection : true ,
isAdvanced : true ,
isFormGroupGroup : true ,
2019-03-24 19:26:28 +00:00
"section-class" : "h_det_input h_det_1" ,
2019-03-15 07:32:18 +00:00
"info" : [
{
"name" : "detail=detector_buffer_vcodec" ,
"field" : lang [ 'HLS Video Encoder' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"selector" : "h_buff" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : "Auto" ,
"value" : "auto"
} ,
{
"name" : "libx264" ,
"value" : "libx264"
} ,
{
"name" : "H.264 VA-API (Intel HW Accel)" ,
"value" : "h264_vaapi"
} ,
{
"name" : "H.265 VA-API (Intel HW Accel)" ,
"value" : "hevc_vaapi"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . copy ,
2019-03-15 07:32:18 +00:00
"value" : "copy"
}
]
} ,
{
"name" : "detail=detector_buffer_acodec" ,
"field" : lang [ 'HLS Audio Encoder' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-19 07:38:08 +00:00
"name" : lang [ 'No Audio' ] ,
2019-03-15 07:32:18 +00:00
"value" : "no"
} ,
{
"name" : "Auto" ,
"value" : "auto"
} ,
{
"name" : "aac" ,
"value" : "aac"
} ,
{
"name" : "ac3" ,
"value" : "ac3"
} ,
{
"name" : "libmp3lame" ,
"value" : "libmp3lame"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . copy ,
2019-03-15 07:32:18 +00:00
"value" : "copy"
}
]
} ,
{
"name" : "detail=detector_buffer_fps" ,
"field" : lang [ 'Frame Rate' ] ,
"description" : "" ,
"default" : "30" ,
"example" : "" ,
"form-group-class" : "h_buff_input h_buff_libx264 h_buff_h264_vaapi h_buff_hevc_vaapi" ,
2020-12-04 14:53:59 +00:00
"possible" : ""
} ,
{
"name" : "detail=event_record_scale_x" ,
"field" : lang . Width ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextEventRecordScaleX" ] ,
2020-12-04 14:53:59 +00:00
"default" : "" ,
"fieldType" : "number" ,
"numberMin" : "1" ,
"example" : "640" ,
"form-group-class" : "h_buff_input h_buff_libx264 h_buff_h264_vaapi h_buff_hevc_vaapi" ,
"possible" : ""
} ,
{
"name" : "detail=event_record_scale_y" ,
"field" : lang . Height ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextEventRecordScaleY" ] ,
2020-12-04 14:53:59 +00:00
"default" : "" ,
"fieldType" : "number" ,
"numberMin" : "1" ,
"example" : "480" ,
"form-group-class" : "h_buff_input h_buff_libx264 h_buff_h264_vaapi h_buff_hevc_vaapi" ,
2019-03-15 07:32:18 +00:00
"possible" : ""
} ,
{
"name" : "detail=detector_buffer_hls_time" ,
2019-08-09 06:58:01 +00:00
"field" : lang [ 'HLS Segment Length' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorBufferHlsTime" ] ,
2019-03-15 07:32:18 +00:00
"default" : "2" ,
"example" : "" ,
"possible" : ""
} ,
{
"name" : "detail=detector_buffer_hls_list_size" ,
2019-08-09 06:58:01 +00:00
"field" : lang [ 'HLS List Size' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorBufferHlsListSize" ] ,
2019-03-15 07:32:18 +00:00
"default" : "10" ,
"example" : "" ,
"possible" : ""
} ,
{
"name" : "detail=detector_buffer_start_number" ,
2019-08-09 06:58:01 +00:00
"field" : lang [ 'HLS Start Number' ] ,
2019-03-15 07:32:18 +00:00
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"form-group-class" : "h_buff_input h_buff_libx264 h_buff_h264_vaapi h_buff_hevc_vaapi" ,
"possible" : ""
} ,
{
"name" : "detail=detector_buffer_live_start_index" ,
2019-08-09 06:58:01 +00:00
"field" : lang [ 'HLS Live Start Index' ] ,
2019-03-15 07:32:18 +00:00
"description" : "" ,
"default" : "-3" ,
"example" : "" ,
"form-group-class" : "h_buff_input h_buff_libx264 h_buff_h264_vaapi h_buff_hevc_vaapi" ,
"possible" : ""
} ,
{
"field" : lang [ 'Buffer Preview' ] ,
id : "monEditBufferPreview" ,
"fieldType" : "div" ,
"style" : "width:100%;height:300px;background:#eceaea;border-radius:5px;color:#333;font-family:monospace"
} ,
]
} ,
]
} ,
"Control" : {
2019-08-19 13:46:54 +00:00
"name" : lang . Control ,
2019-03-15 07:32:18 +00:00
"color" : "blue" ,
id : "monSectionControl" ,
isSection : true ,
"info" : [
{
"name" : "detail=control" ,
"field" : lang . Controllable ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"selector" : "h_c" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"name" : "detail=control_base_url" ,
"field" : lang [ 'Custom Base URL' ] ,
"description" : "" ,
"default" : "" ,
"example" : "http://111.111.111.111:8080" ,
"form-group-class" : "h_c_input h_c_1" ,
"possible" : ""
} ,
{
"name" : "detail=control_url_method" ,
"field" : lang [ 'Call Method' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"selector" : "h_control_call" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : ` GET ( ${ lang . Default } ) ` ,
"value" : "GET"
} ,
{
"name" : "PUT" ,
"value" : "PUT"
} ,
{
"name" : "POST" ,
"value" : "POST"
} ,
{
"name" : "ONVIF" ,
"value" : "ONVIF"
}
]
} ,
{
"name" : "detail=control_digest_auth" ,
"field" : lang [ 'Digest Authentication' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"form-group-class" : "h_control_call_input h_control_call_GET h_control_call_PUT h_control_call_POST" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"name" : "detail=control_stop" ,
"field" : lang [ 'Stop Command' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"selector" : "h_cs" ,
"fieldType" : "select" ,
2019-06-04 16:39:36 +00:00
"form-group-class" : "h_control_call_input h_control_call_GET h_control_call_ONVIF h_control_call_PUT h_control_call_POST" ,
2019-03-15 07:32:18 +00:00
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"name" : "detail=control_url_stop_timeout" ,
"field" : lang [ 'URL Stop Timeout' ] ,
"description" : "" ,
"default" : "1000" ,
"example" : "" ,
2020-10-29 08:19:37 +00:00
"form-group-class" : "h_cs_input h_cs_1" ,
"possible" : ""
} ,
{
"name" : "detail=control_turn_speed" ,
"field" : lang [ 'Turn Speed' ] ,
"description" : "" ,
"default" : "0.1" ,
"example" : "" ,
2019-03-15 07:32:18 +00:00
"form-group-class" : "h_cs_input h_cs_1" ,
"possible" : ""
} ,
2020-06-14 05:31:23 +00:00
{
"name" : "detail=detector_ptz_follow" ,
"field" : lang [ 'PTZ Tracking' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorPtzFollow" ] ,
2020-06-14 05:31:23 +00:00
"default" : "0" ,
"example" : "" ,
"selector" : "h_det_tracking" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
}
]
} ,
{
"name" : "detail=detector_ptz_follow_target" ,
"field" : lang [ 'PTZ Tracking Target' ] ,
"description" : "" ,
"default" : "person" ,
"example" : "" ,
"form-group-class" : "h_det_tracking_input h_det_tracking_1" ,
"possible" : ""
} ,
{
"name" : "detail=detector_obj_count" ,
"field" : lang [ "Count Objects" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorObjCount" ] ,
2020-06-14 05:31:23 +00:00
"default" : "0" ,
"example" : "" ,
"selector" : "h_det_count" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
}
]
} ,
2019-03-15 07:32:18 +00:00
{
"name" : "detail=control_url_center" ,
"field" : lang [ 'Center' ] ,
"description" : "" ,
"default" : "/" ,
"example" : "" ,
"form-group-class" : "h_control_call_input h_control_call_GET h_control_call_PUT h_control_call_POST" ,
"possible" : ""
} ,
{
"name" : "detail=control_url_left" ,
"field" : lang [ 'Left' ] ,
"description" : "" ,
"default" : "/" ,
"example" : "" ,
"form-group-class" : "h_control_call_input h_control_call_GET h_control_call_PUT h_control_call_POST" ,
"possible" : ""
} ,
{
"name" : "detail=control_url_left_stop" ,
"field" : lang [ 'Left Stop' ] ,
"description" : "" ,
"default" : "/" ,
"example" : "" ,
"form-group-class-pre-layer" : "h_cs_input h_cs_1" ,
"form-group-class" : "h_control_call_input h_control_call_GET h_control_call_PUT h_control_call_POST" ,
"possible" : ""
} ,
{
"name" : "detail=control_url_right" ,
"field" : lang [ 'Right' ] ,
"description" : "" ,
"default" : "/" ,
"example" : "" ,
"form-group-class" : "h_control_call_input h_control_call_GET h_control_call_PUT h_control_call_POST" ,
"possible" : ""
} ,
{
"name" : "detail=control_url_right_stop" ,
"field" : lang [ 'Right Stop' ] ,
"description" : "" ,
"default" : "/" ,
"example" : "" ,
"form-group-class-pre-layer" : "h_cs_input h_cs_1" ,
"form-group-class" : "h_control_call_input h_control_call_GET h_control_call_PUT h_control_call_POST" ,
"possible" : ""
} ,
{
"name" : "detail=control_url_up" ,
"field" : lang [ 'Up' ] ,
"description" : "" ,
"default" : "/" ,
"example" : "" ,
"form-group-class" : "h_control_call_input h_control_call_GET h_control_call_PUT h_control_call_POST" ,
"possible" : ""
} ,
{
"name" : "detail=control_url_up_stop" ,
"field" : lang [ 'Up Stop' ] ,
"description" : "" ,
"default" : "/" ,
"example" : "" ,
"form-group-class-pre-layer" : "h_cs_input h_cs_1" ,
"form-group-class" : "h_control_call_input h_control_call_GET h_control_call_PUT h_control_call_POST" ,
"possible" : ""
} ,
{
"name" : "detail=control_url_down" ,
"field" : lang [ 'Down' ] ,
"description" : "" ,
"default" : "/" ,
"example" : "" ,
"form-group-class" : "h_control_call_input h_control_call_GET h_control_call_PUT h_control_call_POST" ,
"possible" : ""
} ,
{
"name" : "detail=control_url_down_stop" ,
"field" : lang [ 'Down Stop' ] ,
"description" : "" ,
"default" : "/" ,
"example" : "" ,
"form-group-class-pre-layer" : "h_cs_input h_cs_1" ,
"form-group-class" : "h_control_call_input h_control_call_GET h_control_call_PUT h_control_call_POST" ,
"possible" : ""
} ,
{
"name" : "detail=control_url_enable_nv" ,
"field" : lang [ 'Enable Night Vision' ] ,
"description" : "" ,
"default" : "/" ,
"example" : "" ,
"form-group-class" : "h_control_call_input h_control_call_GET h_control_call_PUT h_control_call_POST" ,
"possible" : ""
} ,
{
"name" : "detail=control_url_disable_nv" ,
"field" : lang [ 'Disable Night Vision' ] ,
"description" : "" ,
"default" : "/" ,
"example" : "" ,
"form-group-class" : "h_control_call_input h_control_call_GET h_control_call_PUT h_control_call_POST" ,
"possible" : ""
} ,
{
"name" : "detail=control_url_zoom_out" ,
"field" : lang [ 'Zoom Out' ] ,
"description" : "" ,
"default" : "/" ,
"example" : "" ,
"form-group-class" : "h_control_call_input h_control_call_GET h_control_call_PUT h_control_call_POST" ,
"possible" : ""
} ,
{
"name" : "detail=control_url_zoom_out_stop" ,
"field" : lang [ 'Zoom Out Stop' ] ,
"description" : "" ,
"default" : "/" ,
"example" : "" ,
"form-group-class-pre-layer" : "h_cs_input h_cs_1" ,
"form-group-class" : "h_control_call_input h_control_call_GET h_control_call_PUT h_control_call_POST" ,
"possible" : ""
} ,
{
"name" : "detail=control_url_zoom_in" ,
"field" : lang [ 'Zoom In' ] ,
"description" : "" ,
"default" : "/" ,
"example" : "" ,
"form-group-class" : "h_control_call_input h_control_call_GET h_control_call_PUT h_control_call_POST" ,
"possible" : ""
} ,
{
"name" : "detail=control_url_zoom_in_stop" ,
"field" : lang [ 'Zoom In Stop' ] ,
"description" : "" ,
"default" : "/" ,
"example" : "" ,
"form-group-class-pre-layer" : "h_cs_input h_cs_1" ,
"form-group-class" : "h_control_call_input h_control_call_GET h_control_call_PUT h_control_call_POST" ,
"possible" : ""
} ,
2020-09-20 06:28:35 +00:00
{
"name" : "detail=control_invert_y" ,
"field" : lang [ "Invert Y-Axis" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextControlInvertY" ] ,
2020-09-20 06:28:35 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
}
]
} ,
2019-03-15 07:32:18 +00:00
]
} ,
"Grouping" : {
id : "monSectionGrouping" ,
2019-08-09 06:58:01 +00:00
"name" : lang . Grouping ,
2019-03-15 07:32:18 +00:00
"headerTitle" : lang [ 'Grouping' ] + ' <small>Add groups in <b>Settings</b></small>' ,
"color" : "purple" ,
isSection : true ,
isAdvanced : true ,
"info" : [
{
2021-06-01 23:18:21 +00:00
"fieldType" : 'div' ,
2019-03-15 07:32:18 +00:00
"id" : "monitor_groups" ,
"class" : "mdl-list"
} ,
{
hidden : true ,
"name" : "detail=groups" ,
} ,
] ,
} ,
"Copy Settings" : {
id : "monSectionCopying" ,
"name" : lang [ 'Copy Settings' ] ,
"color" : "orange" ,
isSection : true ,
"info" : [
{
"id" : "copy_settings" ,
"field" : lang [ 'Copy to Settings' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"selector" : "h_copy_settings" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"field" : lang [ 'Copy Mode' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"attribute" : ` copy="field=mode" ` ,
"form-group-class" : "h_copy_settings_input h_copy_settings_1" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
2019-09-23 22:58:33 +00:00
{
"field" : lang [ 'Copy Stream Channels' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"attribute" : ` copy="field=detail=stream_channels" ` ,
"form-group-class" : "h_copy_settings_input h_copy_settings_1" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
}
]
} ,
2019-03-15 07:32:18 +00:00
{
"field" : lang [ 'Copy Connection Settings' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"attribute" : ` copy="#monSectionConnection" ` ,
"form-group-class" : "h_copy_settings_input h_copy_settings_1" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"field" : lang [ 'Copy Input Settings' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"attribute" : ` copy="#monSectionInput" ` ,
"form-group-class" : "h_copy_settings_input h_copy_settings_1" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
2020-10-12 06:11:39 +00:00
{
"field" : lang [ 'Copy Timelapse Settings' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"attribute" : ` copy="#monSectionTimelapse" ` ,
"form-group-class" : "h_copy_settings_input h_copy_settings_1" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
}
]
} ,
2019-03-15 07:32:18 +00:00
{
"field" : lang [ 'Copy Stream Settings' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"attribute" : ` copy="#monSectionStream,#monSectionStreamTimestamp,#monSectionStreamWatermark" ` ,
"form-group-class" : "h_copy_settings_input h_copy_settings_1" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"field" : lang [ 'Copy JPEG API Settings' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"attribute" : ` copy="#monSectionJPEGAPI" ` ,
"form-group-class" : "h_copy_settings_input h_copy_settings_1" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"field" : lang [ 'Copy Recording Settings' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"attribute" : ` copy="#monSectionRecording,#monSectionRecordingTimestamp,#monSectionRecordingWatermark" ` ,
"form-group-class" : "h_copy_settings_input h_copy_settings_1" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"field" : lang [ 'Copy Detector Settings' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"attribute" : ` copy="#monSectionDetector,#monSectionDetectorBuffer,#monSectionLisencePlateDetector,#monSectionNoMotionDetector" ` ,
"form-group-class" : "h_copy_settings_input h_copy_settings_1" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"field" : lang [ 'Copy Custom Settings' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"attribute" : ` copy="#monSectionCustom" ` ,
"form-group-class" : "h_copy_settings_input h_copy_settings_1" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"field" : lang [ 'Copy Group Settings' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"attribute" : ` copy="#monSectionGrouping" ` ,
"form-group-class" : "h_copy_settings_input h_copy_settings_1" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"field" : lang [ 'Copy Logging Settings' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"attribute" : ` copy="#monSectionLogging" ` ,
"form-group-class" : "h_copy_settings_input h_copy_settings_1" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"field" : lang [ 'Monitors to Copy to' ] ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
id : 'copy_settings_monitors' ,
"attribute" : ` copy="#monSectionLogging" style="min-height:100px" multiple ` ,
"form-group-class" : "h_copy_settings_input h_copy_settings_1" ,
"possible" : [
{
"name" : lang [ 'New Monitor' ] ,
"value" : "$New"
} ,
{
"name" : lang [ 'Monitors' ] ,
"optgroup" : [ ]
}
]
} ,
] ,
} ,
2020-10-01 02:39:14 +00:00
"Notifications" : {
"name" : lang [ 'Notifications' ] ,
"color" : "blue" ,
isAdvanced : true ,
"isSection" : true ,
"id" : "monSectionNotifications" ,
"info" : [
{
"name" : lang . Methods ,
"color" : "blue" ,
isFormGroupGroup : true ,
"info" : [
2022-02-07 19:15:11 +00:00
2020-10-01 02:39:14 +00:00
] ,
} ,
{
"name" : "detail=notify_onUnexpectedExit" ,
"field" : lang [ 'On Unexpected Exit' ] ,
"default" : "0" ,
"example" : "1" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
}
]
} ,
2021-07-03 02:39:57 +00:00
{
"name" : "detail=notify_useRawSnapshot" ,
"field" : lang [ 'Use Raw Snapshot' ] ,
"default" : "0" ,
"example" : "1" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
2020-10-01 02:39:14 +00:00
}
]
} ,
2022-02-07 19:15:11 +00:00
{
hidden : true ,
"name" : "detail=detector_send_video_length" ,
"field" : lang [ "Notification Video Length" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDetectorSendVideoLength" ] ,
2022-02-07 19:15:11 +00:00
"default" : "10" ,
"example" : "" ,
"possible" : ""
} ,
2020-10-01 02:39:14 +00:00
]
} ,
2019-03-15 07:32:18 +00:00
"Logging" : {
"name" : lang . Logging ,
"color" : "green" ,
id : "monSectionLogging" ,
isAdvanced : true ,
isSection : true ,
"info" : [
{
"name" : "detail=loglevel" ,
2019-08-09 06:58:01 +00:00
"field" : lang [ 'Log Level' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextLoglevel" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . Silent ,
2019-03-15 07:32:18 +00:00
"value" : "quiet" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextLoglevelSilent" ]
2019-03-15 07:32:18 +00:00
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Fatal ,
2019-03-15 07:32:18 +00:00
"value" : "fatal" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextLoglevelFatal" ]
2019-03-15 07:32:18 +00:00
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang [ 'on Error' ] ,
2019-03-15 07:32:18 +00:00
"value" : "error" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextLoglevelOnError" ]
2019-03-15 07:32:18 +00:00
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang [ 'All Warnings' ] ,
2019-03-15 07:32:18 +00:00
"value" : "warning" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextLoglevelAllWarnings" ]
2019-03-15 07:32:18 +00:00
}
]
} ,
{
"name" : "detail=sqllog" ,
"field" : lang [ "Save Log in SQL" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextSqllog" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-04-24 18:42:50 +00:00
"value" : "0" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextSqllogNo" ]
2019-03-15 07:32:18 +00:00
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-04-24 18:42:50 +00:00
"value" : "1" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextSqllogYes" ]
2019-03-15 07:32:18 +00:00
}
]
} ,
{
2019-08-09 06:58:01 +00:00
"name" : "Log Stream" ,
2019-03-15 07:32:18 +00:00
"color" : "green" ,
isFormGroupGroup : true ,
"info" : [
{
"fieldType" : 'div' ,
"class" : "data-menu logs"
} ,
] ,
} ,
]
} ,
"Hidden" : {
hidden : true ,
"name" : "" ,
"color" : "" ,
isSection : true ,
"info" : [
{
"name" : "detail=detector_cascades" ,
} ,
{
"name" : "detail=stream_channels" ,
} ,
{
"name" : "detail=input_maps" ,
} ,
{
"name" : "detail=input_map_choices" ,
"preFill" : "{}" ,
} ,
{
"name" : "details" ,
"preFill" : "{}" ,
} ,
{
"name" : "shto" ,
"preFill" : "[]" ,
} ,
{
"name" : "shfr" ,
"preFill" : "[]" ,
} ,
]
}
}
} ,
"Account Settings" : {
"section" : "Account Settings" ,
"blocks" : {
2020-05-19 23:56:21 +00:00
"ShinobiHub" : {
"evaluation" : "!details.sub && details.use_shinobihub !== '0'" ,
"name" : lang [ "ShinobiHub" ] ,
"color" : "purple" ,
"info" : [
{
"name" : "detail=shinobihub" ,
"selector" : "autosave_shinobihub" ,
"field" : lang . Autosave ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
}
]
} ,
{
"hidden" : true ,
"field" : lang [ 'API Key' ] ,
"name" : "detail=shinobihub_key" ,
"placeholder" : "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" ,
"form-group-class" : "autosave_shinobihub_input autosave_shinobihub_1" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
]
} ,
2021-04-04 04:46:58 +00:00
"AlternateLogins" : {
"name" : lang [ "Alternate Logins" ] ,
"color" : "orange" ,
"info" : [
{
2021-04-04 06:53:38 +00:00
"form-group-class-pre-layer" : "form-group" ,
2021-04-04 04:46:58 +00:00
"fieldType" : 'div' ,
"id" : "alternate-logins"
} ,
2021-04-08 02:03:24 +00:00
{
"fieldType" : "btn-group" ,
"forForm" : true ,
"btns" : [ ] ,
} ,
2021-04-04 04:46:58 +00:00
]
} ,
2019-03-15 07:32:18 +00:00
"2-Factor Authentication" : {
"name" : lang [ '2-Factor Authentication' ] ,
"color" : "grey" ,
"info" : [
{
"name" : "detail=factorAuth" ,
"field" : lang . Enabled ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextFactorAuth" ] ,
2019-03-15 07:32:18 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
]
} ,
"Profile" : {
2019-08-09 06:58:01 +00:00
"name" : lang . Profile ,
2019-03-15 07:32:18 +00:00
"color" : "grey" ,
"info" : [
{
"name" : "mail" ,
"field" : lang . Email ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextMail" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "ccio@m03.ca" ,
"possible" : ""
} ,
{
"name" : "pass" ,
"field" : lang . Password ,
"fieldType" : "password" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextPass" ] ,
2019-06-30 16:14:55 +00:00
"fieldType" : "password" ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
"name" : "password_again" ,
"field" : lang [ "Password Again" ] ,
"fieldType" : "password" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextPasswordAgain" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
"name" : "detail=size" ,
"field" : lang [ "Max Storage Amount" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextSize" ] ,
2019-03-15 07:32:18 +00:00
"default" : "10000" ,
"example" : "600000" ,
"possible" : "Up to 95% of your maximum storage space if only one master account exists." ,
"notForSubAccount" : true ,
"evaluation" : "details.edit_size !== '0'"
} ,
2019-05-05 20:30:07 +00:00
{
"name" : "detail=size_video_percent" ,
"field" : lang [ "Video Share" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextSizeVideoPercent" ] ,
2019-07-26 06:24:55 +00:00
"default" : "90" ,
2019-05-05 20:30:07 +00:00
"notForSubAccount" : true ,
} ,
{
"name" : "detail=size_timelapse_percent" ,
"field" : lang [ "Timelapse Frames Share" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextSizeTimelapsePercent" ] ,
2019-07-26 06:24:55 +00:00
"default" : "5" ,
"notForSubAccount" : true ,
} ,
{
"name" : "detail=size_filebin_percent" ,
"field" : lang [ "FileBin Share" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextSizeFilebinPercent" ] ,
2019-07-26 06:24:55 +00:00
"default" : "5" ,
2019-05-05 20:30:07 +00:00
"notForSubAccount" : true ,
} ,
2019-04-14 18:34:41 +00:00
{
hidden : true ,
"name" : "detail=addStorage" ,
"default" : "{}" ,
"notForSubAccount" : true ,
} ,
{
"fieldType" : 'div' ,
"id" : "add_storage_max_amounts"
} ,
2019-03-15 07:32:18 +00:00
{
"name" : "detail=days" ,
2019-08-20 06:51:45 +00:00
"field" : lang [ "Number of Days to keep" ] + ' ' + lang [ 'Videos' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextDays" ] ,
2019-03-15 07:32:18 +00:00
"default" : "5" ,
"example" : "30" ,
"possible" : "" ,
"notForSubAccount" : true ,
"evaluation" : "details.edit_days !== '0'"
} ,
{
"name" : "detail=event_days" ,
2019-08-20 06:51:45 +00:00
"field" : lang [ "Number of Days to keep" ] + ' ' + lang [ 'Events' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextEventDays" ] ,
2019-03-15 07:32:18 +00:00
"default" : "10" ,
"example" : "30" ,
"possible" : "" ,
"notForSubAccount" : true ,
"evaluation" : "details.edit_event_days !== '0'"
} ,
2022-06-25 07:10:17 +00:00
{
"name" : "detail=timelapseFrames_days" ,
"field" : lang [ "Number of Days to keep" ] + ' ' + lang [ 'Timelapse' ] ,
"description" : lang [ "fieldTextEventDays" ] ,
"default" : "60" ,
"notForSubAccount" : true ,
"evaluation" : "details.edit_timelapseFrames_days !== '0'"
} ,
2019-03-15 07:32:18 +00:00
{
"name" : "detail=log_days" ,
2019-08-20 06:51:45 +00:00
"field" : lang [ "Number of Days to keep" ] + ' ' + lang [ 'Logs' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextLogDays" ] ,
2019-03-15 07:32:18 +00:00
"default" : "10" ,
"example" : "30" ,
"possible" : "" ,
"notForSubAccount" : true ,
"evaluation" : "details.edit_log_days !== '0'"
} ,
{
"name" : "detail=lang" ,
"field" : lang [ "Dashboard Language" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextLang" ] ,
2019-03-15 07:32:18 +00:00
"default" : "en_CA" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : s . listOfPossibleLanguages
} ,
{
"name" : "detail=audio_note" ,
"field" : lang [ "Notification Sound" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextAudioNote" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : s . listOfAudioFiles
} ,
{
"name" : "detail=audio_alert" ,
"field" : lang [ "Alert Sound" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextAudioAlert" ] ,
2019-03-15 07:32:18 +00:00
"default" : "" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : s . listOfAudioFiles
} ,
{
"name" : "detail=audio_delay" ,
"field" : lang [ "Alert Sound Delay" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextAudioDelay" ] ,
2019-03-15 07:32:18 +00:00
"default" : "1" ,
"example" : "" ,
"possible" : ""
} ,
{
"name" : "detail=event_mon_pop" ,
"field" : lang [ "Popout Monitor on Event" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextEventMonPop" ] ,
2019-03-15 07:32:18 +00:00
"default" : "en_CA" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
}
]
} ,
"Monitor Groups" : {
"notForSubAccount" : true ,
"name" : lang [ "Monitor Groups" ] ,
"color" : "blue" ,
"headerClass" : "mon_groups" ,
"headerButtons" : [
{
"icon" : "plus" ,
"class" : "btn-success add"
} ,
{
"icon" : "trash-o" ,
"class" : "btn-danger delete"
}
] ,
"info" : [
{
"field" : lang [ "Monitor Groups" ] ,
"id" : "settings_mon_groups" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [ ]
} ,
{
"field" : lang [ "Group Name" ] ,
"description" : "Name of selected group." ,
"attribute" : "group=\"name\"" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
"hidden" : true ,
"field" : "Group ID" ,
"description" : "" ,
"attribute" : "group=\"id\"" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
"hidden" : true ,
"field" : "mon_groups" ,
"name" : "detail=mon_groups" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
}
]
} ,
"Uploaders" : {
"name" : lang [ "Uploaders" ] ,
"color" : "forestgreen" ,
2021-11-15 21:09:37 +00:00
"info" : [ ]
2019-03-15 07:32:18 +00:00
} ,
"Preferences" : {
"name" : lang . Preferences ,
"color" : "navy" ,
"info" : [
2022-06-17 21:46:18 +00:00
{
"field" : lang [ 'Clock Format' ] ,
"name" : "detail=clock_date_format" ,
"placeholder" : "$DAYNAME $DAY $MONTHNAME $YEAR" ,
} ,
2019-03-15 07:32:18 +00:00
{
2021-05-19 06:38:51 +00:00
"field" : lang . CSS ,
2019-03-15 07:32:18 +00:00
"name" : "detail=css" ,
fieldType : "textarea" ,
"placeholder" : "#main_header{background:#b59f00}" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
2021-06-14 23:33:54 +00:00
{
"field" : lang . hlsOptions ,
"name" : "localStorage=hlsOptions" ,
fieldType : "textarea" ,
"placeholder" : "{}" ,
} ,
2019-03-15 07:32:18 +00:00
{
"field" : lang [ 'Force Monitors Per Row' ] ,
"form-group-class" : "st_force_mon_rows_input st_force_mon_rows_1" ,
attribute : 'localStorage="montage_use"' ,
selector : 'st_force_mon_rows' ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"field" : lang [ 'Monitors per row' ] ,
"placeholder" : "3" ,
attribute : 'localStorage="montage"' ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
"field" : lang [ 'Browser Console Log' ] ,
attribute : 'localStorage="browserLog"' ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"field" : lang [ 'Get Logs to Client' ] ,
attribute : 'localStorage="get_server_log"' ,
"description" : "" ,
"default" : "1" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"field" : lang [ 'Show Thumbnails in Video List' ] ,
attribute : 'localStorage="showThumbnail"' ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
2019-08-09 06:58:01 +00:00
"name" : lang . No ,
2019-03-15 07:32:18 +00:00
"value" : "0"
} ,
{
2019-08-09 06:58:01 +00:00
"name" : lang . Yes ,
2019-03-15 07:32:18 +00:00
"value" : "1"
}
]
} ,
{
"field" : lang . Themes ,
"name" : "detail=theme" ,
attribute : 'localStorage="showThumbnail"' ,
"description" : "" ,
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : s . listOfThemes
} ,
]
}
}
2020-12-03 03:59:42 +00:00
} ,
2021-02-07 04:45:26 +00:00
"ONVIF Device Manager" : {
2020-12-03 04:15:39 +00:00
"section" : "ONVIF Device Manager" ,
2020-12-03 03:59:42 +00:00
"blocks" : {
2020-12-05 19:54:40 +00:00
"Notice" : {
2020-12-05 22:24:44 +00:00
"id" : "Notice" ,
2020-12-05 19:54:40 +00:00
"name" : lang [ "Notice" ] ,
"color" : "warning" ,
"blockquoteClass" : "global_tip" ,
"blockquote" : lang . onvifdeviceManagerGlobalTip ,
"info" : [
2021-11-24 05:05:56 +00:00
{
"field" : lang [ "Monitor" ] ,
"fieldType" : "select" ,
"class" : "monitors_list" ,
"possible" : [ ]
} ,
2020-12-05 22:24:44 +00:00
{
"fieldType" : "btn" ,
"class" : ` btn-warning onvif-device-reboot ` ,
"btnContent" : ` <i class="fa fa-refresh"></i> ${ lang [ 'Reboot Camera' ] } ` ,
} ,
2021-11-24 05:05:56 +00:00
{
"fieldType" : "div" ,
"class" : "p-2" ,
"divContent" : ` <pre class="bg-dark text-white" style="max-height: 400px;overflow: auto;" id="onvifDeviceManagerInfo"></pre> ` ,
}
2020-12-05 19:54:40 +00:00
]
} ,
2020-12-03 03:59:42 +00:00
"Network" : {
2020-12-05 22:24:44 +00:00
"id" : "Network" ,
2020-12-03 03:59:42 +00:00
"name" : lang [ "Network" ] ,
"color" : "purple" ,
"info" : [
{
2020-12-05 02:02:24 +00:00
"name" : "setNetworkInterface:DHCP" ,
2020-12-03 03:59:42 +00:00
"selector" : "onvif_dhcp" ,
"field" : lang . DHCP ,
"description" : "" ,
"default" : "true" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . Yes ,
"value" : "true"
} ,
{
"name" : lang . No ,
"value" : "false"
}
]
} ,
{
"field" : lang [ 'IP Address' ] ,
"name" : "setNetworkInterface:ipv4" ,
"placeholder" : "xxx.xxx.xxx.xxx" ,
"form-group-class" : "onvif_dhcp_input onvif_dhcp_1" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
"field" : lang [ 'Gateway' ] ,
"name" : "setGateway:ipv4" ,
"placeholder" : "xxx.xxx.xxx.xxx" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
"field" : lang [ 'Hostname' ] ,
"name" : "setHostname:name" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
"field" : lang [ 'DNS' ] ,
"name" : "setDNS:dns" ,
"placeholder" : "1.1.1.1,8.8.8.8" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
"field" : lang [ 'HTTP' ] + ' ' + lang [ 'Port' ] ,
2020-12-05 07:11:13 +00:00
"name" : "setProtocols:HTTP" ,
2020-12-03 03:59:42 +00:00
"placeholder" : "80" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
"field" : lang [ 'RTSP' ] + ' ' + lang [ 'Port' ] ,
2020-12-05 07:11:13 +00:00
"name" : "setProtocols:RTSP" ,
2020-12-03 03:59:42 +00:00
"placeholder" : "554" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
]
} ,
2020-12-03 04:15:39 +00:00
"Date and Time" : {
2020-12-05 22:24:44 +00:00
"id" : "DateandTime" ,
2020-12-03 04:15:39 +00:00
"name" : lang [ "Date and Time" ] ,
2020-12-03 03:59:42 +00:00
"color" : "purple" ,
"info" : [
{
"field" : lang [ 'UTCDateTime' ] ,
"name" : "utcDateTime" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
2020-12-04 22:06:09 +00:00
"field" : lang [ 'NTP Servers' ] ,
"name" : "setNTP:ipv4" ,
"placeholder" : "1.1.1.1,8.8.8.8" ,
2020-12-03 03:59:42 +00:00
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
2020-12-04 22:06:09 +00:00
"field" : lang [ 'DateTimeType' ] ,
"name" : "dateTimeType" ,
"fieldType" : "select" ,
"placeholder" : "" ,
2020-12-03 03:59:42 +00:00
"description" : "" ,
2020-12-04 22:06:09 +00:00
"default" : "" ,
2020-12-03 03:59:42 +00:00
"example" : "" ,
"possible" : [
{
2020-12-04 22:06:09 +00:00
"name" : lang . NTP ,
"value" : "NTP"
2020-12-03 03:59:42 +00:00
} ,
{
2020-12-04 22:06:09 +00:00
"name" : lang . Manual ,
"value" : "Manual"
2020-12-03 03:59:42 +00:00
}
]
} ,
{
2020-12-04 22:06:09 +00:00
"field" : lang . DaylightSavings ,
"name" : "daylightSavings" ,
2020-12-03 03:59:42 +00:00
"selector" : "onvif_dhcp" ,
"description" : "" ,
"default" : "true" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . Yes ,
"value" : "true"
} ,
{
"name" : lang . No ,
"value" : "false"
}
]
} ,
2020-12-04 22:06:09 +00:00
{
hidden : true ,
"field" : lang . TimeZone ,
"name" : "timezone" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
2020-12-03 03:59:42 +00:00
]
} ,
"Imaging" : {
2020-12-05 22:24:44 +00:00
"id" : "Imaging" ,
2020-12-03 03:59:42 +00:00
"name" : lang [ "Imaging" ] ,
"color" : "purple" ,
"info" : [
2020-12-05 19:54:40 +00:00
{
"field" : lang [ 'IrCutFilter' ] ,
"name" : "IrCutFilter" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "imaging-field" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . On ,
"value" : "ON" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextIrCutFilterOn" ]
2020-12-05 19:54:40 +00:00
} ,
{
"name" : lang . Off ,
"value" : "OFF" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextIrCutFilterOff" ]
2020-12-05 19:54:40 +00:00
} ,
{
"name" : lang . Auto ,
"value" : "AUTO" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextIrCutFilterAuto" ]
2020-12-05 19:54:40 +00:00
} ,
]
} ,
2020-12-03 03:59:42 +00:00
{
"field" : lang [ 'Brightness' ] ,
"name" : "Brightness" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "imaging-field" ,
"possible" : ""
} ,
{
"field" : lang [ 'ColorSaturation' ] ,
"name" : "ColorSaturation" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "imaging-field" ,
"possible" : ""
} ,
{
"field" : lang [ 'Contrast' ] ,
"name" : "Contrast" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "imaging-field" ,
2020-12-05 07:11:13 +00:00
"possible" : ""
} ,
{
"field" : lang [ 'BacklightCompensation' ] + ' : ' + lang [ 'Mode' ] ,
"name" : "BacklightCompensation:Mode" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "imaging-field" ,
2020-12-03 03:59:42 +00:00
"possible" : ""
} ,
{
"field" : lang [ 'Exposure' ] + ' : ' + lang [ 'Mode' ] ,
"name" : "Exposure:Mode" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "imaging-field" ,
"possible" : ""
} ,
{
"field" : lang [ 'Exposure' ] + ' : ' + lang [ 'MinExposureTime' ] ,
"name" : "Exposure:MinExposureTime" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "imaging-field" ,
"possible" : ""
} ,
{
"field" : lang [ 'Exposure' ] + ' : ' + lang [ 'MaxExposureTime' ] ,
"name" : "Exposure:MaxExposureTime" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "imaging-field" ,
"possible" : ""
} ,
{
"field" : lang [ 'Exposure' ] + ' : ' + lang [ 'MinGain' ] ,
"name" : "Exposure:MinGain" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "imaging-field" ,
"possible" : ""
} ,
{
"field" : lang [ 'Exposure' ] + ' : ' + lang [ 'MaxGain' ] ,
"name" : "Exposure:MaxGain" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "imaging-field" ,
"possible" : ""
} ,
{
"field" : lang [ 'Sharpness' ] ,
"name" : "Sharpness" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "imaging-field" ,
"possible" : ""
} ,
{
"field" : lang [ 'WideDynamicRange' ] + ' : ' + lang [ 'Mode' ] ,
"name" : "WideDynamicRange:Mode" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "imaging-field" ,
"possible" : ""
} ,
{
"field" : lang [ 'WhiteBalance' ] + ' : ' + lang [ 'Mode' ] ,
"name" : "WhiteBalance:Mode" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"form-group-class" : "imaging-field" ,
"possible" : ""
} ,
]
} ,
2020-12-03 04:15:39 +00:00
"Video Configuration" : {
2020-12-05 22:24:44 +00:00
"id" : "VideoConfiguration" ,
2020-12-03 04:15:39 +00:00
"name" : lang [ "Video Configuration" ] ,
"color" : "purple" ,
"info" : [
2020-12-04 04:38:37 +00:00
{
2020-12-04 22:06:09 +00:00
hidden : true ,
2020-12-04 04:38:37 +00:00
"field" : lang . Token ,
"name" : "videoToken" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
2020-12-03 04:15:39 +00:00
2020-12-04 04:38:37 +00:00
]
} ,
{
"field" : lang [ 'Name' ] ,
"name" : "Name" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
2020-12-04 15:44:41 +00:00
"field" : lang . Resolution ,
"name" : "detail=Resolution" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"fieldType" : "select" ,
"possible" : [
]
} ,
{
hidden : true ,
2020-12-04 04:38:37 +00:00
"field" : lang [ 'Width' ] ,
"name" : "Resolution:Width" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
2020-12-04 15:44:41 +00:00
hidden : true ,
2020-12-04 04:38:37 +00:00
"field" : lang [ 'Height' ] ,
"name" : "Resolution:Height" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
"field" : lang [ 'Quality' ] ,
"name" : "Quality" ,
2020-12-04 17:41:49 +00:00
"fieldType" : "number" ,
2020-12-04 04:38:37 +00:00
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
"field" : lang [ 'FrameRateLimit' ] ,
"name" : "RateControl:FrameRateLimit" ,
2020-12-04 17:41:49 +00:00
"fieldType" : "number" ,
2020-12-04 04:38:37 +00:00
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
"field" : lang [ 'EncodingInterval' ] ,
"name" : "RateControl:EncodingInterval" ,
2020-12-04 17:41:49 +00:00
"fieldType" : "number" ,
2020-12-04 04:38:37 +00:00
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
"field" : lang [ 'BitrateLimit' ] ,
"name" : "RateControl:BitrateLimit" ,
2020-12-04 15:44:41 +00:00
"fieldType" : "number" ,
2020-12-04 04:38:37 +00:00
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
"field" : lang [ 'GovLength' ] ,
"name" : "H264:GovLength" ,
2020-12-04 15:44:41 +00:00
"fieldType" : "number" ,
2020-12-04 04:38:37 +00:00
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
"field" : lang [ 'Encoding' ] ,
"name" : "Encoding" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "H264" ,
"example" : "" ,
2020-12-04 15:44:41 +00:00
"fieldType" : "select" ,
"possible" : [
]
2020-12-04 04:38:37 +00:00
} ,
{
2020-12-04 15:44:41 +00:00
"field" : lang [ 'H264Profile' ] ,
"name" : "H264:H264Profile" ,
2020-12-04 04:38:37 +00:00
"description" : "" ,
"default" : "" ,
"example" : "" ,
2020-12-04 15:44:41 +00:00
"fieldType" : "select" ,
"possible" : [
]
2020-12-04 04:38:37 +00:00
} ,
{
2020-12-04 15:44:41 +00:00
hidden : true ,
2020-12-04 04:38:37 +00:00
"field" : lang [ 'UseCount' ] ,
"name" : "UseCount" ,
"placeholder" : "" ,
"description" : "" ,
"default" : "" ,
"example" : "" ,
"possible" : ""
} ,
2020-12-03 04:15:39 +00:00
]
} ,
2020-12-03 03:59:42 +00:00
}
2021-02-07 04:45:26 +00:00
} ,
"Sub-Account Manager" : {
"section" : "Sub-Account Manager" ,
"blocks" : {
2021-02-07 20:03:17 +00:00
"Sub-Accounts" : {
2021-02-07 04:45:26 +00:00
"name" : lang [ 'Sub-Accounts' ] ,
2021-05-14 20:35:56 +00:00
"section-pre-class" : "col-md-6" ,
2021-04-21 06:29:13 +00:00
"color" : "orange" ,
2021-02-07 04:45:26 +00:00
"isSection" : true ,
"id" : "monSectionAccountList" ,
"info" : [
{
"fieldType" : "table" ,
id : "subAccountsList" ,
}
]
} ,
2021-05-14 20:35:56 +00:00
"Currently Active" : {
"name" : lang [ 'Currently Active' ] ,
"section-pre-class" : "col-md-6 search-parent" ,
"color" : "green" ,
"isSection" : true ,
"info" : [
{
"field" : lang [ 'Search' ] ,
"class" : 'search-controller' ,
} ,
{
"fieldType" : "div" ,
"class" : "search-body" ,
"id" : "currently-active-users" ,
"attribute" : ` style="max-height: 400px;overflow: auto;" ` ,
}
]
} ,
2021-02-07 04:45:26 +00:00
"Account Information" : {
"name" : lang [ 'Account Information' ] ,
2021-04-21 06:29:13 +00:00
"section-pre-class" : "col-md-6" ,
"color" : "blue" ,
2021-02-07 04:45:26 +00:00
"isSection" : true ,
2021-02-07 20:03:17 +00:00
"isForm" : true ,
2021-02-07 04:45:26 +00:00
"id" : "monSectionAccountInformation" ,
"info" : [
{
hidden : true ,
"name" : "uid" ,
"field" : "UID" ,
"fieldType" : "text"
} ,
{
"name" : "mail" ,
"field" : lang . Email ,
"fieldType" : "text" ,
"default" : "" ,
"possible" : ""
} ,
{
"name" : "pass" ,
"field" : lang . Password ,
"fieldType" : "password" ,
"default" : "" ,
"possible" : ""
} ,
{
"name" : "password_again" ,
"field" : lang [ 'Password Again' ] ,
"fieldType" : "password" ,
"default" : "" ,
"possible" : ""
} ,
{
2021-02-07 20:03:17 +00:00
forForm : true ,
2021-02-07 04:45:26 +00:00
"fieldType" : "btn" ,
"attribute" : ` type="reset" ` ,
"class" : ` btn-default reset-form ` ,
"btnContent" : ` <i class="fa fa-undo"></i> ${ lang [ 'Clear' ] } ` ,
} ,
{
"fieldType" : "btn" ,
2021-02-07 21:34:48 +00:00
"class" : ` btn-success submit-form ` ,
"btnContent" : ` <i class="fa fa-plus"></i> ${ lang [ 'Add New' ] } ` ,
2021-02-07 04:45:26 +00:00
} ,
2021-02-07 20:03:17 +00:00
{
hidden : true ,
"name" : "details" ,
"preFill" : "{}" ,
} ,
2021-02-07 04:45:26 +00:00
]
} ,
"Account Privileges" : {
"name" : lang [ 'Account Privileges' ] ,
2021-04-21 06:29:13 +00:00
"section-pre-class" : "col-md-6" ,
"color" : "red" ,
2021-02-07 04:45:26 +00:00
"isSection" : true ,
"id" : "monSectionAccountPrivileges" ,
"info" : [
{
"name" : "detail=allmonitors" ,
"field" : lang [ 'All Monitors and Privileges' ] ,
"default" : "0" ,
"fieldType" : "select" ,
2021-02-07 20:03:17 +00:00
"selector" : "h_perm_allmonitors" ,
2021-02-07 04:45:26 +00:00
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
}
]
} ,
{
"name" : "detail=monitor_create" ,
"field" : lang [ 'Can Create and Delete Monitors' ] ,
"default" : "0" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
}
]
} ,
{
"name" : "detail=user_change" ,
"field" : lang [ 'Can Change User Settings' ] ,
"default" : "0" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
}
]
} ,
{
"name" : "detail=view_logs" ,
"field" : lang [ 'Can View Logs' ] ,
"default" : "0" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
}
]
} ,
{
"name" : "detail=landing_page" ,
"field" : lang [ 'Landing Page' ] ,
"default" : "" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . Default ,
"value" : ""
} ,
{
"name" : lang . Timelapse ,
"value" : "timelapse"
}
]
} ,
{
2021-02-07 20:03:17 +00:00
"fieldType" : "div" ,
"class" : "h_perm_allmonitors_input h_perm_allmonitors_1" ,
2021-02-07 04:45:26 +00:00
id : "sub_accounts_permissions" ,
} ,
2021-02-07 21:34:48 +00:00
{
"fieldType" : "btn" ,
"class" : ` btn-success submit-form ` ,
"btnContent" : ` <i class="fa fa-plus"></i> ${ lang [ 'Add New' ] } ` ,
} ,
2021-02-07 04:45:26 +00:00
]
} ,
}
2021-02-09 04:45:35 +00:00
} ,
"API Keys" : {
"section" : "API Keys" ,
"blocks" : {
"Add New" : {
"name" : lang [ 'Add New' ] ,
2021-04-21 06:29:13 +00:00
"section-pre-class" : "col-md-6" ,
"color" : "forestgreen" ,
2021-02-09 04:45:35 +00:00
"isSection" : true ,
"isForm" : true ,
"id" : "apiKeySectionAddNew" ,
"info" : [
{
"name" : "ip" ,
"field" : lang [ 'Allowed IPs' ] ,
"default" : ` 0.0.0.0 ` ,
"placeholder" : ` 0.0.0.0 ${ lang [ 'for Global Access' ] } ` ,
2022-03-21 07:27:45 +00:00
"description" : lang [ lang [ "fieldTextIp" ] ] ,
2021-02-09 04:45:35 +00:00
"fieldType" : "text"
} ,
{
"name" : "detail=permissions" ,
"field" : lang [ 'Permissions' ] ,
"default" : "" ,
"fieldType" : "select" ,
"attribute" : ` multiple style="height:150px;" ` ,
"possible" : [
{
name : lang [ 'Can Authenticate Websocket' ] ,
value : 'auth_socket' ,
} ,
{
name : lang [ 'Can Get Monitors' ] ,
value : 'get_monitors' ,
} ,
{
name : lang [ 'Can Control Monitors' ] ,
value : 'control_monitors' ,
} ,
{
name : lang [ 'Can Get Logs' ] ,
value : 'get_logs' ,
} ,
{
name : lang [ 'Can View Streams' ] ,
value : 'watch_stream' ,
} ,
{
name : lang [ 'Can View Snapshots' ] ,
value : 'watch_snapshot' ,
} ,
{
name : lang [ 'Can View Videos' ] ,
value : 'watch_videos' ,
} ,
{
name : lang [ 'Can Delete Videos' ] ,
value : 'delete_videos' ,
} ,
]
} ,
{
hidden : true ,
"name" : "details" ,
"preFill" : "{}" ,
} ,
{
"forForm" : true ,
"fieldType" : "btn" ,
"class" : ` btn-success ` ,
"attribute" : ` type="submit" ` ,
"btnContent" : ` <i class="fa fa-plus"></i> ${ lang [ 'Add New' ] } ` ,
} ,
]
} ,
"API Keys" : {
"name" : lang [ 'API Keys' ] ,
2021-04-21 06:29:13 +00:00
"section-pre-class" : "col-md-6" ,
"color" : "blue" ,
2021-02-09 04:45:35 +00:00
"isSection" : true ,
"id" : "apiKeySectionList" ,
"info" : [
{
"fieldType" : "table" ,
2021-04-21 06:29:13 +00:00
"id" : "api_list" ,
2021-02-09 04:45:35 +00:00
}
]
} ,
}
2021-04-07 03:55:16 +00:00
} ,
"LDAP" : {
"section" : "LDAP" ,
"blocks" : {
"LDAP" : {
"evaluation" : "details.use_ldap!=='0'" ,
"name" : lang [ "LDAP" ] ,
"color" : "forestgreen" ,
"info" : [
{
"name" : "ldap_url" ,
"field" : lang . URL ,
"description" : "" ,
2021-04-08 02:03:24 +00:00
"example" : "ldap://127.0.0.1:389" ,
2021-04-07 03:55:16 +00:00
"possible" : ""
} ,
{
"name" : "username" ,
"field" : lang . Username ,
"description" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
"name" : "password" ,
"field" : lang . Password ,
"description" : "" ,
"example" : "" ,
"possible" : ""
} ,
{
"name" : "ldap_bindDN" ,
"field" : lang . bindDN ,
"description" : "" ,
"example" : "cn=admin,dc=test,dc=com" ,
"possible" : ""
} ,
{
"name" : "ldap_searchBase" ,
"field" : lang [ 'Search Base' ] ,
"description" : "" ,
"example" : "dc=test,dc=com" ,
"possible" : ""
} ,
{
"name" : "ldap_searchFilter" ,
"field" : lang [ 'Search Filter' ] ,
"description" : "" ,
"example" : "uid={{username}}" ,
"possible" : ""
} ,
{
"fieldType" : "btn" ,
"forForm" : true ,
"attribute" : ` type="submit" ` ,
"class" : ` btn-success ` ,
"btnContent" : ` <i class="fa fa-check"></i> ${ lang [ 'Save' ] } ` ,
} ,
]
}
}
2021-04-21 06:29:13 +00:00
} ,
"Region Editor" : {
"section" : "Region Editor" ,
"blocks" : {
"Regions" : {
"name" : lang [ "Regions" ] ,
"headerTitle" : ` <span class="cord_name"> </span>
< div class = "pull-right" >
2021-10-18 19:17:39 +00:00
< a href = # class = "btn btn-success btn-sm add" > < i class = "fa fa-plus" > < / i > < / a >
< a href = # class = "btn btn-danger btn-sm erase" > < i class = "fa fa-trash-o" > < / i > < / a >
2021-04-21 06:29:13 +00:00
< / d i v > ` ,
"color" : "orange" ,
"section-pre-class" : "col-md-6" ,
2021-05-04 20:17:43 +00:00
"section-class" : "where" ,
2021-04-21 06:29:13 +00:00
"info" : [
2021-05-04 20:17:43 +00:00
{
"field" : lang [ "Monitor" ] ,
"id" : "region_editor_monitors" ,
"fieldType" : "select" ,
} ,
2021-04-21 06:29:13 +00:00
{
"id" : "regions_list" ,
"field" : lang [ "Regions" ] ,
"fieldType" : "select" ,
"possible" : [ ]
} ,
{
"name" : "name" ,
"field" : lang [ 'Region Name' ] ,
} ,
{
"name" : "sensitivity" ,
"field" : lang [ 'Minimum Change' ] ,
} ,
{
"name" : "max_sensitivity" ,
"field" : lang [ 'Maximum Change' ] ,
} ,
{
"name" : "threshold" ,
"field" : lang [ 'Trigger Threshold' ] ,
} ,
{
"name" : "color_threshold" ,
"field" : lang [ 'Color Threshold' ] ,
} ,
{
2021-10-18 19:17:39 +00:00
hidden : true ,
2021-04-21 06:29:13 +00:00
id : "regions_points" ,
"fieldType" : "table" ,
"class" : 'table table-striped' ,
} ,
{
"fieldType" : "btn" ,
2021-10-18 19:17:39 +00:00
attribute : "href=#" ,
2021-05-04 20:17:43 +00:00
"class" : ` btn-info toggle-region-still-image ` ,
2021-04-21 06:29:13 +00:00
"btnContent" : ` <i class="fa fa-retweet"></i> ${ lang [ 'Live Stream Toggle' ] } ` ,
} ,
2021-10-18 20:44:29 +00:00
{
"fieldType" : "btn" ,
forForm : true ,
attribute : "href=#" ,
"class" : ` btn-success ` ,
"btnContent" : ` <i class="fa fa-check"></i> ${ lang [ 'Save' ] } ` ,
} ,
2021-04-21 06:29:13 +00:00
]
} ,
"Points" : {
"name" : lang [ "Points" ] ,
"color" : "orange" ,
"section-pre-class" : "col-md-6" ,
"blockquoteClass" : "global_tip" ,
"blockquote" : lang . RegionNote ,
"info" : [
{
"fieldType" : "div" ,
class : "canvas_holder" ,
divContent : ` <div id="region_editor_live"><iframe></iframe><img></div>
< textarea id = "regions_canvas" rows = 3 class = "hidden canvas-area input-xxlarge" disabled > < / t e x t a r e a > ` ,
}
]
}
2021-04-07 03:55:16 +00:00
}
2021-04-22 16:45:20 +00:00
} ,
"Schedules" : {
"section" : "Schedules" ,
"blocks" : {
2021-12-05 05:37:10 +00:00
"Info" : {
"name" : lang [ "Monitor States and Schedules" ] ,
"color" : "blue" ,
"section-pre-class" : "col-md-12" ,
"blockquoteClass" : "global_tip" ,
"blockquote" : lang . MonitorStatesText ,
"info" : [
{
"fieldType" : "btn" ,
"attribute" : ` page-open="monitorStates" ` ,
"class" : ` btn-primary ` ,
"btnContent" : ` <i class="fa fa-align-right"></i> ${ lang [ "Monitor States" ] } ` ,
} ,
]
} ,
2021-04-22 16:45:20 +00:00
"Schedules" : {
"name" : lang [ "Schedules" ] ,
"color" : "orange" ,
"section-pre-class" : "col-md-6" ,
"info" : [
{
"id" : "schedulesSelector" ,
"field" : lang [ "Schedules" ] ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang [ 'Add New' ] ,
"value" : ""
} ,
{
"name" : lang . Saved ,
"optgroup" : [ ]
} ,
]
} ,
]
} ,
"Schedule" : {
"name" : lang [ "Schedule" ] ,
2021-04-27 01:23:08 +00:00
"headerTitle" : ` ${ lang [ 'Schedule' ] }
2021-04-22 16:45:20 +00:00
< div class = "pull-right" >
< a class = "btn btn-danger btn-xs delete" style = "display:none" > & nbsp ; < i class = "fa fa-trash-o" > < / i > & n b s p ; < / a >
< / d i v > ` ,
"color" : "green" ,
"section-pre-class" : "col-md-6" ,
"info" : [
{
"name" : "name" ,
"field" : lang . Name ,
"description" : "" ,
"example" : "Motion Off" ,
"possible" : ""
} ,
{
"name" : "enabled" ,
"field" : lang . Enabled ,
"default" : "1" ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang . No ,
"value" : "0"
} ,
{
"name" : lang . Yes ,
"value" : "1"
}
]
} ,
{
"name" : "timezone" ,
"field" : lang [ 'Timezone Offset' ] ,
"default" : config . timeZones . find ( tz => ! ! tz . selected ) . value ,
"fieldType" : "select" ,
"possible" : config . timeZones . map ( ( tz ) => {
return {
"name" : tz . text ,
"value" : tz . value
}
} )
} ,
{
"name" : "start" ,
"field" : lang . Start ,
"description" : "" ,
"placeholder" : "HH:mm" ,
"possible" : "1:00"
} ,
{
"name" : "end" ,
"field" : lang . End ,
"description" : "" ,
"placeholder" : "HH:mm" ,
"possible" : "2:00"
} ,
{
"name" : "days" ,
"field" : lang . Days ,
"default" : "0" ,
"fieldType" : "select" ,
"attribute" : "multiple" ,
"possible" : [
{
"name" : lang . Sunday ,
"value" : "0"
} ,
{
"name" : lang . Monday ,
"value" : "1"
} ,
{
"name" : lang . Tuesday ,
"value" : "2"
} ,
{
"name" : lang . Wednesday ,
"value" : "3"
} ,
{
"name" : lang . Thursday ,
"value" : "4"
} ,
{
"name" : lang . Friday ,
"value" : "5"
} ,
{
"name" : lang . Saturday ,
"value" : "6"
} ,
]
} ,
{
"name" : "monitorStates" ,
"field" : lang [ 'Monitor States' ] ,
"fieldType" : "select" ,
"attribute" : ` multiple style="min-height:100px" ` ,
"possible" : [ ]
} ,
]
} ,
}
} ,
2021-04-27 01:23:08 +00:00
"Monitor States" : {
"section" : "Monitor States" ,
"blocks" : {
2021-12-05 05:37:10 +00:00
"Info" : {
"name" : lang [ "Monitor States and Schedules" ] ,
"color" : "blue" ,
"section-pre-class" : "col-md-12" ,
"blockquoteClass" : "global_tip" ,
"blockquote" : lang . MonitorStatesText ,
"info" : [
{
"fieldType" : "btn" ,
"attribute" : ` page-open="schedules" ` ,
"class" : ` btn-primary ` ,
"btnContent" : ` <i class="fa fa-clock"></i> ${ lang [ "Schedules" ] } ` ,
} ,
]
} ,
2021-04-27 01:23:08 +00:00
"Monitor States" : {
2021-12-05 05:37:10 +00:00
noHeader : true ,
2021-04-27 01:23:08 +00:00
"color" : "green" ,
"section-pre-class" : "col-md-6" ,
"info" : [
{
"id" : "monitorStatesSelector" ,
"field" : lang [ "Monitor States" ] ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang [ 'Add New' ] ,
"value" : ""
} ,
{
"name" : lang [ 'Saved Presets' ] ,
"optgroup" : [ ]
} ,
]
} ,
]
} ,
"Preset" : {
"name" : lang [ "Preset" ] ,
"color" : "green" ,
"section-pre-class" : "col-md-6" ,
"info" : [
{
"fieldType" : "btn" ,
"attribute" : ` type="submit" style="display:none" ` ,
"class" : ` btn-danger delete ` ,
"btnContent" : ` <i class="fa fa-trash"></i> ${ lang . Delete } ` ,
} ,
{
"name" : "name" ,
"field" : lang . Name ,
"description" : "" ,
"example" : "Motion Off" ,
"possible" : ""
}
]
} ,
"Monitors" : {
"name" : lang [ "Monitors" ] ,
"color" : "green" ,
"section-pre-class" : "col-md-12" ,
"info" : [
{
"fieldType" : "btn" ,
"class" : ` btn-success add-monitor ` ,
"btnContent" : ` <i class="fa fa-plus"></i> ${ lang [ 'Add New' ] } ` ,
} ,
{
"fieldType" : "div" ,
id : "monitorStatesMonitors" ,
}
]
} ,
2021-04-07 03:55:16 +00:00
}
2021-04-27 01:23:08 +00:00
} ,
2021-05-04 20:17:43 +00:00
"Timelapse" : {
"section" : "Timelapse" ,
"blocks" : {
"Search Settings" : {
"name" : lang [ "Search Settings" ] ,
"color" : "green" ,
"section-pre-class" : "col-md-4" ,
"info" : [
{
"field" : lang [ "Monitor" ] ,
"fieldType" : "select" ,
2021-11-03 04:16:06 +00:00
"class" : "monitors_list" ,
2021-05-04 20:17:43 +00:00
"possible" : [ ]
} ,
{
"id" : "timelapsejpeg_date" ,
"field" : lang . Date ,
} ,
{
"id" : "timelapseJpegFps" ,
"field" : lang [ "Frame Rate" ] ,
"fieldType" : "range" ,
"min" : "1" ,
"max" : "30" ,
} ,
{
"fieldType" : "btn-group" ,
"btns" : [
{
"fieldType" : "btn" ,
"class" : ` btn-primary playPause playPauseText ` ,
"btnContent" : ` ${ lang [ 'Play' ] } ` ,
} ,
{
"fieldType" : "btn" ,
"class" : ` btn-success download_mp4 ` ,
"btnContent" : ` ${ lang [ 'Download' ] } ` ,
} ,
] ,
} ,
2021-05-14 20:35:56 +00:00
{
"fieldType" : "div" ,
"class" : "frameIcons mt-3 row scroll-style-6" ,
}
2021-05-04 20:17:43 +00:00
]
} ,
2021-05-14 20:35:56 +00:00
"Watch" : {
2022-06-27 07:31:27 +00:00
noHeader : true ,
2021-05-04 20:17:43 +00:00
"color" : "blue" ,
2022-06-27 21:23:49 +00:00
style : 'padding:0!important' ,
2021-05-04 20:17:43 +00:00
"section-pre-class" : "col-md-8" ,
"info" : [
{
"fieldType" : "div" ,
2021-05-14 20:35:56 +00:00
"class" : "playBackView" ,
"divContent" : "<img>"
2021-05-04 20:17:43 +00:00
}
]
} ,
}
} ,
"Event Filters" : {
"section" : "Event Filters" ,
"blocks" : {
"Saved Filters" : {
"name" : lang [ "Saved Filters" ] ,
"color" : "green" ,
"info" : [
{
"field" : lang [ "Monitor" ] ,
"id" : "event_filters_monitors" ,
"fieldType" : "select" ,
} ,
{
"fieldType" : "btn-group" ,
"class" : "mb-3" ,
"btns" : [
{
"fieldType" : "btn" ,
"class" : ` btn-success add-filter ` ,
"btnContent" : ` ${ lang [ 'Add New' ] } ` ,
} ,
{
"fieldType" : "btn" ,
"class" : ` btn-danger delete-filter ` ,
"btnContent" : ` ${ lang [ 'Delete' ] } ` ,
} ,
] ,
} ,
{
"id" : "detector_filters" ,
"field" : lang [ "Filters" ] ,
"fieldType" : "select" ,
} ,
{
hidden : true ,
"name" : "id" ,
} ,
2021-10-20 02:39:28 +00:00
{
"name" : "enabled" ,
"field" : lang . Enabled ,
"fieldType" : "select" ,
"default" : "1" ,
"possible" : [
{
"name" : "No" ,
"value" : "0" ,
} ,
{
2021-10-29 05:20:35 +00:00
"name" : lang . Yes ,
2021-10-20 02:39:28 +00:00
"value" : "1" ,
"selected" : true
}
]
} ,
2021-05-04 20:17:43 +00:00
{
"name" : "filter_name" ,
"field" : lang [ 'Filter Name' ] ,
} ,
]
} ,
"Conditions" : {
"name" : lang [ "Conditions" ] ,
"color" : "blue" ,
"section-class" : "where" ,
"info" : [
{
"fieldType" : "btn-group" ,
"class" : "mb-3" ,
"btns" : [
{
"fieldType" : "btn" ,
"class" : ` btn-success add ` ,
"btnContent" : ` ${ lang [ 'Add New' ] } ` ,
} ,
] ,
} ,
{
"id" : 'detector_filters_where' ,
"fieldType" : 'div' ,
} ,
]
} ,
"Action for Selected" : {
"name" : lang [ "Action for Selected" ] ,
"color" : "red" ,
2021-11-01 22:01:24 +00:00
"blockquote" : lang . eventFilterActionText ,
2021-05-04 20:17:43 +00:00
"section-class" : "actions" ,
"info" : [
{
"name" : "actions=halt" ,
"field" : "Drop Event" ,
"fieldType" : "select" ,
"form-group-class" : "actions-row" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextActionsHalt" ] ,
2021-10-20 02:39:28 +00:00
"default" : "0" ,
2021-05-04 20:17:43 +00:00
"possible" : [
{
"name" : "No" ,
"value" : "0" ,
"selected" : true
} ,
{
2021-10-29 05:20:35 +00:00
"name" : lang . Yes ,
2021-05-04 20:17:43 +00:00
"value" : "1" ,
}
]
} ,
{
"name" : "actions=save" ,
2021-10-29 04:00:52 +00:00
"field" : lang [ 'Save Events' ] ,
2021-05-04 20:17:43 +00:00
"fieldType" : "select" ,
"default" : "Yes" ,
"form-group-class" : "actions-row" ,
"possible" : [
{
2021-10-29 05:20:35 +00:00
"name" : lang [ 'Original Choice' ] ,
2021-05-04 20:17:43 +00:00
"value" : "" ,
"selected" : true
} ,
{
2021-10-29 05:20:35 +00:00
"name" : lang . Yes ,
2021-05-04 20:17:43 +00:00
"value" : "1" ,
}
]
} ,
2021-10-29 04:00:52 +00:00
{
"name" : "actions=indifference" ,
"field" : "Modify Indifference" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextActionsIndifference" ] ,
2021-10-29 04:00:52 +00:00
"form-group-class" : "actions-row" ,
} ,
2021-05-04 20:17:43 +00:00
{
"name" : "actions=webhook" ,
2021-10-29 04:00:52 +00:00
"field" : lang [ 'Legacy Webhook' ] ,
2021-05-04 20:17:43 +00:00
"fieldType" : "select" ,
"form-group-class" : "actions-row" ,
2021-10-29 04:00:52 +00:00
"default" : "" ,
2021-05-04 20:17:43 +00:00
"example" : "1" ,
"possible" : [
{
2021-10-29 05:20:35 +00:00
"name" : lang [ 'Original Choice' ] ,
2021-05-04 20:17:43 +00:00
"value" : "" ,
"selected" : true
} ,
{
2021-10-29 05:20:35 +00:00
"name" : lang . Yes ,
2021-05-04 20:17:43 +00:00
"value" : "1" ,
}
]
} ,
{
"name" : "actions=command" ,
"field" : "Detector Command" ,
"fieldType" : "select" ,
"form-group-class" : "actions-row" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextActionsCommand" ] ,
2021-05-04 20:17:43 +00:00
"default" : "No" ,
"form-group-class" : "actions-row" ,
"possible" : [
{
2021-10-29 05:20:35 +00:00
"name" : lang [ 'Original Choice' ] ,
2021-05-04 20:17:43 +00:00
"value" : "" ,
"selected" : true
} ,
{
2021-10-29 05:20:35 +00:00
"name" : lang . Yes ,
2021-05-04 20:17:43 +00:00
"value" : "1" ,
}
]
} ,
{
"name" : "actions=record" ,
"field" : "Use Record Method" ,
"fieldType" : "select" ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextActionsRecord" ] ,
2021-10-29 04:00:52 +00:00
"default" : "" ,
2021-05-04 20:17:43 +00:00
"form-group-class" : "actions-row" ,
"possible" : [
{
2021-10-29 05:20:35 +00:00
"name" : lang [ 'Original Choice' ] ,
2021-05-04 20:17:43 +00:00
"value" : "" ,
"selected" : true
} ,
{
2021-10-29 05:20:35 +00:00
"name" : lang . Yes ,
2021-05-04 20:17:43 +00:00
"value" : "1" ,
}
]
} ,
]
} ,
}
} ,
"ONVIF Scanner" : {
"section" : "ONVIF Scanner" ,
"blocks" : {
"Search Settings" : {
"name" : lang [ "Scan Settings" ] ,
"color" : "navy" ,
"blockquote" : lang . ONVIFnote ,
2021-05-04 22:50:10 +00:00
"section-pre-class" : "col-md-4" ,
2021-05-04 20:17:43 +00:00
"info" : [
{
"name" : "ip" ,
"field" : lang [ 'IP Address' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ lang [ "fieldTextIp" ] ] ,
2021-05-04 20:17:43 +00:00
"example" : "10.1.100.1-10.1.100.254" ,
} ,
{
"name" : "port" ,
"field" : lang [ 'Port' ] ,
"description" : lang . separateByCommasOrRange ,
"example" : "80,7575,8000,8080,8081" ,
} ,
{
"name" : "user" ,
"field" : lang [ 'Camera Username' ] ,
"placeholder" : "Can be left blank." ,
} ,
{
"name" : "pass" ,
"field" : lang [ 'Camera Password' ] ,
"fieldType" : "password" ,
} ,
{
"fieldType" : "btn-group" ,
"btns" : [
{
"fieldType" : "btn" ,
"forForm" : true ,
"class" : ` btn-block btn-success ` ,
"btnContent" : ` ${ lang [ 'Search' ] } <span class="_loading" style="display:none"> <i class="fa fa-pulse fa-spinner"></i></span> ` ,
} ,
{
"fieldType" : "btn" ,
"class" : ` btn-default add-all ` ,
"btnContent" : ` ${ lang [ 'Add All' ] } ` ,
} ,
] ,
} ,
]
} ,
"Found Devices" : {
"name" : lang [ 'Found Devices' ] ,
"color" : "blue" ,
2021-05-04 22:50:10 +00:00
"section-pre-class" : "col-md-8" ,
2021-05-04 20:17:43 +00:00
"info" : [
{
"fieldType" : "div" ,
2021-05-04 22:50:10 +00:00
"class" : "onvif_result row" ,
2021-05-04 20:17:43 +00:00
}
]
} ,
2021-10-17 03:06:02 +00:00
"Other Devices" : {
"name" : lang [ 'Other Devices' ] ,
"color" : "danger" ,
"section-pre-class" : "col-md-12" ,
"info" : [
{
"fieldType" : "div" ,
"class" : "onvif_result_error row" ,
}
]
} ,
2021-05-04 20:17:43 +00:00
}
} ,
"Camera Probe" : {
"section" : "Camera Probe" ,
"blocks" : {
"Search Settings" : {
"name" : lang [ "FFprobe" ] ,
"color" : "blue" ,
"blockquote" : ` <i>" ${ lang [ 'FFmpegTip' ] } "</i> - FFmpegTips ` ,
"section-pre-class" : "col-md-12" ,
"info" : [
{
"name" : "url" ,
"field" : lang [ 'Complete Stream URL' ] ,
"example" : "http://192.168.88.126/videostream.cgi or /dev/video0" ,
} ,
{
"fieldType" : "btn-group" ,
"btns" : [
{
"fieldType" : "btn" ,
"forForm" : true ,
"class" : ` btn-block btn-success ` ,
"btnContent" : ` ${ lang [ 'Check' ] } ` ,
} ,
{
"fieldType" : "btn" ,
"class" : ` btn-default fill ` ,
"btnContent" : ` ${ lang [ 'Save' ] } ` ,
} ,
] ,
} ,
{
"fieldType" : "div" ,
"class" : "output_data" ,
}
]
} ,
}
} ,
2021-05-19 06:38:51 +00:00
"Montior Configuration Finder" : {
2021-05-14 20:35:56 +00:00
"section" : "Montior Configuration Finder" ,
"blocks" : {
"Search Settings" : {
"name" : lang [ "Search Settings" ] ,
"color" : "navy" ,
"blockquote" : lang . monitorConfigFinderDescription ,
"section-pre-class" : "col-md-4" ,
"info" : [
{
"id" : "shinobihub-sort-by" ,
"field" : lang [ "Sort By" ] ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang [ 'Date Updated' ] ,
"value" : "dateUpdated"
} ,
{
"name" : lang [ 'Date Added' ] ,
"value" : "dateAdded"
} ,
{
"name" : lang [ 'Title' ] ,
"value" : "heading"
} ,
{
"name" : lang [ 'Subtitle' ] ,
"value" : "opening"
} ,
]
} ,
{
"id" : "shinobihub-sort-direction" ,
"field" : lang [ "Sort By" ] ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang [ 'Newest' ] ,
"value" : "DESC"
} ,
{
"name" : lang [ 'Oldest' ] ,
"value" : "ASC"
} ,
]
} ,
{
"id" : "shinobihub-search" ,
"field" : lang [ 'Search' ] ,
} ,
{
"id" : "shinobihub-pages" ,
"class" : "btn-group" ,
"fieldType" : "div" ,
}
]
} ,
"Monitor Settings" : {
"name" : lang [ 'Monitor Settings' ] ,
"color" : "blue" ,
"section-pre-class" : "col-md-8" ,
"info" : [
{
"id" : "shinobihub-results" ,
"class" : "text-center row" ,
"fieldType" : "div" ,
}
]
} ,
}
} ,
"Log Viewer" : {
"section" : "Log Viewer" ,
"blocks" : {
"Saved Logs" : {
"name" : lang [ "Saved Logs" ] ,
"color" : "blue" ,
"section-pre-class" : "col-md-6 search-parent" ,
"info" : [
{
"id" : "log_monitors" ,
"field" : lang [ "Type" ] ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang [ 'All Logs' ] ,
"value" : "all"
} ,
{
"name" : lang [ 'For Group' ] ,
"value" : "$USER"
} ,
{
"name" : lang . Monitors ,
"optgroup" : [ ]
}
]
} ,
{
"field" : lang [ 'Search' ] ,
"class" : 'search-controller' ,
} ,
{
"id" : "logs_daterange" ,
"field" : lang [ 'Date Range' ] ,
} ,
{
"fieldType" : "btn-group" ,
"btns" : [
{
"fieldType" : "btn" ,
"class" : "btn-default" ,
"forForm" : true ,
"attribute" : ` download type="button" ` ,
"btnContent" : ` ${ lang [ 'Export' ] } ` ,
} ,
{
"fieldType" : "btn" ,
"class" : "btn-success" ,
"forForm" : true ,
"attribute" : ` type="submit" ` ,
"btnContent" : ` ${ lang [ 'Check' ] } ` ,
} ,
] ,
} ,
{
"id" : "saved-logs-rows" ,
"fieldType" : "div" ,
"attribute" : ` style="max-height: 600px;overflow: auto;" ` ,
"class" : "search-body mt-3 px-3 row" ,
}
]
} ,
"Streamed Logs" : {
"name" : lang [ 'Streamed Logs' ] ,
"color" : "green" ,
"section-pre-class" : "col-md-6 search-parent" ,
"info" : [
{
"field" : lang [ 'Search' ] ,
"class" : 'search-controller' ,
} ,
{
"fieldType" : "div" ,
"id" : "global-log-stream" ,
"attribute" : ` style="max-height: 600px;overflow: auto;" ` ,
"class" : "search-body mt-3" ,
}
]
} ,
}
} ,
2021-05-30 05:45:46 +00:00
"Events" : {
"section" : "Events" ,
"blocks" : {
"Saved Logs" : {
"name" : lang [ "Search Settings" ] ,
"color" : "blue" ,
"section-pre-class" : "col-md-4" ,
"info" : [
{
"id" : "eventListWithPics-monitors-list" ,
"field" : lang [ "Type" ] ,
"fieldType" : "select" ,
"possible" : [
{
"name" : lang [ 'All Monitors' ] ,
"value" : "all"
} ,
{
"name" : lang . Monitors ,
"optgroup" : [ ]
}
]
} ,
{
"id" : "eventListWithPics-daterange" ,
"field" : lang [ 'Date Range' ] ,
} ,
{
"fieldType" : "btn-group" ,
"btns" : [
{
"fieldType" : "btn" ,
"class" : "btn-success" ,
"forForm" : true ,
"attribute" : ` type="submit" ` ,
"btnContent" : ` ${ lang [ 'Check' ] } ` ,
} ,
] ,
}
]
} ,
"Events Found" : {
"name" : lang [ 'Events Found' ] ,
"color" : "green" ,
"section-pre-class" : "col-md-8 search-parent" ,
"info" : [
{
"field" : lang [ 'Search' ] ,
"class" : 'search-controller' ,
} ,
{
"fieldType" : "div" ,
"id" : "eventListWithPics-rows" ,
"class" : "search-body mt-3 row" ,
}
]
} ,
}
} ,
2021-09-16 06:13:08 +00:00
"Monitor Settings Additional Input Map" : {
2021-06-13 02:36:05 +00:00
"section" : "Monitor Settings Additional Input Map" ,
"blocks" : {
"Connection" : {
2021-12-04 16:42:34 +00:00
"id" : ` monSectionMap $ [TEMP_ID] ` ,
2021-06-13 02:36:05 +00:00
"name" : ` ${ lang [ 'Input Map' ] } $ [NUMBER] ` ,
"section-class" : "input-map" ,
"color" : "orange" ,
"isSection" : true ,
"info" : [
{
"fieldType" : "btn-group" ,
"btns" : [
{
"fieldType" : "btn" ,
"class" : ` btn-danger delete mb-2 ` ,
"btnContent" : ` ${ lang [ 'Delete' ] } ` ,
}
] ,
} ,
{
name : 'map-detail=type' ,
field : lang [ 'Input Type' ] ,
default : 'h264' ,
attribute : 'selector="h_i_$[TEMP_ID]"' ,
"fieldType" : "select" ,
type : 'selector' ,
possible : [
{
"name" : "H.264 / H.265 / H.265+" ,
"value" : "h264"
} ,
{
"name" : "JPEG" ,
"value" : "jpeg"
} ,
{
"name" : "MJPEG" ,
"value" : "mjpeg"
} ,
{
"name" : "HLS (.m3u8)" ,
"value" : "hls"
} ,
{
"name" : "MPEG-4 (.mp4 / .ts)" ,
"value" : "mp4"
} ,
{
"name" : "Local" ,
"value" : "local"
} ,
{
"name" : "Raw" ,
"value" : "raw"
}
]
} ,
{
name : 'map-detail=fulladdress' ,
field : lang [ 'Full URL Path' ] ,
placeholder : 'Example : rtsp://admin:password@123.123.123.123/stream/1' ,
type : 'text' ,
} ,
{
name : 'map-detail=sfps' ,
field : lang [ 'Monitor Capture Rate' ] ,
placeholder : '' ,
type : 'text' ,
} ,
{
name : 'map-detail=aduration' ,
field : lang [ 'Analyzation Duration' ] ,
placeholder : 'Example : 1000000' ,
type : 'text' ,
} ,
{
name : 'map-detail=probesize' ,
field : lang [ 'Probe Size' ] ,
placeholder : 'Example : 1000000' ,
type : 'text' ,
} ,
{
name : 'map-detail=stream_loop' ,
field : lang [ 'Loop Stream' ] ,
class : 'h_i_$[TEMP_ID]_input h_i_$[TEMP_ID]_mp4 h_i_$[TEMP_ID]_raw' ,
hidden : true ,
default : '0' ,
"fieldType" : "select" ,
type : 'selector' ,
possible : [
{
"name" : lang . No ,
"value" : "0" ,
} ,
{
"name" : lang . Yes ,
"value" : "1" ,
}
]
} ,
{
name : 'map-detail=rtsp_transport' ,
field : lang [ 'RTSP Transport' ] ,
class : 'h_i_$[TEMP_ID]_input h_i_$[TEMP_ID]_h264' ,
default : '' ,
"fieldType" : "select" ,
type : 'selector' ,
possible : [
{
"name" : lang . Auto ,
"value" : "" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextMapRtspTransportAuto" ]
2021-06-13 02:36:05 +00:00
} ,
{
"name" : "TCP" ,
"value" : "tcp" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextMapRtspTransportTCP" ]
2021-06-13 02:36:05 +00:00
} ,
{
"name" : "UDP" ,
"value" : "udp" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextMapRtspTransportUDP" ]
2021-06-13 02:36:05 +00:00
}
]
} ,
{
name : 'map-detail=accelerator' ,
field : lang [ 'Accelerator' ] ,
attribute : 'selector="h_accel_$[TEMP_ID]"' ,
default : '0' ,
"fieldType" : "select" ,
type : 'selector' ,
possible : [
{
"name" : lang . No ,
"value" : "0" ,
} ,
{
"name" : lang . Yes ,
"value" : "1" ,
}
]
} ,
{
name : 'map-detail=hwaccel' ,
field : lang [ 'hwaccel' ] ,
class : 'h_accel_$[TEMP_ID]_input h_accel_$[TEMP_ID]_1' ,
hidden : true ,
default : '' ,
"fieldType" : "select" ,
type : 'selector' ,
possible : s . listOfHwAccels
} ,
{
name : 'map-detail=hwaccel_vcodec' ,
field : lang [ 'hwaccel_vcodec' ] ,
class : 'h_accel_$[TEMP_ID]_input h_accel_$[TEMP_ID]_1' ,
hidden : true ,
default : 'auto' ,
"fieldType" : "select" ,
type : 'selector' ,
possible : [
{
"name" : lang . Auto + '(' + lang . Recommended + ')' ,
"value" : ""
} ,
{
"name" : lang . NVIDIA ,
"optgroup" : [
{
"name" : lang . h264 _cuvid ,
"value" : "h264_cuvid"
} ,
{
"name" : lang . hevc _cuvid ,
"value" : "hevc_cuvid"
} ,
{
"name" : lang . mjpeg _cuvid ,
"value" : "mjpeg_cuvid"
} ,
{
"name" : lang . mpeg4 _cuvid ,
"value" : "mpeg4_cuvid"
} ,
]
} ,
{
"name" : lang [ "Quick Sync Video" ] ,
"optgroup" : [
{
"name" : lang . h264 _qsv ,
"value" : "h264_qsv"
} ,
{
"name" : lang . hevc _qsv ,
"value" : "hevc_qsv"
} ,
{
"name" : lang . mpeg2 _qsv ,
"value" : "mpeg2_qsv"
} ,
]
} ,
{
"name" : lang [ 'Raspberry Pi' ] ,
"optgroup" : [
{
"name" : lang . h264 _mmal ,
"value" : "h264_mmal"
} ,
{
"name" : lang . mpeg2 _mmal ,
"value" : "mpeg2_mmal"
} ,
{
"name" : lang [ "MPEG-4 (Raspberry Pi)" ] ,
"value" : "mpeg4_mmal"
}
]
} ,
]
} ,
{
name : 'map-detail=hwaccel_device' ,
field : lang [ 'hwaccel_device' ] ,
class : 'h_accel_$[TEMP_ID]_input h_accel_$[TEMP_ID]_1' ,
hidden : true ,
placeholder : 'Example : /dev/dri/video0' ,
type : 'text' ,
} ,
{
name : 'map-detail=cust_input' ,
field : lang [ 'Input Flags' ] ,
type : 'text' ,
} ,
]
}
}
2021-10-24 02:11:57 +00:00
} ,
2021-09-16 06:13:08 +00:00
"Monitor Settings Additional Stream Channel" : {
2021-06-13 02:36:05 +00:00
"section" : "Monitor Settings Additional Stream Channel" ,
"blocks" : {
"Stream" : {
"id" : ` monSectionChannel $ [TEMP_ID] ` ,
"name" : ` ${ lang [ "Stream Channel" ] } $ [NUMBER] ` ,
"color" : "blue" ,
"input-mapping" : "stream_channel-$[NUMBER]" ,
"isSection" : true ,
"section-class" : "stream-channel" ,
"info" : [
{
"fieldType" : "btn-group" ,
"btns" : [
{
"fieldType" : "btn" ,
"class" : ` btn-danger delete mb-2 ` ,
"btnContent" : ` ${ lang [ 'Delete' ] } ` ,
}
] ,
} ,
{
"field" : lang [ "Stream Type" ] ,
"name" : ` channel-detail="stream_type" ` ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextChannelStreamType" ] ,
2021-06-13 02:36:05 +00:00
"default" : "mp4" ,
"selector" : "h_st_channel_$[TEMP_ID]" ,
"fieldType" : "select" ,
"attribute" : ` triggerChange="#monSectionChannel $ [TEMP_ID] [channel-detail=stream_vcodec]" triggerChangeIgnore="b64,mjpeg" ` ,
"possible" : [
{
"name" : lang . Poseidon ,
"value" : "mp4" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextChannelStreamTypePoseidon" ]
2021-06-13 02:36:05 +00:00
} ,
{
"name" : lang [ "RTMP Stream" ] ,
"value" : "rtmp" ,
} ,
{
"name" : lang [ 'MJPEG' ] ,
"value" : "mjpeg" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextChannelStreamTypeMJPEG" ]
2021-06-13 02:36:05 +00:00
} ,
{
"name" : lang [ 'FLV' ] ,
"value" : "flv" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextChannelStreamTypeFLV" ]
2021-06-13 02:36:05 +00:00
} ,
{
"name" : lang [ 'HLS (includes Audio)' ] ,
"value" : "hls" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextChannelStreamTypeHLS(includesAudio)" ]
2021-06-13 02:36:05 +00:00
}
]
} ,
{
"field" : lang [ 'Server URL' ] ,
"name" : ` channel-detail="rtmp_server_url" ` ,
"form-group-class" : "h_st_channel_$[TEMP_ID]_input h_st_channel_$[TEMP_ID]_rtmp" ,
"example" : "rtmp://live-api.facebook.com:80/rtmp/" ,
} ,
{
"field" : lang [ 'Stream Key' ] ,
"name" : ` channel-detail="rtmp_stream_key" ` ,
"form-group-class" : "h_st_channel_$[TEMP_ID]_input h_st_channel_$[TEMP_ID]_rtmp" ,
"example" : "1111111111?ds=1&a=xxxxxxxxxx" ,
} ,
{
"field" : lang [ '# of Allow MJPEG Clients' ] ,
"name" : ` channel-detail="stream_mjpeg_clients" ` ,
"form-group-class" : "h_st_channel_$[TEMP_ID]_input h_st_channel_$[TEMP_ID]_mjpeg" ,
"placeholder" : "20" ,
} ,
{
"field" : lang [ 'Video Codec' ] ,
"name" : ` channel-detail="stream_vcodec" ` ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextChannelStreamVcodec" ] ,
2021-06-13 02:36:05 +00:00
"default" : "no" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_channel_$[TEMP_ID]_input h_st_channel_$[TEMP_ID]_hls h_st_channel_$[TEMP_ID]_rtmp h_st_channel_$[TEMP_ID]_flv h_st_channel_$[TEMP_ID]_mp4 h_st_channel_$[TEMP_ID]_h264" ,
2021-06-13 02:36:05 +00:00
"fieldType" : "select" ,
"selector" : "h_hls_v_channel_$[TEMP_ID]" ,
"possible" : [
{
"name" : lang . Auto ,
"value" : "no" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextChannelStreamVcodecAuto" ]
2021-06-13 02:36:05 +00:00
} ,
{
"name" : "libx264" ,
"value" : "libx264" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextChannelStreamVcodecLibx264" ]
2021-06-13 02:36:05 +00:00
} ,
{
"name" : "libx265" ,
"value" : "libx265" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextChannelStreamVcodecLibx265" ]
2021-06-13 02:36:05 +00:00
} ,
{
"name" : lang . copy ,
"value" : "copy" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextChannelStreamVcodecCopy" ]
2021-06-13 02:36:05 +00:00
} ,
{
"name" : lang [ 'Hardware Accelerated' ] ,
"optgroup" : [
{
"name" : "H.264 VA-API (Intel HW Accel)" ,
"value" : "h264_vaapi"
} ,
{
"name" : "H.265 VA-API (Intel HW Accel)" ,
"value" : "hevc_vaapi"
} ,
{
"name" : "H.264 NVENC (NVIDIA HW Accel)" ,
"value" : "h264_nvenc"
} ,
{
"name" : "H.265 NVENC (NVIDIA HW Accel)" ,
"value" : "hevc_nvenc"
} ,
{
"name" : "H.264 (Quick Sync Video)" ,
"value" : "h264_qsv"
} ,
{
"name" : "H.265 (Quick Sync Video)" ,
"value" : "hevc_qsv"
} ,
{
"name" : "MPEG2 (Quick Sync Video)" ,
"value" : "mpeg2_qsv"
} ,
{
"name" : "H.264 (Quick Sync Video)" ,
"value" : "h264_qsv"
} ,
{
"name" : "H.265 (Quick Sync Video)" ,
"value" : "hevc_qsv"
} ,
{
"name" : "MPEG2 (Quick Sync Video)" ,
"value" : "mpeg2_qsv"
} ,
{
"name" : "H.264 openMAX (Raspberry Pi)" ,
"value" : "h264_omx"
}
]
} ,
]
} ,
{
"field" : lang [ "Audio Codec" ] ,
"name" : ` channel-detail="stream_acodec" ` ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextChannelStreamAcodec" ] ,
2021-06-13 02:36:05 +00:00
"default" : "0" ,
"example" : "" ,
"fieldType" : "select" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_channel_$[TEMP_ID]_input h_st_channel_$[TEMP_ID]_hls h_st_channel_$[TEMP_ID]_rtmp h_st_channel_$[TEMP_ID]_flv h_st_channel_$[TEMP_ID]_mp4 h_st_channel_$[TEMP_ID]_h264" ,
2021-06-13 02:36:05 +00:00
"possible" : [
{
"name" : lang . Auto ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextChannelStreamAcodecAuto" ] ,
2021-06-13 02:36:05 +00:00
"value" : ""
} ,
{
"name" : lang [ "No Audio" ] ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextChannelStreamAcodecNoAudio" ] ,
2021-06-13 02:36:05 +00:00
"value" : "no"
} ,
{
"name" : "libvorbis" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextChannelStreamAcodecLibvorbis" ] ,
2021-06-13 02:36:05 +00:00
"value" : "libvorbis"
} ,
{
"name" : "libopus" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextChannelStreamAcodecLibopus" ] ,
2021-06-13 02:36:05 +00:00
"value" : "libopus"
} ,
{
"name" : "libmp3lame" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextChannelStreamAcodecLibmp3lame" ] ,
2021-06-13 02:36:05 +00:00
"value" : "libmp3lame"
} ,
{
"name" : "aac" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextChannelStreamAcodecAac" ] ,
2021-06-13 02:36:05 +00:00
"value" : "aac"
} ,
{
"name" : "ac3" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextChannelStreamAcodecAc3" ] ,
2021-06-13 02:36:05 +00:00
"value" : "ac3"
} ,
{
"name" : "copy" ,
2022-03-21 07:27:45 +00:00
"info" : lang [ "fieldTextChannelStreamAcodecCopy" ] ,
2021-06-13 02:36:05 +00:00
"value" : "copy"
}
]
} ,
{
"name" : "channel-detail=hls_time" ,
"field" : lang [ "HLS Segment Length" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextChannelHlsTime" ] ,
2021-06-13 02:36:05 +00:00
"default" : "2" ,
"form-group-class" : "h_st_channel_$[TEMP_ID]_input h_st_channel_$[TEMP_ID]_hls" ,
} ,
{
"name" : "channel-detail=hls_list_size" ,
"field" : lang [ "HLS List Size" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextChannelHlsListSize" ] ,
2021-06-13 02:36:05 +00:00
"default" : "2" ,
"form-group-class" : "h_st_channel_$[TEMP_ID]_input h_st_channel_$[TEMP_ID]_hls" ,
} ,
{
"name" : "channel-detail=preset_stream" ,
"field" : lang [ "HLS Preset" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextChannelPresetStream" ] ,
2021-06-13 02:36:05 +00:00
"example" : "ultrafast" ,
"form-group-class" : "h_st_channel_$[TEMP_ID]_input h_st_channel_$[TEMP_ID]_hls" ,
} ,
{
"name" : "channel-detail=stream_quality" ,
"field" : lang . Quality ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextChannelStreamQuality" ] ,
2021-06-13 02:36:05 +00:00
"default" : "15" ,
"example" : "1" ,
"form-group-class-pre-layer" : "h_hls_v_channel_$[TEMP_ID]_input h_hls_v_channel_$[TEMP_ID]_libx264 h_hls_v_channel_$[TEMP_ID]_libx265 h_hls_v_channel_$[TEMP_ID]_h264_nvenc h_hls_v_channel_$[TEMP_ID]_hevc_nvenc h_hls_v_channel_$[TEMP_ID]_no" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_channel_$[TEMP_ID]_input h_st_channel_$[TEMP_ID]_mjpeg h_st_channel_$[TEMP_ID]_hls h_st_channel_$[TEMP_ID]_rtmp h_st_channel_$[TEMP_ID]_jsmpeg h_st_channel_$[TEMP_ID]_flv h_st_channel_$[TEMP_ID]_mp4 h_st_channel_$[TEMP_ID]_h264" ,
2021-06-13 02:36:05 +00:00
"possible" : "1-23"
} ,
{
"name" : "channel-detail=stream_v_br" ,
"field" : lang [ "Video Bit Rate" ] ,
"placeholder" : "" ,
"form-group-class-pre-layer" : "h_hls_v_channel_$[TEMP_ID]_input h_hls_v_channel_$[TEMP_ID]_libx264 h_hls_v_channel_$[TEMP_ID]_libx265 h_hls_v_channel_$[TEMP_ID]_h264_nvenc h_hls_v_channel_$[TEMP_ID]_hevc_nvenc h_hls_v_channel_$[TEMP_ID]_no" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_channel_$[TEMP_ID]_input h_st_channel_$[TEMP_ID]_mjpeg h_st_channel_$[TEMP_ID]_hls h_st_channel_$[TEMP_ID]_rtmp h_st_channel_$[TEMP_ID]_jsmpeg h_st_channel_$[TEMP_ID]_flv h_st_channel_$[TEMP_ID]_mp4 h_st_channel_$[TEMP_ID]_h264" ,
2021-06-13 02:36:05 +00:00
} ,
{
"name" : "channel-detail=stream_a_br" ,
"field" : lang [ "Audio Bit Rate" ] ,
"placeholder" : "128k" ,
"form-group-class-pre-layer" : "h_hls_v_channel_$[TEMP_ID]_input h_hls_v_channel_$[TEMP_ID]_libx264 h_hls_v_channel_$[TEMP_ID]_libx265 h_hls_v_channel_$[TEMP_ID]_h264_nvenc h_hls_v_channel_$[TEMP_ID]_hevc_nvenc h_hls_v_channel_$[TEMP_ID]_no" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_channel_$[TEMP_ID]_input h_st_channel_$[TEMP_ID]_mjpeg h_st_channel_$[TEMP_ID]_hls h_st_channel_$[TEMP_ID]_rtmp h_st_channel_$[TEMP_ID]_jsmpeg h_st_channel_$[TEMP_ID]_flv h_st_channel_$[TEMP_ID]_mp4 h_st_channel_$[TEMP_ID]_h264" ,
2021-06-13 02:36:05 +00:00
} ,
{
"name" : "channel-detail=stream_fps" ,
"field" : lang [ 'Frame Rate' ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextChannelStreamFps" ] ,
2021-06-13 02:36:05 +00:00
"form-group-class-pre-layer" : "h_hls_v_channel_$[TEMP_ID]_input h_hls_v_channel_$[TEMP_ID]_libx264 h_hls_v_channel_$[TEMP_ID]_libx265 h_hls_v_channel_$[TEMP_ID]_h264_nvenc h_hls_v_channel_$[TEMP_ID]_hevc_nvenc h_hls_v_channel_$[TEMP_ID]_no" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_channel_$[TEMP_ID]_input h_st_channel_$[TEMP_ID]_mjpeg h_st_channel_$[TEMP_ID]_hls h_st_channel_$[TEMP_ID]_rtmp h_st_channel_$[TEMP_ID]_jsmpeg h_st_channel_$[TEMP_ID]_flv h_st_channel_$[TEMP_ID]_mp4 h_st_channel_$[TEMP_ID]_h264" ,
2021-06-13 02:36:05 +00:00
} ,
{
"name" : "channel-detail=stream_scale_x" ,
"field" : lang . Width ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextChannelStreamScaleX" ] ,
2021-06-13 02:36:05 +00:00
"fieldType" : "number" ,
"numberMin" : "1" ,
"example" : "640" ,
"form-group-class-pre-layer" : "h_hls_v_channel_$[TEMP_ID]_input h_hls_v_channel_$[TEMP_ID]_libx264 h_hls_v_channel_$[TEMP_ID]_libx265 h_hls_v_channel_$[TEMP_ID]_h264_nvenc h_hls_v_channel_$[TEMP_ID]_hevc_nvenc h_hls_v_channel_$[TEMP_ID]_no" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_channel_$[TEMP_ID]_input h_st_channel_$[TEMP_ID]_mjpeg h_st_channel_$[TEMP_ID]_hls h_st_channel_$[TEMP_ID]_rtmp h_st_channel_$[TEMP_ID]_jsmpeg h_st_channel_$[TEMP_ID]_flv h_st_channel_$[TEMP_ID]_mp4 h_st_channel_$[TEMP_ID]_h264" ,
2021-06-13 02:36:05 +00:00
} ,
{
"name" : "channel-detail=stream_scale_y" ,
"field" : lang . Height ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextChannelStreamScaleY" ] ,
2021-06-13 02:36:05 +00:00
"fieldType" : "number" ,
"numberMin" : "1" ,
"example" : "480" ,
"form-group-class-pre-layer" : "h_hls_v_channel_$[TEMP_ID]_input h_hls_v_channel_$[TEMP_ID]_libx264 h_hls_v_channel_$[TEMP_ID]_libx265 h_hls_v_channel_$[TEMP_ID]_h264_nvenc h_hls_v_channel_$[TEMP_ID]_hevc_nvenc h_hls_v_channel_$[TEMP_ID]_no" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_channel_$[TEMP_ID]_input h_st_channel_$[TEMP_ID]_mjpeg h_st_channel_$[TEMP_ID]_hls h_st_channel_$[TEMP_ID]_rtmp h_st_channel_$[TEMP_ID]_jsmpeg h_st_channel_$[TEMP_ID]_flv h_st_channel_$[TEMP_ID]_mp4 h_st_channel_$[TEMP_ID]_h264" ,
2021-06-13 02:36:05 +00:00
} ,
{
"name" : "channel-detail=stream_rotate" ,
"field" : lang [ "Rotate" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextChannelStreamRotate" ] ,
2021-06-13 02:36:05 +00:00
"fieldType" : "select" ,
"form-group-class-pre-layer" : "h_hls_v_channel_$[TEMP_ID]_input h_hls_v_channel_$[TEMP_ID]_libx264 h_hls_v_channel_$[TEMP_ID]_libx265 h_hls_v_channel_$[TEMP_ID]_h264_nvenc h_hls_v_channel_$[TEMP_ID]_hevc_nvenc h_hls_v_channel_$[TEMP_ID]_no" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_channel_$[TEMP_ID]_input h_st_channel_$[TEMP_ID]_mjpeg h_st_channel_$[TEMP_ID]_hls h_st_channel_$[TEMP_ID]_rtmp h_st_channel_$[TEMP_ID]_jsmpeg h_st_channel_$[TEMP_ID]_flv h_st_channel_$[TEMP_ID]_mp4 h_st_channel_$[TEMP_ID]_h264" ,
2021-06-13 02:36:05 +00:00
"possible" : [
{
"name" : lang [ "No Rotation" ] ,
"value" : "no"
} ,
{
"name" : lang [ "180 Degrees" ] ,
"value" : "2,transpose=2"
} ,
{
"name" : lang [ "90 Counter Clockwise and Vertical Flip (default)" ] ,
"value" : "0"
} ,
{
"name" : lang [ "90 Clockwise" ] ,
"value" : "1"
} ,
{
"name" : lang [ "90 Clockwise and Vertical Flip" ] ,
"value" : "2"
} ,
{
"name" : lang [ "90 Clockwise and Vertical Flip" ] ,
"value" : "3"
}
]
} ,
{
"name" : "channel-detail=svf" ,
"field" : lang [ "Video Filter" ] ,
2022-03-21 07:27:45 +00:00
"description" : lang [ "fieldTextChannelSvf" ] ,
2021-06-13 02:36:05 +00:00
"form-group-class-pre-layer" : "h_hls_v_channel_$[TEMP_ID]_input h_hls_v_channel_$[TEMP_ID]_libx264 h_hls_v_channel_$[TEMP_ID]_libx265 h_hls_v_channel_$[TEMP_ID]_h264_nvenc h_hls_v_channel_$[TEMP_ID]_hevc_nvenc h_hls_v_channel_$[TEMP_ID]_no" ,
2021-11-05 22:59:42 +00:00
"form-group-class" : "h_st_channel_$[TEMP_ID]_input h_st_channel_$[TEMP_ID]_mjpeg h_st_channel_$[TEMP_ID]_hls h_st_channel_$[TEMP_ID]_rtmp h_st_channel_$[TEMP_ID]_jsmpeg h_st_channel_$[TEMP_ID]_flv h_st_channel_$[TEMP_ID]_mp4 h_st_channel_$[TEMP_ID]_h264" ,
2021-06-13 02:36:05 +00:00
} ,
{
"name" : "channel-detail=cust_stream" ,
"field" : lang [ "Stream Flags" ] ,
} ,
]
}
2021-10-24 02:11:57 +00:00
}
2021-06-13 02:36:05 +00:00
} ,
2021-10-08 23:12:13 +00:00
"Monitor Stream Window" : {
"section" : "Monitor Stream Window" ,
// gridBlockClass: "",
// streamBlockPreHtml: `<div class="gps-map-info gps-map-details hidden">
// <div><i class="fa fa-compass fa-3x gps-info-bearing"></i></div>
// <div><i class="fa fa-compass fa-3x gps-info-speed"></i></div>
// <div></div>
// </div>
// <div class="gps-map gps-map-info hidden" id="gps-map-$MONITOR_ID"></div>`,
streamBlockHudHtml : ` <div class="camera_cpu_usage">
< div class = "progress" >
< div class = "progress-bar progress-bar-danger" role = "progressbar" style = "width: 0px;" > < span > < / s p a n > < / d i v >
< / d i v >
< / d i v >
< div class = "lamp" title = "$MONITOR_MODE" > < i class = "fa fa-eercast" > < / i > < / d i v > ` ,
streamBlockHudControlsHtml : ` <span title=" ${ lang [ 'Currently viewing' ] } " class="label label-default">
< span class = "viewers" > < / s p a n >
< / s p a n >
< a class = "btn btn-sm badge btn-warning run-monitor-detection-trigger-test" > $ { lang [ 'Trigger Event' ] } < / a >
` ,
gridBlockAfterContentHtml : ` <div class="mdl-card__supporting-text text-center">
< div class = "indifference detector-fade" >
< div class = "progress" >
< div class = "progress-bar progress-bar-danger" role = "progressbar" > < span > < / s p a n > < / d i v >
< / d i v >
< / d i v >
< div class = "monitor_details" >
< div class = "pull-left" >
< a title = "${lang['Options']}" class = "btn btn-sm badge btn-secondary toggle-live-grid-monitor-menu" > < i class = "fa fa-bars" > < / i > < / a >
2021-12-05 03:49:25 +00:00
< a title = "${lang['Edit']}" class = "btn btn-sm badge btn-primary open-monitor-settings" > < i class = "fa fa-wrench" > < / i > < / a >
< a title = "${lang['Toggle Substream']}" class = "btn btn-sm badge btn-secondary toggle-monitor-substream" > < i class = "fa fa-eye" > < / i > < / a >
2021-10-08 23:12:13 +00:00
< a title = "${lang['Snapshot']}" class = "btn btn-sm badge btn-warning snapshot-live-grid-monitor" > < i class = "fa fa-camera" > < / i > < / a >
< a title = "${lang['Videos List']}" class = "btn btn-sm badge btn-secondary open-videos" > < i class = "fa fa-film" > < / i > < / a >
2021-12-05 03:13:27 +00:00
< a title = "${lang['Show Logs']}" class = "btn btn-sm badge btn-warning toggle-live-grid-monitor-logs" > < i class = "fa fa-exclamation-triangle" > < / i > < / a >
2021-10-08 23:12:13 +00:00
< a title = "${lang['Close']}" class = "btn btn-sm badge btn-danger close-live-grid-monitor" > < i class = "fa fa-times" > < / i > < / a >
< / d i v >
< div > < span class = "monitor_name" > $MONITOR _NAME < / s p a n > < / d i v >
< / d i v >
< / d i v >
< div class = "mdl-data_window pull-right" >
< div class = "d-flex flex-row" style = "height: 100%;" >
< div class = "data-menu col-md-6 p-2 videos-mini scrollable" > < / d i v >
< div class = "data-menu col-md-6 p-2 logs scrollable" > < / d i v >
< / d i v >
< / d i v > ` ,
links : {
"Mute Audio" : {
"label" : lang [ 'Mute Audio' ] ,
"attr" : ` system="monitorMuteAudioSingle" mid=" $ MONITOR_ID" ` ,
"class" : "primary" ,
"icon" : '$MONITOR_MUTE_ICON'
} ,
"Snapshot" : {
"label" : lang [ 'Snapshot' ] ,
"class" : "primary snapshot-live-grid-monitor" ,
"icon" : "camera"
} ,
"Show Logs" : {
"label" : lang [ 'Show Logs' ] ,
"class" : "warning toggle-live-grid-monitor-logs" ,
"icon" : "exclamation-triangle"
} ,
2021-12-05 03:49:25 +00:00
"Show Logs" : {
"label" : lang [ 'Toggle Substream' ] ,
"class" : "warning toggle-monitor-substream" ,
"icon" : "eye"
} ,
2021-10-08 23:12:13 +00:00
"Control" : {
"label" : lang [ 'Control' ] ,
"class" : "default toggle-live-grid-monitor-ptz-controls" ,
"icon" : "arrows"
} ,
"Reconnect Stream" : {
"label" : lang [ 'Reconnect Stream' ] ,
"class" : "success signal reconnect-live-grid-monitor" ,
"icon" : "plug"
} ,
"Pop" : {
"label" : lang [ 'Pop' ] ,
"class" : "default run-live-grid-monitor-pop" ,
"icon" : "external-link"
} ,
"Zoom In" : {
"label" : lang [ 'Zoom In' ] ,
"attr" : ` monitor="zoomStreamWithMouse" ` ,
"class" : "default" ,
"icon" : "search-plus"
} ,
// "Calendar": {
// "label": lang['Calendar'],
// "attr": `monitor="calendar"`,
// "class": "default ",
// "icon": "calendar"
// },
// "Power Viewer": {
// "label": lang['Power Viewer'],
// "attr": `monitor="powerview"`,
// "class": "default",
// "icon": "map-marker"
// },
"Time-lapse" : {
"label" : lang [ 'Time-lapse' ] ,
"attr" : ` monitor="timelapseJpeg" ` ,
"class" : "default" ,
"icon" : "angle-double-right"
} ,
// "Video Grid": {
// "label": "Video Grid",
// "attr": `monitor="video_grid"`,
// "class": "default",
// "icon": "th"
// },
"Videos List" : {
"label" : lang [ 'Videos List' ] ,
"class" : "default open-videos" ,
"icon" : "film"
} ,
"Monitor Settings" : {
"label" : lang [ 'Monitor Settings' ] ,
"class" : "default open-monitor-settings" ,
"icon" : "wrench"
} ,
"Fullscreen" : {
"label" : lang [ 'Fullscreen' ] ,
"class" : "default toggle-live-grid-monitor-fullscreen" ,
"icon" : "arrows-alt"
} ,
"Close" : {
"label" : lang [ 'Close' ] ,
"class" : "danger close-live-grid-monitor" ,
"icon" : "times"
}
}
} ,
2021-10-08 04:49:34 +00:00
"Monitor Options" : {
"section" : "Monitor Options" ,
2021-10-20 02:39:28 +00:00
"dropdownClass" : ` ${ Theme . isDark ? 'dropdown-menu-dark' : '' } ${ mainBackgroundColor } `
2021-10-08 04:49:34 +00:00
} ,
"SideMenu" : {
"section" : "SideMenu" ,
2021-10-21 00:18:09 +00:00
showMonitors : true ,
2021-10-08 04:49:34 +00:00
"blocks" : {
"Container1" : {
// "id": "sidebarMenu",
2021-10-09 19:56:45 +00:00
"class" : ` col-md-3 col-lg-2 d-md-block ${ mainBackgroundColor } sidebar collapse ` ,
"links" : [
2021-10-08 04:49:34 +00:00
{
icon : 'home' ,
label : lang . Home ,
pageOpen : 'initial' ,
} ,
{
icon : 'th' ,
label : lang [ 'Live Grid' ] + `
< span class = "badge bg-light text-dark rounded-pill align-text-bottom liveGridOpenCount" > 0 < / s p a n > ` ,
pageOpen : 'liveGrid' ,
addUl : true ,
ulItems : [
{
label : lang [ 'Open All Monitors' ] ,
class : 'open-all-monitors cursor-pointer' ,
color : 'orange' ,
} ,
2021-10-24 06:24:58 +00:00
{
label : lang [ 'Close All Monitors' ] ,
class : 'close-all-monitors cursor-pointer' ,
color : 'red' ,
} ,
2021-10-08 04:49:34 +00:00
{
2022-06-26 07:57:59 +00:00
label : lang [ 'Remember Positions' ] ,
2021-10-08 04:49:34 +00:00
class : 'cursor-pointer' ,
attributes : 'shinobi-switch="monitorOrder" ui-change-target=".dot" on-class="dot-green" off-class="dot-grey"' ,
color : 'grey' ,
} ,
{
label : lang [ 'Mute Audio' ] ,
class : 'cursor-pointer' ,
attributes : 'shinobi-switch="monitorMuteAudio" ui-change-target=".dot" on-class="dot-green" off-class="dot-grey"' ,
color : 'grey' ,
} ,
{
label : lang [ 'JPEG Mode' ] ,
class : 'cursor-pointer' ,
attributes : 'shinobi-switch="jpegMode" ui-change-target=".dot" on-class="dot-green" off-class="dot-grey"' ,
color : 'grey' ,
} ,
{
label : lang [ 'Stream in Background' ] ,
class : 'cursor-pointer' ,
2022-06-26 07:57:59 +00:00
attributes : 'shinobi-switch="backgroundStream" ui-change-target=".dot" on-class="dot-green" off-class="dot-grey"' ,
2021-10-08 04:49:34 +00:00
color : 'grey' ,
} ,
2022-05-11 01:57:41 +00:00
{
2022-06-26 07:57:59 +00:00
label : lang [ ` Original Aspect Ratio ` ] ,
2022-05-11 01:57:41 +00:00
class : 'cursor-pointer' ,
2022-06-26 07:57:59 +00:00
attributes : 'shinobi-switch="dontMonStretch" ui-change-target=".dot" on-class="dot-green" off-class="dot-grey"' ,
color : 'grey' ,
} ,
{
label : lang [ ` Hide Detection on Stream ` ] ,
class : 'cursor-pointer' ,
attributes : 'shinobi-switch="dontShowDetection" ui-change-target=".dot" on-class="dot-green" off-class="dot-grey"' ,
2022-05-11 01:57:41 +00:00
color : 'grey' ,
} ,
2021-10-08 04:49:34 +00:00
]
} ,
{
icon : 'video-camera' ,
label : ` ${ lang . Monitors }
< span class = "badge bg-light text-dark rounded-pill align-text-bottom cameraCount" > < i class = "fa fa-spinner fa-pulse" > < / i > < / s p a n > ` ,
pageOpen : 'monitorsList' ,
} ,
2022-06-27 23:31:01 +00:00
{
icon : 'film' ,
label : ` ${ lang [ 'Videos' ] } ` ,
pageOpen : 'videosTableView' ,
} ,
2021-10-24 05:39:05 +00:00
{
icon : 'map-marker' ,
label : ` ${ lang [ 'Power Viewer' ] } ` ,
pageOpen : 'powerVideo' ,
} ,
2021-11-03 04:17:56 +00:00
{
icon : 'calendar' ,
label : ` ${ lang [ 'Calendar' ] } ` ,
pageOpen : 'calendarView' ,
} ,
2021-10-08 04:49:34 +00:00
{
2021-12-05 05:04:07 +00:00
icon : 'fast-forward' ,
label : ` ${ lang [ 'Time-lapse' ] } ` ,
pageOpen : 'timelapseViewer' ,
2022-06-26 07:57:59 +00:00
addUl : true ,
ulItems : [
{
label : lang [ ` Save Built Video on Completion ` ] ,
class : 'cursor-pointer' ,
attributes : 'shinobi-switch="timelapseSaveBuiltVideo" ui-change-target=".dot" on-class="dot-green" off-class="dot-grey"' ,
color : 'grey' ,
} ,
]
2021-10-08 04:49:34 +00:00
} ,
2022-06-25 07:10:17 +00:00
{
icon : 'file-o' ,
label : ` ${ lang [ 'FileBin' ] } ` ,
pageOpen : 'fileBinView' ,
} ,
2021-10-08 04:49:34 +00:00
{
2021-12-05 05:04:07 +00:00
divider : true ,
2021-10-08 04:49:34 +00:00
} ,
{
2021-12-05 05:04:07 +00:00
icon : 'wrench' ,
label : ` ${ lang [ 'Monitor Settings' ] } ` ,
pageOpen : 'monitorSettings' ,
2021-10-08 04:49:34 +00:00
addUl : true ,
} ,
{
icon : 'grav' ,
label : ` ${ lang [ 'Region Editor' ] } ` ,
pageOpen : 'regionEditor' ,
} ,
{
2021-12-05 05:04:07 +00:00
icon : 'filter' ,
label : ` ${ lang [ 'Event Filters' ] } ` ,
pageOpen : 'eventFilters' ,
2021-10-08 04:49:34 +00:00
} ,
{
icon : 'align-right' ,
label : ` ${ lang [ 'Monitor States' ] } ` ,
pageOpen : 'monitorStates' ,
} ,
{
icon : 'clock' ,
label : ` ${ lang [ 'Schedules' ] } ` ,
pageOpen : 'schedules' ,
} ,
{
2021-12-05 05:04:07 +00:00
icon : 'exclamation-triangle' ,
label : ` ${ lang [ 'Logs' ] } ` ,
pageOpen : 'logViewer' ,
2021-10-08 04:49:34 +00:00
} ,
{
2021-12-05 05:04:07 +00:00
divider : true ,
} ,
{
icon : 'gears' ,
label : ` ${ lang [ 'Account Settings' ] } ` ,
pageOpen : 'accountSettings' ,
addUl : true ,
} ,
{
icon : 'group' ,
label : ` ${ lang . subAccountManager } ` ,
pageOpen : 'subAccountManager' ,
addUl : true ,
} ,
{
icon : 'key' ,
label : ` ${ lang [ 'API Keys' ] } ` ,
pageOpen : 'apiKeys' ,
} ,
{
divider : true ,
2021-10-08 04:49:34 +00:00
} ,
{
icon : 'search' ,
label : ` ${ lang [ 'ONVIF Scanner' ] } ` ,
pageOpen : 'onvifScanner' ,
addUl : true
} ,
2021-11-24 05:05:56 +00:00
{
icon : 'opera' ,
label : ` ${ lang [ 'ONVIF Device Manager' ] } ` ,
pageOpen : 'onvifDeviceManager' ,
} ,
2021-10-08 04:49:34 +00:00
{
icon : 'eyedropper' ,
label : ` ${ lang [ 'FFprobe' ] } ` ,
pageOpen : 'cameraProbe' ,
} ,
2021-12-05 05:04:07 +00:00
{
icon : 'compass' ,
label : ` ${ lang [ 'ShinobiHub' ] } ` ,
pageOpen : 'configFinder' ,
addUl : true ,
2021-10-08 04:49:34 +00:00
} ,
2021-12-05 05:37:10 +00:00
{
divider : true ,
} ,
2021-12-05 03:13:27 +00:00
{
icon : 'info-circle' ,
label : ` ${ lang [ 'Help' ] } ` ,
pageOpen : 'helpWindow' ,
} ,
2021-10-08 04:49:34 +00:00
// {
// icon: 'exclamation-circle',
// label: `${lang['Events']}`,
// pageOpen: 'eventListWithPics',
// },
{
icon : 'sign-out' ,
label : ` ${ lang [ 'Logout' ] } ` ,
class : 'logout' ,
} ,
]
2021-10-09 19:56:45 +00:00
} ,
"SideMenuBeforeList" : {
"name" : "SideMenuBeforeList" ,
2021-10-08 04:49:34 +00:00
"color" : "grey" ,
"noHeader" : true ,
"noDefaultSectionClasses" : true ,
2021-10-09 19:56:45 +00:00
"section-class" : "px-3" ,
2021-10-08 04:49:34 +00:00
"info" : [
2022-06-17 21:46:18 +00:00
{
isFormGroupGroup : true ,
"noHeader" : true ,
"noDefaultSectionClasses" : true ,
"section-class" : "card btn-default text-white px-3 py-2 mb-3 border-0" ,
info : [
{
"fieldType" : "div" ,
"id" : ` clock ` ,
"style" : ` cursor:pointer ` ,
"attribute" : ` data-target="#time-hours" ` ,
2022-06-17 22:33:14 +00:00
"divContent" : ` <div id="time-date"></div>
2022-06-17 21:46:18 +00:00
< ul >
< li id = "time-hours" > < / l i >
< li class = "point" > : < / l i >
< li id = "time-min" > < / l i >
< li class = "point" > : < / l i >
< li id = "time-sec" > < / l i >
< / u l >
`
} ,
]
} ,
2021-10-08 04:49:34 +00:00
{
"id" : "indicator-bars" ,
isFormGroupGroup : true ,
"noHeader" : true ,
"noDefaultSectionClasses" : true ,
"section-class" : "card text-white bg-gradient-blue px-3 py-2 mb-3 border-0" ,
info : [
{
"fieldType" : "indicatorBar" ,
"icon" : "microchip" ,
"name" : "cpu" ,
"label" : ` <span class="os_cpuCount"><i class="fa fa-spinner fa-pulse"></i></span> ${ lang . CPU } <span class="os_cpuCount_trailer"></span> : <span class="os_platform" style="text-transform:capitalize"><i class="fa fa-spinner fa-pulse"></i></span> ` ,
} ,
{
"fieldType" : "indicatorBar" ,
"icon" : "square" ,
"name" : "ram" ,
"label" : ` <span class="os_totalmem used"><i class="fa fa-spinner fa-pulse"></i></span> ${ lang . MB } ${ lang . RAM } ` ,
} ,
{
id : 'disk-indicator-bars' ,
isFormGroupGroup : true ,
"noHeader" : true ,
"noDefaultSectionClasses" : true ,
"section-class" : "disk-indicator-bars" ,
info : [
{
"fieldType" : "indicatorBar" ,
"icon" : "hdd" ,
"name" : "disk" ,
"label" : ` <span class="diskUsed" style="letter-spacing:2px;font-weight:100"></span> ` ,
} ,
]
2021-10-09 19:56:45 +00:00
} ,
{
"fieldType" : "indicatorBar" ,
"percent" : 0 ,
2021-10-15 20:42:19 +00:00
"color" : 'warning' ,
"indicatorPercentClass" : 'activeCameraCount' ,
2021-10-09 19:56:45 +00:00
"icon" : "video-camera" ,
"name" : "activeCameraCount" ,
2021-10-15 20:42:19 +00:00
"label" : lang [ 'Active Monitors' ] ,
2021-10-09 19:56:45 +00:00
} ,
2021-10-08 04:49:34 +00:00
]
2021-10-09 19:56:45 +00:00
}
]
2022-01-12 18:41:23 +00:00
} ,
"SideMenuAfterList" : {
"name" : "SideMenuAfterList" ,
"noHeader" : true ,
"noDefaultSectionClasses" : true ,
"info" : [ ]
2021-10-09 19:56:45 +00:00
}
}
} ,
"Home" : {
"section" : "Home" ,
"blocks" : {
2021-12-19 15:10:33 +00:00
// "Container1": {
// "name": "Container1",
// "color": "grey",
// "noHeader": true,
// "noDefaultSectionClasses": true,
// "section-class": "col-md-3 pt-3",
// "info": [
// {
// "fieldType": "div",
// "class": `card ${mainBackgroundColor} mb-3`,
// "divContent": `<div class="card-body ${textWhiteOnBgDark}">
// <h5 class="card-title"><i class="fa fa-th text-muted"></i> ${lang['Live Grid']}</h5>
// <p class="card-text">${lang.liveGridDescription}</p>
// <a page-open="liveGrid" class="btn btn-primary">${lang.Open}</a>
// </div>`
// },
// {
// "fieldType": "div",
// "class": `card ${mainBackgroundColor} mb-3`,
// "divContent": `<div class="card-body ${textWhiteOnBgDark}">
// <h5 class="card-title"><i class="fa fa-gears text-muted"></i> ${lang['Account Settings']}</h5>
// <p class="card-text">${lang.accountSettingsDescription}</p>
// <a page-open="accountSettings" class="btn btn-primary">${lang.Open}</a>
// </div>`
// },
// ]
// },
2021-10-08 04:49:34 +00:00
"Container4" : {
"name" : "Container4" ,
"color" : "grey" ,
"noHeader" : true ,
"noDefaultSectionClasses" : true ,
2021-12-19 15:10:33 +00:00
"section-class" : "col-lg-12" ,
2021-10-08 04:49:34 +00:00
"info" : [
{
ejs : 'web/pages/blocks/home/recentVideos' ,
} ,
]
}
}
} ,
2021-10-24 05:39:05 +00:00
"Power Viewer" : {
"section" : lang [ "Power Viewer" ] ,
"blocks" : {
"Video Playback" : {
id : "powerVideoVideoPlayback" ,
noHeader : true ,
2021-10-24 05:42:18 +00:00
noDefaultSectionClasses : true ,
2021-10-24 05:39:05 +00:00
"color" : "green" ,
"section-pre-class" : "col-md-8 search-parent" ,
"info" : [
{
"id" : "powerVideoMonitorViews" ,
"fieldType" : "div" ,
} ,
{
"id" : "powerVideoMonitorControls" ,
"color" : "blue" ,
noHeader : true ,
isSection : true ,
isFormGroupGroup : true ,
'section-class' : 'text-center' ,
"info" : [
{
"fieldType" : "btn-group" ,
2022-02-13 06:09:28 +00:00
"normalWidth" : true ,
2021-10-24 05:39:05 +00:00
"btns" : [
{
"fieldType" : "btn" ,
"class" : ` btn-default btn-sm ` ,
"attribute" : ` powerVideo-control="toggleZoom" title=" ${ lang [ 'Zoom In' ] } " ` ,
"btnContent" : ` <i class="fa fa-search-plus"></i> ` ,
} ,
2022-04-29 17:10:37 +00:00
{
"fieldType" : "btn" ,
"class" : ` btn-default btn-sm ` ,
"attribute" : ` powerVideo-control="toggleMute" title=" ${ lang [ 'Zoom In' ] } " ` ,
"btnContent" : ` <i class="fa fa-volume-off"></i> ` ,
} ,
2021-10-24 05:39:05 +00:00
] ,
} ,
{
"fieldType" : "btn-group" ,
2022-02-13 06:09:28 +00:00
"normalWidth" : true ,
2021-10-24 05:39:05 +00:00
"btns" : [
{
"fieldType" : "btn" ,
"class" : ` btn-default btn-sm ` ,
"attribute" : ` powerVideo-control="previousVideoAll" title=" ${ lang [ 'Previous Video' ] } " ` ,
"btnContent" : ` <i class="fa fa-arrow-circle-left"></i> ` ,
} ,
{
"fieldType" : "btn" ,
"class" : ` btn-danger btn-sm ` ,
"attribute" : ` powerVideo-control="playAll" title=" ${ lang [ 'Play' ] } " ` ,
"btnContent" : ` <i class="fa fa-play"></i> ` ,
} ,
{
"fieldType" : "btn" ,
"class" : ` btn-default btn-sm ` ,
"attribute" : ` powerVideo-control="pauseAll" title=" ${ lang [ 'Pause' ] } " ` ,
"btnContent" : ` <i class="fa fa-pause"></i> ` ,
} ,
{
"fieldType" : "btn" ,
"class" : ` btn-default btn-sm ` ,
"attribute" : ` powerVideo-control="nextVideoAll" title=" ${ lang [ 'Next Video' ] } " ` ,
"btnContent" : ` <i class="fa fa-arrow-circle-right"></i> ` ,
} ,
] ,
} ,
{
"fieldType" : "btn-group" ,
"style" : "font-family: monospace;" ,
2022-02-13 06:09:28 +00:00
"normalWidth" : true ,
2021-10-24 05:39:05 +00:00
"btns" : [
{
"fieldType" : "btn" ,
"class" : ` btn-default btn-sm ` ,
"attribute" : ` powerVideo-control="playSpeedAll" data-speed="1" ` ,
"btnContent" : ` 1 ` ,
} ,
{
"fieldType" : "btn" ,
"class" : ` btn-default btn-sm ` ,
"attribute" : ` powerVideo-control="playSpeedAll" data-speed="5" ` ,
"btnContent" : ` 5 ` ,
} ,
{
"fieldType" : "btn" ,
"class" : ` btn-default btn-sm ` ,
"attribute" : ` powerVideo-control="playSpeedAll" data-speed="10" ` ,
"btnContent" : ` 10 ` ,
} ,
{
"fieldType" : "btn" ,
"class" : ` btn-default btn-sm ` ,
"attribute" : ` powerVideo-control="playSpeedAll" data-speed="15" ` ,
"btnContent" : ` 15 ` ,
} ,
] ,
} ,
]
} ,
]
} ,
2022-02-13 06:09:28 +00:00
"Container2" : {
id : "powerVideoTabs" ,
noHeader : true ,
"section-pre-class" : "col-md-4" ,
attribute : ` tab-chooser-parent ` ,
"info" : [
{
"field" : lang [ 'Monitors' ] ,
"id" : "powerVideoMonitorsList" ,
2022-02-14 00:17:57 +00:00
"fieldType" : "form" ,
"style" : "overflow-y:auto;max-height:200px;" ,
2022-02-13 06:09:28 +00:00
} ,
{
"id" : "powerVideoDateRange" ,
"field" : lang [ 'Date Range' ] ,
} ,
{
"id" : "powerVideoVideoLimit" ,
"field" : lang [ 'Video Limit' ] + ` ( ${ lang [ 'Per Monitor' ] } ) ` ,
"placeholder" : "0" ,
} ,
{
"id" : "powerVideoEventLimit" ,
"field" : lang [ 'Event Limit' ] + ` ( ${ lang [ 'Per Monitor' ] } ) ` ,
"placeholder" : "500" ,
} ,
{
id : 'powerVideoSet' ,
field : lang [ 'Video Set' ] ,
default : 'h264' ,
"fieldType" : "select" ,
possible : [
{
"name" : lang . Local ,
"value" : "local"
} ,
{
"name" : lang . Cloud ,
"value" : "cloud"
} ,
]
} ,
]
} ,
2021-10-24 05:39:05 +00:00
"Time Strip" : {
id : "powerVideoTimelineStripsContainer" ,
noHeader : true ,
2021-11-03 13:45:50 +00:00
"color" : "bg-gradient-blue text-white" ,
2022-02-13 06:09:28 +00:00
"section-pre-class" : "col-md-12" ,
2021-10-24 05:39:05 +00:00
"info" : [
{
"id" : "powerVideoTimelineStrips" ,
"fieldType" : "div" ,
"divContent" : ` <div class="loading"><i class="fa fa-hand-pointer-o"></i><div class="epic-text"> ${ lang [ 'Select a Monitor' ] } </div></div> ` ,
} ,
]
2021-11-23 23:32:35 +00:00
} ,
2021-10-24 05:39:05 +00:00
}
2021-11-01 22:01:24 +00:00
} ,
2021-11-03 04:16:06 +00:00
"Calendar" : {
"section" : "Calendar" ,
"blocks" : {
"Search Settings" : {
"name" : lang [ "Search Settings" ] ,
"color" : "green" ,
"section-pre-class" : "col-md-4" ,
"info" : [
{
"field" : lang [ "Monitor" ] ,
"fieldType" : "select" ,
"class" : "monitors_list" ,
"possible" : [ ]
} ,
{
"class" : "date_selector" ,
"field" : lang . Date ,
}
]
} ,
"Calendar" : {
noHeader : true ,
"section-pre-class" : "col-md-8" ,
"info" : [
{
"fieldType" : "div" ,
"id" : "calendar_draw_area" ,
"divContent" : ""
}
]
} ,
}
} ,
2022-06-25 07:10:17 +00:00
"FileBin" : {
"section" : "FileBin" ,
"blocks" : {
"Search Settings" : {
"name" : lang [ "Search Settings" ] ,
"color" : "green" ,
"section-pre-class" : "col-md-4" ,
"info" : [
{
"field" : lang [ "Monitor" ] ,
"fieldType" : "select" ,
"class" : "monitors_list" ,
"possible" : [ ]
} ,
{
"class" : "date_selector" ,
"field" : lang . Date ,
2022-06-27 07:31:27 +00:00
} ,
{
"fieldType" : "div" ,
"id" : "fileBin_preview_area" ,
"divContent" : ""
2022-06-25 07:10:17 +00:00
}
]
} ,
"FileBin" : {
noHeader : true ,
"section-pre-class" : "col-md-8" ,
"info" : [
{
2022-06-26 07:57:59 +00:00
"fieldType" : "table" ,
2022-06-27 07:31:27 +00:00
"attribute" : ` data-classes="table table-striped" ` ,
2022-06-25 19:37:09 +00:00
"id" : "fileBin_draw_area" ,
2022-06-25 07:10:17 +00:00
"divContent" : ""
}
]
} ,
}
} ,
2022-06-27 23:31:01 +00:00
"Videos Table" : {
"section" : "Videos Table" ,
"blocks" : {
"Search Settings" : {
"name" : lang [ "Search Settings" ] ,
"color" : "green" ,
"section-pre-class" : "col-md-4" ,
"info" : [
{
"field" : lang [ "Monitor" ] ,
"fieldType" : "select" ,
"class" : "monitors_list" ,
"possible" : [ ]
} ,
{
"class" : "date_selector" ,
"field" : lang . Date ,
} ,
{
"fieldType" : "div" ,
"id" : "videosTable_preview_area" ,
"divContent" : ""
}
]
} ,
"theTable" : {
noHeader : true ,
"section-pre-class" : "col-md-8" ,
"info" : [
{
"fieldType" : "table" ,
"attribute" : ` data-classes="table table-striped" ` ,
"id" : "videosTable_draw_area" ,
"divContent" : ""
}
]
} ,
}
} ,
2021-10-09 19:56:45 +00:00
} )
2019-03-15 07:32:18 +00:00
}