import"sbIMediaInspector.idl";
Public Member Functions | |
void | getVideoPAR (out unsigned long aNumerator, out unsigned long aDenominator) |
void | getVideoFrameRate (out unsigned long aNumerator, out unsigned long aDenominator) |
Public Attributes | |
readonly attribute AString | videoType |
readonly attribute long | videoWidth |
readonly attribute long | videoHeight |
readonly attribute long | bitRate |
readonly attribute nsIPropertyBag | properties |
This interface is used to describe a video format
Definition at line 67 of file sbIMediaInspector.idl.
void sbIMediaFormatVideo::getVideoFrameRate | ( | out unsigned long | aNumerator, |
out unsigned long | aDenominator | ||
) |
The video frame rate in fps. It is returned as a fraction.
aNumerator | The numerator portion of the framerate |
aDenominator | The denominator portion of the frame rate |
void sbIMediaFormatVideo::getVideoPAR | ( | out unsigned long | aNumerator, |
out unsigned long | aDenominator | ||
) |
The video pixel aspect ratio. It is returned as a fraction
aNumerator | The numerator portion of the aspect ratio |
aDenominator | The denominator portion of the aspect ratio |
readonly attribute long sbIMediaFormatVideo::bitRate |
This is the bit rate of the video streams in bits per second
Definition at line 102 of file sbIMediaInspector.idl.
readonly attribute nsIPropertyBag sbIMediaFormatVideo::properties |
A list of optional properties that describe the video format
Definition at line 107 of file sbIMediaInspector.idl.
readonly attribute long sbIMediaFormatVideo::videoHeight |
The height of the video frame
Definition at line 81 of file sbIMediaInspector.idl.
readonly attribute AString sbIMediaFormatVideo::videoType |
The type of video format or codec. Examples: mpeg4, theora, h.264
Definition at line 71 of file sbIMediaInspector.idl.
readonly attribute long sbIMediaFormatVideo::videoWidth |
The width of the video frame
Definition at line 76 of file sbIMediaInspector.idl.