FLV files can contain a SCRIPTDATA tag named onMetadata, documented in section E.5 of the FLV and F4V specification [
MAWG | Relation | Flash (FLV) | How to do the mapping | Datatype | XPath | RDF tested |
---|---|---|---|---|---|---|
Descriptive Properties (Core Set) | ||||||
Identification | ||||||
identifier | N/A | N/A | N/A | |||
Content description | ||||||
description | N/A | N/A | N/A | |||
Technical Properties | ||||||
frameSize | exact | The width and height fields from the onMetadata tag. The units are always pixels. | DOUBLE, 64-bit IEEE float | N/A | yes | |
compression | Not directly represented. Implicit in the audiocodecid and videocodecid fields from the onMetadata tag. | N/A | no | |||
duration | exact | The duration field from the onMetadata tag. The unit is always seconds. | DOUBLE, 64-bit IEEE float | N/A | yes | |
format | exact | video/x-flv | static | MIME type | N/A | yes |
samplingRate | exact | The audiosamplerate field from the onMetadata tag. The unit is always samples per second. | DOUBLE, 64-bit IEEE float | N/A | yes | |
frameRate | exact | The framerate field from the onMetadata tag. The unit is always frames per second. | DOUBLE, 64-bit IEEE float | N/A | yes | |
averageBitRate | exact | The sum of the audiodatarate and videodatarate fields from the onMetadata tag. The units are always kilobits per second. | DOUBLE, 64-bit IEEE float | N/A | no | |
numTracks | exact | FLV files contain at most 1 audio track and at most 1 video track. There are 1-bit flags in the FLV header telling if audio or video are present. | N/A | no |