StreamInfo Class |
Namespace: CSVideoPlayer
The StreamInfo type exposes the following members.
Name | Description | |
---|---|---|
![]() | StreamInfo | Initializes a new instance of the StreamInfo class |
Name | Description | |
---|---|---|
![]() | BitRate |
Gets the reported bit rate. 9 for unavailable.
|
![]() | Codec |
Gets the codec identifier.
|
![]() | CodecName |
Gets the name of the codec.
|
![]() | CodecProfile |
Gets the codec profile. Only valid for H.264 or
video codecs that use profiles. Otherwise empty.
|
![]() | CodecTag |
Gets the codec tag. Not very useful except for fixing bugs with
some demuxer scenarios.
|
![]() | CodecType |
Gets the type of the codec.
|
![]() | CodecTypeName |
Gets the name of the codec type. Audio, Video, Subtitle, Data, etc.
|
![]() | ColorRange |
Gets the video color range.
|
![]() | DisplayAspectRatio |
Gets the display aspect ratio.
|
![]() | Disposition |
Gets the disposition flags.
Please see ffmpeg.AV_DISPOSITION_* fields.
|
![]() | Duration |
Gets the duration.
|
![]() | FieldOrder |
Gets the field order. This is useful to determine
if the video needs de-interlacing.
|
![]() | FPS |
Gets the average FPS reported by the stream.
|
![]() | HardwareDecoders |
Gets a list of compatible hardware decoder names.
|
![]() | HardwareDevices |
Gets the compatible hardware device configurations for the stream's codec.
|
![]() | HasClosedCaptions |
Gets a value indicating whether this stream has closed captions.
Typically this is set for video streams.
|
![]() | InfoFrameCount |
Gets the number of frames that were read to obtain the stream's information.
|
![]() | IsAttachedPictureDisposition |
Gets a value indicating whether this instance is attached picture disposition.
|
![]() | IsInterlaced |
Gets a value indicating whether the video frames are interlaced.
|
![]() | IsLossless |
Gets a value indicating whether this stream contains lossless compressed data.
|
![]() | Language |
Gets the language string from the stream's metadata.
|
![]() | MaxBitRate |
Gets the maximum bit rate for variable bit rate streams. 0 if unavailable.
|
![]() | Metadata |
Gets the stream's metadata.
|
![]() | PixelFormat |
Gets the pixel format. Only valid for Video streams.
|
![]() | PixelHeight |
Gets the height of the video frames.
|
![]() | PixelWidth |
Gets the width of the video frames.
|
![]() | ReferenceFrameCount |
Gets the number of reference frames.
|
![]() | SampleAspectRatio |
Gets the sample aspect ratio.
|
![]() | SampleFormat |
Gets the audio sample format.
|
![]() | SampleRate |
Gets the audio sample rate.
|
![]() | StartTime |
Gets the start time.
|
![]() | StreamId |
Gets the stream identifier. This is different from the stream index.
Typically this value is not very useful.
|
![]() | StreamIndex |
Gets the index of the stream.
|
![]() | TBC |
Gets the fundamental unit of time in 1/seconds used to represent timestamps in the stream ,according to the codec.
|
![]() | TBN |
Gets the fundamental unit of time in 1/seconds used to represent timestamps in the stream, according to the stream data.
|
![]() | TBR |
Gets the real (base) frame rate of the stream.
|
![]() | TimeBase |
Gets the stream time base unit in seconds.
|