sbIMediaFormatVideo Interface Reference

import"sbIMediaInspector.idl";

Inheritance diagram for sbIMediaFormatVideo:
[legend]
Collaboration diagram for sbIMediaFormatVideo:
[legend]

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
 

Detailed Description

This interface is used to describe a video format

Definition at line 67 of file sbIMediaInspector.idl.

Member Function Documentation

void sbIMediaFormatVideo::getVideoFrameRate ( out unsigned long  aNumerator,
out unsigned long  aDenominator 
)

The video frame rate in fps. It is returned as a fraction.

Parameters
aNumeratorThe numerator portion of the framerate
aDenominatorThe 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

Parameters
aNumeratorThe numerator portion of the aspect ratio
aDenominatorThe denominator portion of the aspect ratio

Member Data Documentation

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.


The documentation for this interface was generated from the following file: