Share

sampleRate

The <sampleRate> element describes the frames per second rate of the media described by the <feed> element. If no frame rate is specified, it is up to the application to decide on the frame rate to use.

Use numerator/denominator elements to express as a fraction frame rates using decimals. Use an integer for other cases. The following expresses a frame rate of 23.976 fps.

<sampleRate type="rate">
 <numerator>24000</numerator>
 <denominator>1001</denominator>
</sampleRate>

To express a frame rate using an unsigned integer, use the short-hand notation without child-elements but only a single integer.

<sampleRate type="rate">25</sampleRate>
AttributeDescriptionData TypeAllowed ValuesAttribute is...
typeThe data type of the element.character datarateRequired
versionVersion of the xml element.unsigned integer4Implied

Children

Mandatory
(numerator,denominator) | #cdata

Parent

Was this information helpful?