ltmmMediaInfo.VideoCompression Property

Visual Basic Example

Syntax

object.VideoCompression As Long

Remarks

(Read only) This property is updated with the type of compression used for the current stream in the current source media file. This property is updated automatically when the ltmmMediaInfo.CurrentStream property is set to the current stream, if the current stream is a video stream The portion of the file holding the video data. The video data might be compressed to save disk space. The data has to be decompressed using a video decompressor Also known as a decoder, this is a module or algorithm to decompress data. before you can play (see) it..

The video compression type is indicated by a FOURCC value. For a list of FOURCC values, refer to the Microsoft documentation on FOURCC numbers.

This property will not be updated if the current stream is not a video stream.

The current source media file, found in the ltmmMediaInfo.SourceFile property, is the file for which the ltmmMediaInfo object gets information. The ltmmMediaInfo.SourceFile property must be set before retrieving information from any of the other ltmmMediaInfo properties.

The current stream is set in the ltmmMediaInfo.CurrentStream property.

Platforms

Win32, x64

See Also

Elements:

ltmmMediaInfo.VideoFrameRate property, ltmmMediaInfo.VideoWidth property, ltmmMediaInfo.VideoHeight property, ltmmMediaInfo.VideoBitRate property, ltmmMediaInfo.VideoBitCount property, ltmmMediaInfo.VideoFrames property, ltmmMediaInfo.CurrentStream property, ltmmMediaInfo.StreamDuration property, ltmmMediaInfo.StreamMediaType property, ltmmMediaInfo.StreamSubtype property, ltmmMediaInfo.StreamSubtypeName property, ltmmMediaInfo.StreamType property, ltmmMediaInfo.StreamTypeName property, ltmmMediaInfo.OutputStreams property, ltmmMediaInfo.SourceFile property

Topics:

Multimedia Properties, Methods and Events,
Media File Information