User`s manual
Function Library • 69
interval_second:
This argument is the number of seconds of encoded video to be saved.
format:
1: m4v,
2: avi.
3: both.
@ Return Code
0: ERROR_NoError
@ Example
< VC/BCB >
int Result;
int Decoder_Index = 0;
char* n_file_name = “test”;
int interval_second = 10; //10 seconds
long format = 1 + 2; //save both file format
Result =
AngeloMPEG4_Decode_Save_File_Start
(Decoder_Inde
x, n_file_name, interval_second, format);
< Visual Basic >
Dim Result As Long, Decoder_Index As Long,
interval_second As Long, format As Long
Decoder_Index = 0;
n_file_name = “test”
interval_second = 60
format = 3 “save both format
Dir = “temp”
Result =
AngeloMPEG4_Decode_Save_File_Start
(Decoder_Index,
n_file_name, interval_second, format)
<Delphi >
var
Decoder_Index: Longint;
n_file_name: String;
interval_second, format: Longint;
Result: Longint;
begin
Decoder_Index:= 0;
n_file_name := “Video0”;
interval_second := 10;