Click or drag to resize

StreamInfo Class

Represents media stream information.
Inheritance Hierarchy
SystemObject
  CSVideoPlayerStreamInfo

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

The StreamInfo type exposes the following members.

Constructors
  NameDescription
Public methodStreamInfo
Initializes a new instance of the StreamInfo class
Top
Properties
  NameDescription
Public propertyBitRate
Gets the reported bit rate. 9 for unavailable.
Public propertyCodec
Gets the codec identifier.
Public propertyCodecName
Gets the name of the codec.
Public propertyCodecProfile
Gets the codec profile. Only valid for H.264 or video codecs that use profiles. Otherwise empty.
Public propertyCodecTag
Gets the codec tag. Not very useful except for fixing bugs with some demuxer scenarios.
Public propertyCodecType
Gets the type of the codec.
Public propertyCodecTypeName
Gets the name of the codec type. Audio, Video, Subtitle, Data, etc.
Public propertyColorRange
Gets the video color range.
Public propertyDisplayAspectRatio
Gets the display aspect ratio.
Public propertyDisposition
Gets the disposition flags. Please see ffmpeg.AV_DISPOSITION_* fields.
Public propertyDuration
Gets the duration.
Public propertyFieldOrder
Gets the field order. This is useful to determine if the video needs de-interlacing.
Public propertyFPS
Gets the average FPS reported by the stream.
Public propertyHardwareDecoders
Gets a list of compatible hardware decoder names.
Public propertyHardwareDevices
Gets the compatible hardware device configurations for the stream's codec.
Public propertyHasClosedCaptions
Gets a value indicating whether this stream has closed captions. Typically this is set for video streams.
Public propertyInfoFrameCount
Gets the number of frames that were read to obtain the stream's information.
Public propertyIsAttachedPictureDisposition
Gets a value indicating whether this instance is attached picture disposition.
Public propertyIsInterlaced
Gets a value indicating whether the video frames are interlaced.
Public propertyIsLossless
Gets a value indicating whether this stream contains lossless compressed data.
Public propertyLanguage
Gets the language string from the stream's metadata.
Public propertyMaxBitRate
Gets the maximum bit rate for variable bit rate streams. 0 if unavailable.
Public propertyMetadata
Gets the stream's metadata.
Public propertyPixelFormat
Gets the pixel format. Only valid for Video streams.
Public propertyPixelHeight
Gets the height of the video frames.
Public propertyPixelWidth
Gets the width of the video frames.
Public propertyReferenceFrameCount
Gets the number of reference frames.
Public propertySampleAspectRatio
Gets the sample aspect ratio.
Public propertySampleFormat
Gets the audio sample format.
Public propertySampleRate
Gets the audio sample rate.
Public propertyStartTime
Gets the start time.
Public propertyStreamId
Gets the stream identifier. This is different from the stream index. Typically this value is not very useful.
Public propertyStreamIndex
Gets the index of the stream.
Public propertyTBC
Gets the fundamental unit of time in 1/seconds used to represent timestamps in the stream ,according to the codec.
Public propertyTBN
Gets the fundamental unit of time in 1/seconds used to represent timestamps in the stream, according to the stream data.
Public propertyTBR
Gets the real (base) frame rate of the stream.
Public propertyTimeBase
Gets the stream time base unit in seconds.
Top
See Also