User`s manual

150 Appendix: GEME-VM3000 Series Introduction
AngeloMPEG4_Decode_File_Pause(m_Decoder_Channel)
;
AngeloMPEG4_Decode_File_Continue(m_Decoder_Chann
el);
AngeloMPEG4_Decode_File_Get_Position(m_Decoder_C
hannel,&m_pos);
AngeloMPEG4_Decode_Stop(m_Decoder_Channel);
AngeloMPEG4_Decode_M4V_2_AVI(m4v_filename,&Width
,&Height,&Byte_Pixel,&m_total_frame,&m_Time
_Seconds);
AngeloMPEG4_Decode_AVI_2_M4V(avi_filename,&Width
,&Height,&Byte_Pixel,&m_total_frame,&m_Time
_Seconds);
< Visual Basic >
Dim Result As Long, m_Decoder_Channel As Long,
Width As Long, Height As Long, Byte_Pixel As
Long, m_total_frame As Long, m_Time_Seconds
As Long, m_pos As Long
Dim m_filename As String, m4v_filename As String,
avi_filename As String,
m_filename = “test1.m4v”
m4v_filename = “test2.m4v”
avi_filename = “test3.avi”
m_Decoder_Channel = 0
Mode = 0 ‘play once
Public Sub lpcallback(ByVal Decoder_Index As
Long, ByVal int_status As Long, ByVal
VideoBufferaddress As Long)
End Sub
Result =
AngeloMPEG4_Decode_Set_Callback(m_Decoder_C
hannel, AddressOf lpcallback)
Result=AngeloMPEG4_Decode_File(m_Decoder_Channel
,m_filename,Width,Height,Byte_Pixel,m_total
_frame,m_Time_Seconds)
Result =
AngeloMPEG4_Decode_File_Start(m_Decoder_Cha
nnel,Mode)