User`s manual

Function Library 47
This argument describes what actions the function will do.
bit 0: Callback,
X_Start, Y_Start, Width, Height:
Sets the boundary of the motion detection area.
@ Return Code
@ Example
<VC/BCB >
int Result;
int Encoder_Index = 0;
int enable = 1;
int Threshold = 5;
int interval = 3;
int action = 1;
int area =1;
int X_Start = 0;
int Y_Start =0;
int Width = 160;
int Height = 120;
Result =
AngeloMPEG4_Encode_Set_Motion_Detection
(Encoder
_Index, area, enable, Threshold, interval, action,
X_Start, Y_Start, Width, Height);
< Visual Basic >
Dim Result As Long, Encoder_Index As Long, enable As
Long, Threshold As Long, interval As Long, action
As Long, area As Long, X_Start As Long, Y_Start As
Long, Width As Long, Height As Long
Encoder_Index = 0
enable = 1
Threshold = 5
interval = 3
action = 1
area =1
X_Start = 0
Y_Start =0
Width = 160
Height = 120