User`s manual
104 Function Library
file_name: The name of file to save to, includes the path
and extension of file name.
iWidth: Indicate the width of the MPEG4 image size.
iHeight: Indicates the height of the MPEG4 image size.
Byte_Per_Pixel: Number of Bytes per Pixel
Total_Frame: Number of frames in the MPEG4 file.
Time_Seconds: The total time of the MPEG4 file in seconds.
Mode: The play mode of the Mpeg4 file
0: Play once
1: Repeat
Frame_Index: Zero index of the frame
Cur_Frame_Index: Current frame index
PlayFactor: The speed to play the MPEG4 file
1: Normal
2: 2x faster
-2: 2x slower
@ Return Code
0: ERROR_NoError
@ Example
< VC/BCB >
int Result;
int m_Decoder_Channel = 0;
long Width=0;
long Height=0;
long Byte_Pixel=0;
long m_total_frame=0;
long m_Time_Seconds=0;
long m_pos=0;
long Mode = 0; //play once
char* m_filename = “test1.m4v”;