-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathonvif_simple_server.conf.example
101 lines (97 loc) · 2.73 KB
/
onvif_simple_server.conf.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
model=Model
manufacturer=Manufacturer
firmware_ver=0.0.1
hardware_id=HWID
serial_num=SN1234567890
ifs=wlan0
port=8080
scope=onvif://www.onvif.org/Profile/Streaming
scope=onvif://www.onvif.org/Profile/T
#user=admin
#password=admin
#Advanced options
adv_enable_media2=0
adv_fault_if_unknown=0
adv_fault_if_set=0
adv_synology_nvr=0
#Profile 0
name=Profile_0
width=1920
height=1080
url=rtsp://%s/ch0_0.h264
snapurl=http://%s/cgi-bin/snapshot.sh
type=H264
audio_encoder=AAC
audio_decoder=G711
#Profile 1
name=Profile_1
width=640
height=360
url=rtsp://%s/ch0_1.h264
snapurl=http://%s/cgi-bin/snapshot.sh
type=H264
audio_encoder=AAC
audio_decoder=NONE
#PTZ
ptz=1
min_step_x=0
max_step_x=360
min_step_y=0
max_step_y=180
min_step_z=0
max_step_z=0
get_position=/usr/local/bin/get_position
is_moving=/usr/local/bin/is_moving
move_left=/usr/local/bin/ptz_move -m left -s %f
move_right=/usr/local/bin/ptz_move -m right -s %f
move_up=/usr/local/bin/ptz_move -m up -s %f
move_down=/usr/local/bin/ptz_move -m down -s %f
move_in=/usr/local/bin/ptz_move -m in -s %f
move_out=/usr/local/bin/ptz_move -m out -s %f
move_stop=/usr/local/bin/ptz_move -m stop
move_preset=/usr/local/bin/ptz_move -p %d
goto_home_position=/usr/local/bin/ptz_move -h
set_preset=/usr/local/bin/ptz_presets.sh -a add_preset -m %s
set_home_position=/usr/local/bin/ptz_presets.sh -a set_home_position
remove_preset=/usr/local/bin/ptz_presets.sh -a del_preset -n %d
jump_to_abs=/usr/local/bin/ptz_move -j %f,%f,%f
jump_to_rel=/usr/local/bin/ptz_move -J %f,%f,%f
get_presets=/usr/local/bin/ptz_presets.sh -a get_presets
#EVENT
events=3
#Event 0
topic=tns1:VideoSource/MotionAlarm
source_name=Source
source_type=tt:ReferenceToken
source_value=VideoSourceToken
input_file=/tmp/onvif_notify_server/motion_alarm
#Event 1
topic=tns1:RuleEngine/MyRuleDetector/PeopleDetect
source_name=VideoSourceConfigurationToken
source_type=xsd:string
source_value=VideoSourceToken
input_file=/tmp/onvif_notify_server/human_detection
#Event 2
topic=tns1:RuleEngine/MyRuleDetector/VehicleDetect
source_name=VideoSourceConfigurationToken
source_type=xsd:string
source_value=VideoSourceToken
input_file=/tmp/onvif_notify_server/vehicle_detection
#Event 3
topic=tns1:RuleEngine/MyRuleDetector/DogCatDetect
source_name=VideoSourceConfigurationToken
source_type=xsd:string
source_value=VideoSourceToken
input_file=/tmp/onvif_notify_server/animal_detection
#Event 4
topic=tns1:RuleEngine/MyRuleDetector/BabyCryingDetect
source_name=AudioSourceConfigurationToken
source_type=xsd:string
source_value=AudioSourceToken
input_file=/tmp/onvif_notify_server/baby_crying
#Event 5
topic=tns1:AudioAnalytics/Audio/DetectedSound
source_name=AudioSourceConfigurationToken
source_type=tt:ReferenceToken
source_value=AudioSourceToken
input_file=/tmp/onvif_notify_server/sound_detection