User`s manual

Function Library 36
AngeloMPEG4_Encode_Create_Directory(Encoder_Index, Dir) – Create a new
fold in encode site.
AngeloMPEG4_Encode_Set_Motion_Detection(Encoder_Index, Area, enable,
Threshold, interval, action, X_Start, Y_Start, Width, Height) –Set the motion
detection criteria, and action when motion occurs in encode site.
AngeloMPEG4_Encode_Save_Single_Image(Encoder_Index, FileName,
FileFormat, nQuality) –Save singe frame into BMP or JPEG file format.
@ Description
AngeloMPEG4_Encode_Initial:
This function initializes the video encoder. Its library supports 16 video
encoders with the video source coming from the Angelo_PortNo,
Angelo_ChannelNo in Angelo cards. Quality, and Angelo_Color_Format are
parameters for encoder setting.
AngeloMPEG4_Encode_InitialEx:
This function initializes the video encoder. Its library supports 16 video
encoders with the video source coming from the Angelo_PortNo,
Angelo_ChannelNo in Angelo cards. Bitrate, frame_rate, and
Angelo_Color_Format are parameters for encoder setting.
AngeloMPEG4_Encode_Set_Callback:
This function establishes a notification mechanism between function library
and user process. Callback function is application-defined. The user passes
the function pointer to function library by calling this function.
AngeloMPEG4_Encode_Start:
This function restarts encoding the video image when the encoder is paused.
AngeloMPEG4_Encode_Stop:
This function pauses encoding of the video image.
AngeloMPEG4_Encode_Close:
This function releases the resources of the encoder for the specified channel.
AngeloMPEG4_Encode_Save_File_Start:
Use this function to save the encoded image into an “.avi” or “.m4v” video file.
The “.avi” file is the standard video format, and “.m4v” is only accessible in
this function library.
Note:
1. Do not add a file extension to the file name.
2. User must install the XVID Codec in our setup disk in order to play “.avi” file in
MS Media Player.