Error processing SSI file
LEADTOOLS Multimedia (Leadtools.Multimedia assembly)

Show in webframe

SourceProgramCount Property






Gets the number of programs.
Syntax
public virtual int SourceProgramCount {get;}
'Declaration
 
Public Overridable ReadOnly Property SourceProgramCount As Integer
'Usage
 
Dim instance As ConvertCtrl
Dim value As Integer
 
value = instance.SourceProgramCount
public:
virtual property int SourceProgramCount {
   int get();
}

Property Value

A value representing the number of programs.
Remarks
Currently, only MPEG2 Transport files can have more than one program. All the other file formats have only one program, so for them SourceProgramCount will return 1.

If you do have more than one program, call CurrentSourceProgram to get or set the current program.

Once you set the current program, you can use GetSourceStreamCount to find out how many elementary streams are present in the current program.

Use SetSelectedSourceStream to select which streams you wish to play.

For more information on Programs and Streams terminology in LEADTOOLS Multimedia, refer to Programs and Streams.

Requirements

Target Platforms

See Also

Reference

ConvertCtrl Class
ConvertCtrl Members
CurrentSourceProgram Property
GetSourceStreamCount Method
GetSelectedSourceStream Method
SetSelectedSourceStream Method

Error processing SSI file
Leadtools.Multimedia requires a Multimedia or Multimedia Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features