node-taglib-sharp / Exports / MpegVideoHeader
Provides information about an MPEG video stream.
• new MpegVideoHeader(file, position)
Constructs and initializes a new instance of MpegVideoHeader by reading it from a specified location in a specified file.
| Name | Type | Description |
|---|---|---|
file |
File |
File to read the header from |
position |
number |
Position in file at which the header begins |
• get description(): string
Gets a text description of the media represented by the current instance.
string
• get durationMilliseconds(): number
Duration of the media in milliseconds represented by the current instance.
Remarks
For MPEG, this is always 0
number
IVideoCodec.durationMilliseconds
• get mediaTypes(): MediaTypes
Types of media represented by the current instance, bitwise combined.
• get videoBitrate(): number
Inherit Doc
number
• get videoFrameRate(): number
Inherit Doc
number
• get videoHeight(): number
Height of the video in pixels represented by the current instance.
number
• get videoWidth(): number
Width of the video in pixels represented by the current instance.
number