Click or drag to resize

MediaInfo Class

Holds media information about the input, its chapters, programs and individual stream components.
Inheritance Hierarchy
SystemObject
  CSVideoPlayerMediaInfo

Namespace:  CSVideoPlayer
Assembly:  CSVideoPlayer (in CSVideoPlayer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class MediaInfo

The MediaInfo type exposes the following members.

Properties
  NameDescription
Public propertyBestStreams
Provides access to the best streams of each media type found in the container. This uses some internal FFmpeg heuristics.
Public propertyBitRate
If available, returns a non-zero value as reported by the container format.
Public propertyChapters
Gets a list of chapters.
Public propertyDuration
Gets the duration of the input as reported by the container format. Individual stream components may have different values. Returns TimeSpan.MinValue if unknown.
Public propertyFormat
Gets the name of the container format.
Public propertyMediaSource
Gets the input URL string used to access and create the media container.
Public propertyMetadata
Gets the metadata for the input. This may include stuff like title, creation date, company name, etc. Individual stream components, chapters and programs may contain additional metadata.
Public propertyPrograms
Gets a list of programs with their associated streams.
Public propertyStartTime
Gets the start timestamp of the input as reported by the container format. Individual stream components may have different values. Returns TimeSpan.MinValue if unknown.
Public propertyStreams
Gets the dictionary of stream information components by stream index.
Top
See Also