Movie Player ActiveX Control

MP4GetStreamName

 

Search the Stream Collection for a index and return the Stream Name for MP4, MOV, M4V file only.

Public Function MP4GetStreamName(
  ByVal iIndex As Integer
 ) as String

 

Parameter
iIndex
the index of stream.

Return Value
Return the the stream name for specific index.


Example

   

Visual Basic Syntax
MoviePlayer1.FileName = "c:\test.mp4"
List1.Clear

For i = 0 To MoviePlayer1.MP4GetStreamCount - 1
    List1.AddItem MoviePlayer1.MP4GetStreamName(i)
Next

If List1.ListCount > 0 Then
    List1.ListIndex = 0
End If